From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 17 16:01:56 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF4DC16A419 for ; Mon, 17 Dec 2007 16:01:56 +0000 (UTC) (envelope-from romain@blogreen.org) Received: from smtp3-g19.free.fr (smtp3-g19.free.fr [212.27.42.29]) by mx1.freebsd.org (Postfix) with ESMTP id B94E413C448 for ; Mon, 17 Dec 2007 16:01:56 +0000 (UTC) (envelope-from romain@blogreen.org) Received: from smtp3-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp3-g19.free.fr (Postfix) with ESMTP id CED2C17B560; Mon, 17 Dec 2007 17:01:55 +0100 (CET) Received: from marvin.blogreen.org (marvin.blogreen.org [82.247.213.140]) by smtp3-g19.free.fr (Postfix) with ESMTP id BB22617B5A7; Mon, 17 Dec 2007 17:01:54 +0100 (CET) Received: by marvin.blogreen.org (Postfix, from userid 1001) id 829A15C053; Mon, 17 Dec 2007 17:01:54 +0100 (CET) Date: Mon, 17 Dec 2007 17:01:54 +0100 From: Romain =?iso-8859-1?Q?Tarti=E8re?= To: babkin@users.sf.net Message-ID: <20071217160154.GA19023@marvin.blogreen.org> Mail-Followup-To: babkin@users.sf.net, freebsd-hackers@freebsd.org, Yuri References: <135273.956351197903508116.JavaMail.root@vms070.mailsrvcs.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wRRV7LY7NUeQGEoC" Content-Disposition: inline In-Reply-To: <135273.956351197903508116.JavaMail.root@vms070.mailsrvcs.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-hackers@freebsd.org, Yuri Subject: Re: Stale mount on disconnected device: how to delete it? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 16:01:57 -0000 --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 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--