Stale mount on disconnected device: how to delete it?

Romain Tartière romain at blogreen.org
Mon Dec 17 08:01:57 PST 2007


On Mon, Dec 17, 2007 at 08:58:27AM -0600, Sergey Babkin wrote :
> Would not umount -f do the trick?

I tried it without particular care one time on a failing device and
experienced an instant system reboot (was it caused by the faulty disk
or by a limitation in the implementation of the system (FreeBSD 5.x at
that time), I can't be sure). Since then, I have never tried to force
the unmounting of any device in favor of rebooting the system.

In fact, crawling the PR database already reports problems about forcing
unmounting of devices [kern/77026, kern/102250, usb/46176, ...].

So I prefer to be sure that everything is safe (not mounted read/write)
before trying anything that can lead to data loss.

Regards,
Romain

-- 
Romain Tartière <romain at blogreen.org>        http://romain.blogreen.org/
pgp: 8DAB A124 0DA4 7024 F82A  E748 D8E9 A33F FF56 FF43 (ID: 0xFF56FF43)
(plain text =non-HTML= PGP/GPG encrypted/signed e-mail much appreciated)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20071217/951361c1/attachment.pgp


More information about the freebsd-hackers mailing list