From owner-freebsd-fs@FreeBSD.ORG Fri Nov 30 06:03:14 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6015F16A419 for ; Fri, 30 Nov 2007 06:03:14 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail10.syd.optusnet.com.au (mail10.syd.optusnet.com.au [211.29.132.191]) by mx1.freebsd.org (Postfix) with ESMTP id C7DE113C43E for ; Fri, 30 Nov 2007 06:03:13 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from besplex.bde.org (c211-30-219-213.carlnfd3.nsw.optusnet.com.au [211.30.219.213]) by mail10.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id lAU639vd026626 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 30 Nov 2007 17:03:10 +1100 Date: Fri, 30 Nov 2007 17:00:21 +1100 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Bruce Evans In-Reply-To: <20071130164034.D12284@delplex.bde.org> Message-ID: <20071130165529.V954@besplex.bde.org> References: <474F4E46.8030109@nokia.com> <20071130112043.H7217@besplex.bde.org> <474F69A7.9090404@nokia.com> <20071130033743.GC31891@over-yonder.net> <20071130164034.D12284@delplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-fs@freebsd.org Subject: Re: File remove problem X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Nov 2007 06:03:14 -0000 On Fri, 30 Nov 2007, Bruce Evans wrote: > Duplicating the problem can be simplified to > "[make a disposable file system with soft updates and mount it rw on /mnt]; > touch /mnt/foo; mount -u -o ro /foo". Oops, this is missing a rm, and doesn't work with it. What actually "works" for me (with /f instead of /mnt) is: # cp /etc/passwd /f/a; sync; sleep 1; sync; sleep 1; sync; sleep 1; fsck -n /f; rm /f/a; mount -u -o fstab,ro /f; fsck -n /f This has produced the "softdep_waitidle: Failed to flush worklist for ..." message consistently 5-10 times so far. It takes a reboot per test. Bruce