From owner-freebsd-stable@FreeBSD.ORG Tue Nov 28 00:15:42 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4D90016A407 for ; Tue, 28 Nov 2006 00:15:42 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out0.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBDFA457CC for ; Mon, 27 Nov 2006 23:01:14 +0000 (GMT) (envelope-from ronald-freebsd8@klop.yi.org) Received: from [82.171.39.195] (helo=guido.klop.ws) by smtp-out0.tiscali.nl with smtp (Tiscali http://www.tiscali.nl) id 1GopUO-0004Gf-PV for ; Tue, 28 Nov 2006 00:02:16 +0100 Received: (qmail 2044 invoked from network); 27 Nov 2006 23:02:16 -0000 Received: from localhost.thuis.klop.ws (HELO guido.klop.ws) (127.0.0.1) by localhost.thuis.klop.ws with SMTP; 27 Nov 2006 23:02:16 -0000 Date: Tue, 28 Nov 2006 00:02:15 +0100 To: "Matthew D. Fuller" , "Peter Jeremy" From: "Ronald Klop" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <200611271353.kARDr6tN034491@lurza.secnetix.de> <20061127164119.E63DB45054@ptavv.es.net> <20061127183758.GC865@turion.vk2pj.dyndns.org> <20061127201940.GD31944@over-yonder.net> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <20061127201940.GD31944@over-yonder.net> User-Agent: Opera Mail/9.02 (FreeBSD) Cc: ohartman@mail.zedat.fu-berlin.de, freebsd-stable@freebsd.org Subject: Re: Problems unmounting/fssyncking extern UFS filesystem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Nov 2006 00:15:42 -0000 On Mon, 27 Nov 2006 21:19:40 +0100, Matthew D. Fuller wrote: > On Tue, Nov 28, 2006 at 05:37:58AM +1100 I heard the voice of > Peter Jeremy, and lo! it spake thus: >> >> All current Un*x filesystems will automatically flush all buffers as >> part of the unmount process > > That Depends(tm), partly on what you mean by 'unmount'. > > With my Nov05 and Jun06 -CURRENT's, I had to take great care to sync > and sync and wait and sync and sync filesystems before "mount -u -o > ro"'ing them, because otherwise they'd end up NOT flushing everything, > leaving unreferenced stuff around that fsck had to clean up, but only > if I ran it manually because mount DID mark the filesystem as clean. > > I just tried to reproduce it on my last-week -CURRENT, and it no > longer does that. Instead, it locked itself into a "softdep_waitidle: > Failed to flush worklist" loop and won't LET me remount r/o (or > unmount) the filesystems. Obviously, I should have kept up my > now-established habit of sync'ing and waiting a while before > un/remounting... IMHO: Please discuss this on freebsd-current@freebsd.org. And read the handbook (http://www.freebsd.org/handbook) about releases/versions/branches. -CURRENT is known to have bugs. -- Ronald Klop Amsterdam, The Netherlands