From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 19 09:43:46 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 7F32416A417 for ; Wed, 19 Dec 2007 09:43:46 +0000 (UTC) (envelope-from ntarmos@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id E9C5213C458 for ; Wed, 19 Dec 2007 09:43:45 +0000 (UTC) (envelope-from ntarmos@ceid.upatras.gr) Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id CCD57EB4F92 for ; Wed, 19 Dec 2007 11:43:44 +0200 (EET) Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id B32B11584E7 for ; Wed, 19 Dec 2007 11:43:44 +0200 (EET) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TasZkHdwTWZ9 for ; Wed, 19 Dec 2007 11:43:44 +0200 (EET) Received: from ace.netcins.ceid.upatras.gr (vfppp079167010077.dsl.hol.gr [79.167.10.77]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 1748F1581C4 for ; Wed, 19 Dec 2007 11:43:44 +0200 (EET) Received: by ace.netcins.ceid.upatras.gr (Postfix, from userid 1001) id 566BB3F454; Wed, 19 Dec 2007 11:37:46 +0200 (EET) Date: Wed, 19 Dec 2007 11:37:46 +0200 From: Nikos Ntarmos To: freebsd-hackers@freebsd.org Message-ID: <20071219093746.GA25058@ace.netcins.ceid.upatras.gr> Mail-Followup-To: freebsd-hackers@freebsd.org References: <1197889622.4766585626a92@webmail.rawbw.com> <20071218001355.GA40289@marvin.blogreen.org> <20071218055201.GB51227@ace.netcins.ceid.upatras.gr> <200712182203.49414.doconnor@gsoft.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <200712182203.49414.doconnor@gsoft.com.au> Organization: NetCInS Lab., C.E.I.D., U. of Patras, Greece WWW-Homepage: http://ntarmos.dyndns.org/ X-PGP-Fingerprint: 9680 60A7 DE60 0298 B1F0 9B22 9BA2 7569 CF95 160A Office-Phone: +30-2610-996919 Office-Fax: +30-2610-969011 GPS-Info: 38.31N, 21.82E User-Agent: mutt-ng/devel-r804 (FreeBSD) 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: Wed, 19 Dec 2007 09:43:46 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Dec 18, 2007 at 10:03:42PM +1030, Daniel O'Connor wrote: > On Tue, 18 Dec 2007, Nikos Ntarmos wrote: > > Off the top of my head, what is wrong/hard with just logging a device > > failure, discarding all remaining cached operations, and unmounting > > the fs when a disk device goes missing? I understand that this is not > > a viable solution for critical filesystems, but I can see nothing > > wrong with this approach for removable devices and/or non-critical > > fs's. > > There was a long, long thread which discussed this earlier. > > It's easy to say what should be done, it's harder to submit patches > that clean up the respective failure modes. Point taken. Do you have any pointers to that thread? I did a quick search in hackers@ and current@ but failed to find anything relevant, other than people reporting related crashes and "don't do that, then"-type answers. \n\n -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Nikos Ntarmos iD8DBQFHaOZqm6J1ac+VFgoRAs/5AJ9sPZblF1T3MBkDP8K4ycRaFDf9KgCdH3oL u+43/UxmFZnclQvcI4K+Xh8= =E7ue -----END PGP SIGNATURE-----