[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
On Mon, Dec 24, 2007 at 11:33:36PM +0100, Bernd Ernesti wrote:
> I'm in the situation where I try to unmount a filesystem which has the
> NetBSD sources on it, but I just get a
> umount: /home/source: Device busy
> fstat and lsof does NOT show any proccess which would lock the unmount.
> I stopped nearly all programs, so that only getty, init and sshd are running.
> This does only happen when I build a lot of packages (building all packages
> from scratch).
> Is there any way to find the reason for this umount failure?
> Btw, I use ffsv2 soft dependencies for this file system.
> pstat -v
> *** MOUNT ffs /dev/wd0h on /home/source (soft dependencies,local)
> ADDR TYP VFLAG USE HOLD TAG NPAGE FILEID IFLAG RDEV|SZ
> d536561c dir 2 0 1 0 431681 - 0
> d12cc278 dir 2 0 1 0 431708 - 0
> db5846dc dir 2 0 1 0 431683 - 0
> d40c30d4 dir 2 0 1 0 431713 - 0
> d424d244 dir 2 0 1 0 431711 - 0
> d121c794 dir 2 0 1 0 455911 - 0
> dabd33f4 non O 1 0 21 0
> Hmm, what does that mean?
there are still handles open on /home/source. "fstat -f /home/source"
may reveal which processes which have them open.
Aaron J. Grier | "Not your ordinary poofy goof." |
Main Index |
Thread Index |