Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Umount a filesystem fails, even if no proccesses are accessing it




To: current-users%NetBSD.org@localhost

Subject: Re: Umount a filesystem fails, even if no proccesses are accessing it

From: David Laight <david%l8s.co.uk@localhost>

Date: Sat, 5 Jan 2008 09:14:59 +0000


On Sat, Jan 05, 2008 at 09:39:02AM +0100, Bernd Ernesti wrote:
> > 
> > Unfortunately, fstat shows open files, and if the problem is a
> > refcounting bug on vnodes rather than open files, it is stale vnodes
> > that will be hanging around, and the results of fstat will be null or
> > even misleading.

It could ever be a ref-counting bug on the kernel 'file' structure - although
fstat might be able to report those (even though it won't be able to
locate a process).

> 
> I don't know if this is related, but there were two kernel messages
> before I tried to unmount the filesyste, something which happend during
> the pkgsrc build:
> 
> set{u,g}id pid 7405 (netstat) was invoked by uid 1234 ppid 4328 (shlibsign) 
> with fd 0 closed
> set{u,g}id pid 8477 (netstat) was invoked by uid 1234 ppid 7368 (shlibsign) 
> with fd 0 closed

Not relevant...

        David

-- 
David Laight: david%l8s.co.uk@localhost



References:

Re: Umount a filesystem fails, even if no proccesses are accessing it
From: Aaron J. Grier

Re: Umount a filesystem fails, even if no proccesses are accessing it
From: Bernd Ernesti

Re: Umount a filesystem fails, even if no proccesses are accessing it
From: David Holland

Re: Umount a filesystem fails, even if no proccesses are accessing it
From: Bernd Ernesti




Prev by Date: Re: Machine livelock with latest (4.99.48) kernel on sparc64

Next by Date: Re: Machine livelock with latest (4.99.48) kernel on sparc64

Previous by Thread: Re: Umount a filesystem fails, even if no proccesses are accessing it

Next by Thread: triweekly CVS update output

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index