Subject: Umount a filesystem fails, even if no proccesses are accessing it
To: None <current-users@NetBSD.org>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: current-users
Date: 12/24/2007 23:33:36
Hi,
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?
Bernd