From owner-freebsd-stable@FreeBSD.ORG Sun Oct 1 04:43:28 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88EEF16A407; Sun, 1 Oct 2006 04:43:28 +0000 (UTC) (envelope-from ws@au.dyndns.ws) Received: from ipmail01.adl2.internode.on.net (ipmail01.adl2.internode.on.net [203.16.214.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81AC943D46; Sun, 1 Oct 2006 04:43:27 +0000 (GMT) (envelope-from ws@au.dyndns.ws) Received: from ppp211-210.lns1.adl2.internode.on.net (HELO [192.168.100.131]) ([203.122.211.210]) by ipmail01.adl2.internode.on.net with ESMTP; 01 Oct 2006 14:13:25 +0930 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AQAAAHfkHkUNi2wB X-IronPort-AV: i="4.09,240,1157293800"; d="scan'208"; a="20011838:sNHT94560074" From: Wayne Sierke To: Josef Karthauser In-Reply-To: <20060929145809.GJ1473@genius.tao.org.uk> References: <20060929131612.GA1473@genius.tao.org.uk> <20060929144407.GA85110@lor.one-eyed-alien.net> <20060929145809.GJ1473@genius.tao.org.uk> Content-Type: text/plain Date: Sun, 01 Oct 2006 14:17:17 +0930 Message-Id: <1159678037.825.12.camel@predator-ii.buffyverse> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org, current@freebsd.org Subject: Re: Drives always come up dirty after shutdown on 6.2-PRERELEASE. 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: Sun, 01 Oct 2006 04:43:28 -0000 On Fri, 2006-09-29 at 15:58 +0100, Josef Karthauser wrote: > On Fri, Sep 29, 2006 at 09:44:07AM -0500, Brooks Davis wrote: > > > On my laptop running 6.2-PRERELEASE the drives always mount dirty, which > > > suggests that they are not being shutdown clean; however the machine > > > always syncs the disks and switches itself off after a 'shutdown -p > > > now', and so I'm not sure what it could be. > > > > > > Has anyone else seen this? > > > > I haven't seen any other reports of this. Have you tried running a > > "fsck -f" on the drives? It's possible there's a latent error that > > isn't being fixed by bgfsck. > > I thought I did; I'll try again now and see what happens. It's strange > though because it's every partition. The /var partition on this 6.1-STABLE box was always mounting dirty, until I realised that its fstab entry had its Pass# field set to 0: /dev/ad0s4e /var ufs rw 0 0 If you run fsck ("fsck -n" is sufficient) without specifying a file system so that it reads the list of which file systems to check from fstab, does it check all those with a non-zero Pass#?