From owner-freebsd-stable@FreeBSD.ORG Tue Nov 28 04:41:05 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 EE50B16A417 for ; Tue, 28 Nov 2006 04:41:05 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30BC645BDA for ; Mon, 27 Nov 2006 23:17:25 +0000 (GMT) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.62) with esmtp (envelope-from ) id <1Gopjs-0007bN-5x>; Tue, 28 Nov 2006 00:18:16 +0100 Received: from e178012098.adsl.alicedsl.de ([85.178.12.98] helo=[192.168.1.128]) by inpost2.zedat.fu-berlin.de (Exim 4.62) with esmtpsa (envelope-from ) id <1Gopjs-0005mr-38>; Tue, 28 Nov 2006 00:18:16 +0100 Message-ID: <456B722B.6010508@mail.zedat.fu-berlin.de> Date: Tue, 28 Nov 2006 00:18:03 +0100 From: "O. Hartmann" User-Agent: Thunderbird 1.5.0.8 (X11/20061110) MIME-Version: 1.0 To: Ronald Klop References: <200611271353.kARDr6tN034491@lurza.secnetix.de> <20061127164119.E63DB45054@ptavv.es.net> <20061127183758.GC865@turion.vk2pj.dyndns.org> <20061127201940.GD31944@over-yonder.net> In-Reply-To: X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.12.98 Cc: Peter Jeremy , freebsd-stable@freebsd.org, "Matthew D. Fuller" 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 04:41:06 -0000 Ronald Klop wrote: > 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 One of the fellows herein told me this discussion is subject to STABLE! Regards, Oliver