Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2007 17:01:54 +0100
From:      Romain =?iso-8859-1?Q?Tarti=E8re?= <romain@blogreen.org>
To:        babkin@users.sf.net
Cc:        freebsd-hackers@freebsd.org, Yuri <yuri@rawbw.com>
Subject:   Re: Stale mount on disconnected device: how to delete it?
Message-ID:  <20071217160154.GA19023@marvin.blogreen.org>
In-Reply-To: <135273.956351197903508116.JavaMail.root@vms070.mailsrvcs.net>
References:  <135273.956351197903508116.JavaMail.root@vms070.mailsrvcs.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--wRRV7LY7NUeQGEoC
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

--=20
Romain Tarti=E8re <romain@blogreen.org>        http://romain.blogreen.org/
pgp: 8DAB A124 0DA4 7024 F82A  E748 D8E9 A33F FF56 FF43 (ID: 0xFF56FF43)
(plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciated)

--wRRV7LY7NUeQGEoC
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHZp1y2OmjP/9W/0MRAnBWAJ9qAM7t/bfpzkpZR7CuAFQ+Lcg/2wCgmnUq
rja84cHJOLN/XlZyQSmSxOc=
=J8sa
-----END PGP SIGNATURE-----

--wRRV7LY7NUeQGEoC--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071217160154.GA19023>