leboeuf at emt.inrs.ca
2006-Mar-14 19:46 UTC
[Dovecot] what are those .nfsXXXXX files with mbox ?
On Solaris 9, using: default_mail_env = mbox:~/mail:INBOX=/var/mail/%u Here is a listing of ~/mail with UW IMAP: .: total 8 drwx------ 2 testu3 sysadmin 512 Mar 14 14:40 . drwxr-xr-x 4 testu3 sysadmin 512 Mar 14 14:40 .. -rw------- 1 testu3 sysadmin 496 Mar 14 14:40 Drafts -rw------- 1 testu3 sysadmin 496 Mar 14 14:40 Sent Items with Dovecot: .: total 16 drwx------ 3 testu3 sysadmin 512 Mar 14 14:52 . drwxr-xr-x 4 testu3 sysadmin 512 Mar 14 14:40 .. drwx------ 5 testu3 sysadmin 512 Mar 14 14:52 .imap -rw------- 1 testu3 sysadmin 6 Mar 14 14:52 .nfsAEBA5 -rw------- 1 testu3 sysadmin 11 Mar 14 14:52 .nfsCEBA5 -rw------- 1 testu3 sysadmin 7 Mar 14 14:52 .nfsEEBA5 -rw------- 1 testu3 sysadmin 496 Mar 14 14:40 Drafts -rw------- 1 testu3 sysadmin 496 Mar 14 14:40 Sent Items ./.imap: total 10 drwx------ 5 testu3 sysadmin 512 Mar 14 14:52 . drwx------ 3 testu3 sysadmin 512 Mar 14 14:52 .. drwx------ 2 testu3 sysadmin 512 Mar 14 14:53 Drafts drwx------ 2 testu3 sysadmin 512 Mar 14 14:53 INBOX drwx------ 2 testu3 sysadmin 512 Mar 14 14:53 Sent Items ./.imap/Drafts: total 30 drwx------ 2 testu3 sysadmin 512 Mar 14 14:53 . drwx------ 5 testu3 sysadmin 512 Mar 14 14:52 .. -rw------- 1 testu3 sysadmin 112 Mar 14 14:53 .nfs0FBA5 -rw------- 1 testu3 sysadmin 10272 Mar 14 14:52 .nfs2FBA5 -rw------- 1 testu3 sysadmin 144 Mar 14 14:53 dovecot.index ./.imap/INBOX: total 66 drwx------ 2 testu3 sysadmin 512 Mar 14 14:53 . drwx------ 5 testu3 sysadmin 512 Mar 14 14:52 .. -rw------- 1 testu3 sysadmin 216 Mar 14 14:53 .nfs00CA5 -rw------- 1 testu3 sysadmin 17408 Mar 14 14:53 .nfs20CA5 -rw------- 1 testu3 sysadmin 360 Mar 14 14:52 .nfs5FBA5 -rw------- 1 testu3 sysadmin 10272 Mar 14 14:52 .nfs8FBA5 -rw------- 1 testu3 sysadmin 360 Mar 14 14:53 dovecot.index ./.imap/Sent Items: total 54 drwx------ 2 testu3 sysadmin 512 Mar 14 14:53 . drwx------ 5 testu3 sysadmin 512 Mar 14 14:52 .. -rw------- 1 testu3 sysadmin 88 Mar 14 14:53 .nfs40CA5 -rw------- 1 testu3 sysadmin 10272 Mar 14 14:53 .nfs60CA5 -rw------- 1 testu3 sysadmin 88 Mar 14 14:52 .nfsBFBA5 -rw------- 1 testu3 sysadmin 10272 Mar 14 14:52 .nfsDFBA5 -rw------- 1 testu3 sysadmin 144 Mar 14 14:53 dovecot.index what are the .nfsXXXXX files for ? Thanks Bertrand Leboeuf leboeuf at emt.inrs.ca
Those are files NFS creates when the file it had locked/open/writing to was nuked or moved before it had a chance to complete. IIRC, they cannot be removed until the NFS daemon has given up on them [1]. [1] - from experience, not TFM leboeuf at emt.inrs.ca wrote:> On Solaris 9, using: > > default_mail_env = mbox:~/mail:INBOX=/var/mail/%u > > Here is a listing of ~/mail > > with UW IMAP: > > .: > total 8 > drwx------ 2 testu3 sysadmin 512 Mar 14 14:40 . > drwxr-xr-x 4 testu3 sysadmin 512 Mar 14 14:40 .. > -rw------- 1 testu3 sysadmin 496 Mar 14 14:40 Drafts > -rw------- 1 testu3 sysadmin 496 Mar 14 14:40 Sent Items > > with Dovecot: > > .: > total 16 > drwx------ 3 testu3 sysadmin 512 Mar 14 14:52 . > drwxr-xr-x 4 testu3 sysadmin 512 Mar 14 14:40 .. > drwx------ 5 testu3 sysadmin 512 Mar 14 14:52 .imap > -rw------- 1 testu3 sysadmin 6 Mar 14 14:52 .nfsAEBA5 > -rw------- 1 testu3 sysadmin 11 Mar 14 14:52 .nfsCEBA5 > -rw------- 1 testu3 sysadmin 7 Mar 14 14:52 .nfsEEBA5 > -rw------- 1 testu3 sysadmin 496 Mar 14 14:40 Drafts > -rw------- 1 testu3 sysadmin 496 Mar 14 14:40 Sent Items > > ./.imap: > total 10 > drwx------ 5 testu3 sysadmin 512 Mar 14 14:52 . > drwx------ 3 testu3 sysadmin 512 Mar 14 14:52 .. > drwx------ 2 testu3 sysadmin 512 Mar 14 14:53 Drafts > drwx------ 2 testu3 sysadmin 512 Mar 14 14:53 INBOX > drwx------ 2 testu3 sysadmin 512 Mar 14 14:53 Sent Items > > ./.imap/Drafts: > total 30 > drwx------ 2 testu3 sysadmin 512 Mar 14 14:53 . > drwx------ 5 testu3 sysadmin 512 Mar 14 14:52 .. > -rw------- 1 testu3 sysadmin 112 Mar 14 14:53 .nfs0FBA5 > -rw------- 1 testu3 sysadmin 10272 Mar 14 14:52 .nfs2FBA5 > -rw------- 1 testu3 sysadmin 144 Mar 14 14:53 dovecot.index > > ./.imap/INBOX: > total 66 > drwx------ 2 testu3 sysadmin 512 Mar 14 14:53 . > drwx------ 5 testu3 sysadmin 512 Mar 14 14:52 .. > -rw------- 1 testu3 sysadmin 216 Mar 14 14:53 .nfs00CA5 > -rw------- 1 testu3 sysadmin 17408 Mar 14 14:53 .nfs20CA5 > -rw------- 1 testu3 sysadmin 360 Mar 14 14:52 .nfs5FBA5 > -rw------- 1 testu3 sysadmin 10272 Mar 14 14:52 .nfs8FBA5 > -rw------- 1 testu3 sysadmin 360 Mar 14 14:53 dovecot.index > > ./.imap/Sent Items: > total 54 > drwx------ 2 testu3 sysadmin 512 Mar 14 14:53 . > drwx------ 5 testu3 sysadmin 512 Mar 14 14:52 .. > -rw------- 1 testu3 sysadmin 88 Mar 14 14:53 .nfs40CA5 > -rw------- 1 testu3 sysadmin 10272 Mar 14 14:53 .nfs60CA5 > -rw------- 1 testu3 sysadmin 88 Mar 14 14:52 .nfsBFBA5 > -rw------- 1 testu3 sysadmin 10272 Mar 14 14:52 .nfsDFBA5 > -rw------- 1 testu3 sysadmin 144 Mar 14 14:53 dovecot.index > > what are the .nfsXXXXX files for ? > > Thanks > > Bertrand Leboeuf > leboeuf at emt.inrs.ca > >-- Flambeau Inc. Technology Center Email : tblader at flambeau.com Keyserver: http://pgp.mit.edu KeyID: 0x00E9EC2C ? http://www.google.com/search?q=what+is+gnupg
Bertrand Leboeuf
2006-Mar-16 14:32 UTC
[Dovecot] what are those .nfsXXXXX files with mbox ?
Thanks, there just seems to be a lot of them>From: tblader <tblader at flambeau.com> > >Those are files NFS creates when the file it had locked/open/writing to was >nuked or moved before it had a chance to complete. IIRC, they cannot be >removed until the NFS daemon has given up on them [1]. > >[1] - from experience, not TFM > > > >leboeuf at emt.inrs.ca wrote: >> On Solaris 9, using: >> >> default_mail_env = mbox:~/mail:INBOX=/var/mail/%u >> >> Here is a listing of ~/mail >> >> with UW IMAP: >> >> .: >> total 8 >> drwx------ 2 testu3 sysadmin 512 Mar 14 14:40 . >> drwxr-xr-x 4 testu3 sysadmin 512 Mar 14 14:40 .. >> -rw------- 1 testu3 sysadmin 496 Mar 14 14:40 Drafts >> -rw------- 1 testu3 sysadmin 496 Mar 14 14:40 Sent Items >> >> with Dovecot: >> >> .: >> total 16 >> drwx------ 3 testu3 sysadmin 512 Mar 14 14:52 . >> drwxr-xr-x 4 testu3 sysadmin 512 Mar 14 14:40 .. >> drwx------ 5 testu3 sysadmin 512 Mar 14 14:52 .imap >> -rw------- 1 testu3 sysadmin 6 Mar 14 14:52 .nfsAEBA5 >> -rw------- 1 testu3 sysadmin 11 Mar 14 14:52 .nfsCEBA5 >> -rw------- 1 testu3 sysadmin 7 Mar 14 14:52 .nfsEEBA5 >> -rw------- 1 testu3 sysadmin 496 Mar 14 14:40 Drafts >> -rw------- 1 testu3 sysadmin 496 Mar 14 14:40 Sent Items >> >> ./.imap: >> total 10 >> drwx------ 5 testu3 sysadmin 512 Mar 14 14:52 . >> drwx------ 3 testu3 sysadmin 512 Mar 14 14:52 .. >> drwx------ 2 testu3 sysadmin 512 Mar 14 14:53 Drafts >> drwx------ 2 testu3 sysadmin 512 Mar 14 14:53 INBOX >> drwx------ 2 testu3 sysadmin 512 Mar 14 14:53 Sent Items >> >> ./.imap/Drafts: >> total 30 >> drwx------ 2 testu3 sysadmin 512 Mar 14 14:53 . >> drwx------ 5 testu3 sysadmin 512 Mar 14 14:52 .. >> -rw------- 1 testu3 sysadmin 112 Mar 14 14:53 .nfs0FBA5 >> -rw------- 1 testu3 sysadmin 10272 Mar 14 14:52 .nfs2FBA5 >> -rw------- 1 testu3 sysadmin 144 Mar 14 14:53 dovecot.index >> >> ./.imap/INBOX: >> total 66 >> drwx------ 2 testu3 sysadmin 512 Mar 14 14:53 . >> drwx------ 5 testu3 sysadmin 512 Mar 14 14:52 .. >> -rw------- 1 testu3 sysadmin 216 Mar 14 14:53 .nfs00CA5 >> -rw------- 1 testu3 sysadmin 17408 Mar 14 14:53 .nfs20CA5 >> -rw------- 1 testu3 sysadmin 360 Mar 14 14:52 .nfs5FBA5 >> -rw------- 1 testu3 sysadmin 10272 Mar 14 14:52 .nfs8FBA5 >> -rw------- 1 testu3 sysadmin 360 Mar 14 14:53 dovecot.index >> >> ./.imap/Sent Items: >> total 54 >> drwx------ 2 testu3 sysadmin 512 Mar 14 14:53 . >> drwx------ 5 testu3 sysadmin 512 Mar 14 14:52 .. >> -rw------- 1 testu3 sysadmin 88 Mar 14 14:53 .nfs40CA5 >> -rw------- 1 testu3 sysadmin 10272 Mar 14 14:53 .nfs60CA5 >> -rw------- 1 testu3 sysadmin 88 Mar 14 14:52 .nfsBFBA5 >> -rw------- 1 testu3 sysadmin 10272 Mar 14 14:52 .nfsDFBA5 >> -rw------- 1 testu3 sysadmin 144 Mar 14 14:53 dovecot.index >> >> what are the .nfsXXXXX files for ? >> >> Thanks >> >> Bertrand Leboeuf >> leboeuf at emt.inrs.ca >> >> > >-- > >Flambeau Inc. Technology Center >Email : tblader at flambeau.com >Keyserver: http://pgp.mit.edu KeyID: 0x00E9EC2C >? http://www.google.com/search?q=what+is+gnupg
Bertrand Leboeuf
2006-Mar-16 16:21 UTC
[Dovecot] what are those .nfsXXXXX files with mbox ?
Thanks, Dovecot seems to create a lot because of the indexes, but they dissapear with the cron. -Bert>From: Jeff Ballard <ballard at engr.wisc.edu> > > >There should be a cron job on the server that deletes those > >>From /var/spool/cron/crontabs/root: > >15 3 * * 0 /usr/lib/fs/nfs/nfsfind > >Looking at /usr/lib/fs/nfs/nfsfind: ># less /usr/lib/fs/nfs/nfsfind >#!/bin/sh ># Copyright (c) 1993 by Sun Microsystems, Inc. > >#ident "@(#)nfsfind.sh 1.7 00/07/17 SMI" ># ># Check shared NFS filesystems for .nfs* files that ># are more than a week old. ># ># These files are created by NFS clients when an open file ># is removed. To preserve some semblance of Unix semantics ># the client renames the file to a unique name so that the ># file appears to have been removed from the directory, but ># is still usable by the process that has the file open. >[snip] > >-Jeff > >-- >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- >Jeff Ballard <ballard at engr.wisc.edu> 608-265-5090 >Unix Systems Manager, Computer-Aided Engineering Center >