Date: Wed, 28 Jan 2004 14:24:38 -0600 From: greg <gval@mts.net> To: "Marc G. Fournier" <scrappy@hub.org> Cc: freebsd-stable@freebsd.org Subject: Re: file system busy ... how? Message-ID: <1075321477.92109.5.camel@localhost.localdomain> In-Reply-To: <20040128094101.G68358@ganymede.hub.org> References: <20040128094101.G68358@ganymede.hub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Did you cd into a directory on that fs and then su (or login as another user) and then forget about it? Try exiting out of all your terminals, open a new terminal and umount that fs again. On Wed, 2004-01-28 at 07:44, Marc G. Fournier wrote: > Trying to umount a file system, and I get: > > umount /vm > umount: unmount of /vm failed: Device busy > > > using lsof, I find nothing open on the file system: > > pluto# lsof | grep vm > lsof 6548 root txt VREG 13,131077 19308 157977 /usr/lib/libkvm.so.2 > upclient 39379 root txt VREG 13,131077 19308 157977 /usr/lib/libkvm.so.2 > > I'm the only one logged into the machine, and I'm in on / ... > > and process wise, the machine is silent: > > pluto# ps aux > USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND > root 6583 0.0 0.0 412 212 p0 R+ 9:47AM 0:00.00 ps aux > root 0 0.0 0.0 0 0 ?? DLs 12Dec03 0:00.00 (swapper) > root 1 0.0 0.0 552 72 ?? ILs 12Dec03 0:44.06 /sbin/init -- > root 2 0.0 0.0 0 0 ?? DL 12Dec03 5:18.27 (pagedaemon) > root 3 0.0 0.0 0 0 ?? DL 12Dec03 0:00.00 (vmdaemon) > root 4 0.0 0.0 0 0 ?? DL 12Dec03 1:12.52 (bufdaemon) > root 5 0.0 0.0 0 0 ?? DL 12Dec03 3:33.09 (vnlru) > root 6 0.0 0.0 0 0 ?? DL 12Dec03 723:54.36 (syncer) > root 27 0.0 0.0 212 8 ?? Is 12Dec03 0:00.00 adjkerntz -i > root 194 0.0 0.0 988 464 ?? Ss 12Dec03 4:34.56 /usr/sbin/syslogd -ss > daemon 200 0.0 0.0 1004 548 ?? Is 12Dec03 1:18.07 /usr/sbin/portmap > daemon 213 0.0 0.0 908 420 ?? Ss 12Dec03 7:46.83 rwhod > root 219 0.0 0.0 1024 564 ?? Is 12Dec03 0:45.08 /usr/sbin/cron > root 221 0.0 0.0 2592 1292 ?? Is 12Dec03 1:52.64 /usr/sbin/sshd > root 13845 0.0 0.0 952 368 v0 Is+ 12Dec03 0:00.01 /usr/libexec/getty Pc ttyv0 > root 13846 0.0 0.0 952 368 v1 Is+ 12Dec03 0:00.01 /usr/libexec/getty Pc ttyv1 > root 39379 0.0 0.0 1980 724 ?? S 4Jan04 0:12.32 /usr/local/sbin/upclient > root 48194 0.0 0.1 4200 3696 ?? Ss 5:59AM 0:23.28 /usr/sbin/named > root 6200 0.0 0.0 1024 668 ?? I 9:30AM 0:00.00 cron: running job (cron) > ipaudit 6215 0.0 0.0 636 496 ?? I 9:30AM 0:00.00 /bin/sh cron/cron30min > ipaudit 6216 0.0 0.0 636 496 ?? I 9:30AM 0:00.00 /bin/sh cron/cron30min > root 6217 0.0 0.2 6908 6536 ?? S 9:30AM 0:00.90 /usr/local/ipaudit/bin/ipaudit -g /usr/local/ipaudit/ipaudit-we > root 6563 0.0 0.0 5292 1728 ?? S 9:46AM 0:00.03 sshd: root@ttyp0 (sshd) > root 6565 0.0 0.0 1264 852 p0 Ss 9:46AM 0:00.02 -csh (csh) > ipaudit 6202 0.0 0.0 0 0 ?? Z 9:30AM 0:00.00 (sh) > > So why won't it let me umount the drive? :( > > Thanks ... > > ---- > Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) > Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- greg <gval@mts.net>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1075321477.92109.5.camel>