Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Oct 2006 14:17:17 +0930
From:      Wayne Sierke <ws@au.dyndns.ws>
To:        Josef Karthauser <joe@freebsd.org>
Cc:        stable@freebsd.org, current@freebsd.org
Subject:   Re: Drives always come up dirty after shutdown on 6.2-PRERELEASE.
Message-ID:  <1159678037.825.12.camel@predator-ii.buffyverse>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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#?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1159678037.825.12.camel>