Re: mount point busy, can't find process holding it [solved]

2009-08-12 Thread Ted Unangst
On Wed, Aug 12, 2009 at 1:17 AM, patrick keshishian wrote: >> fstat reports on open files, not files in use. as you've discovered, >> there are ways for a file to be in use without being open by a >> process. > > This seems educational; could you please elaborate? The kernel keeps a list of all p

Re: mount point busy, can't find process holding it [solved]

2009-08-12 Thread frantisek holop
hmm, on Wed, Aug 12, 2009 at 09:53:57AM +0200, Jan Stary said that > On Aug 12 02:59:38, frantisek holop wrote: > > hi there, > > > > it seems that i have found the sequence to reliably > > reproduce this problem. > > > > # mount /adata > > # cd /adata > > # vnconfig svnd0 install46.iso > > # mou

Re: mount point busy, can't find process holding it [solved]

2009-08-12 Thread Jan Stary
On Aug 12 02:59:38, frantisek holop wrote: > hi there, > > it seems that i have found the sequence to reliably > reproduce this problem. > > # mount /adata > # cd /adata > # vnconfig svnd0 install46.iso > # mount /dev/svnd0c /mnt > # umount /mnt > # umount /adata > umount: /adata: Device busy /a

Re: mount point busy, can't find process holding it [solved]

2009-08-11 Thread patrick keshishian
On Tue, Aug 11, 2009 at 8:48 PM, Ted Unangst wrote: > On Tue, Aug 11, 2009 at 8:59 PM, frantisek holop wrote: >> # vnconfig svnd0 install46.iso >> >> why wasn't fstat showing this information? >> even doing "fstat -f /adata/install46.iso" returned >> nothing. > > fstat reports on open files, not fi

Re: mount point busy, can't find process holding it [solved]

2009-08-11 Thread Ted Unangst
On Tue, Aug 11, 2009 at 8:59 PM, frantisek holop wrote: > # vnconfig svnd0 install46.iso > > why wasn't fstat showing this information? > even doing "fstat -f /adata/install46.iso" returned > nothing. fstat reports on open files, not files in use. as you've discovered, there are ways for a file t

Re: mount point busy, can't find process holding it [solved]

2009-08-11 Thread frantisek holop
hi there, it seems that i have found the sequence to reliably reproduce this problem. # mount /adata # cd /adata # vnconfig svnd0 install46.iso # mount /dev/svnd0c /mnt # umount /mnt # umount /adata umount: /adata: Device busy # vnconfig -u svnd0 # umount /adata why wasn't fstat showing this inf