Drives always come up dirty after shutdown on 6.2-PRERELEASE.

Josef Karthauser joe at FreeBSD.org
Mon Oct 2 11:10:25 UTC 2006


On Fri, Sep 29, 2006 at 09:44:07AM -0500, Brooks Davis wrote:
> On Fri, Sep 29, 2006 at 02:16:12PM +0100, Josef Karthauser wrote:
> > Hey guys,
> > 
> > I'm not really on the ball with reading the lists now-a-days, and so
> > I've not idea whether this has been discussed already.
> > 
> > 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.
> 

Closer investigation reveals that I've getting this error:

    laptop# fsck -B /var
    background fsck lacks a snapshot

So, that explains it.  The background fsck isn't running.  So, any ideas
why it isn't snapshotting?

    laptop# ls -ld /var/.snap
    drwxrwx---  2 root  operator  512 Oct  2 12:09 /var/.snap

Joe
-- 
Josef Karthauser (joe at tao.org.uk)	       http://www.josef-k.net/
Physics Particle Theory (student)   http://www.pact.cpes.sussex.ac.uk/
================ An eclectic mix of fact and theory. =================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20061002/b77d2277/attachment.pgp


More information about the freebsd-stable mailing list