Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Oct 2006 16:03:33 +0100
From:      Josef Karthauser <joe@FreeBSD.org>
To:        fs@freebsd.org
Subject:   Snapshots not being created... [brooks@one-eyed-alien.net: Re: Drives always come up dirty after shutdown on 6.2-PRERELEASE.]
Message-ID:  <20061002150333.GB2587@genius.tao.org.uk>

next in thread | raw e-mail | index | archive | help

--vtzGhvizbBRQ85DL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi guys,

It looks like snapshots are failing on my laptop, so background fscks
don't work :/.  Can someone help me get to the bottom of it please?

Thanks :).
Joe

----- Forwarded message from Brooks Davis <brooks@one-eyed-alien.net> -----

Date: Mon, 2 Oct 2006 09:58:04 -0500
=46rom: Brooks Davis <brooks@one-eyed-alien.net>
To: Josef Karthauser <joe@FreeBSD.org>,
	Brooks Davis <brooks@one-eyed-alien.net>, stable@FreeBSD.org
Subject: Re: Drives always come up dirty after shutdown on 6.2-PRERELEASE.

On Mon, Oct 02, 2006 at 12:10:10PM +0100, Josef Karthauser wrote:
> 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,
> > >=20
> > > 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.
> > >=20
> > > On my laptop running 6.2-PRERELEASE the drives always mount dirty, wh=
ich
> > > 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.
> > >=20
> > > Has anyone else seen this?
> >=20
> > 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.
> >=20
>=20
> Closer investigation reveals that I've getting this error:
>=20
>     laptop# fsck -B /var
>     background fsck lacks a snapshot
>=20
> So, that explains it.  The background fsck isn't running.  So, any ideas
> why it isn't snapshotting?
>=20
>     laptop# ls -ld /var/.snap
>     drwxrwx---  2 root  operator  512 Oct  2 12:09 /var/.snap

This message appears to be the result of fsck thinking it created a
snapshot, but not actually doing so.  You might try asking over on -fs.

-- Brooks



----- End forwarded message -----

--=20
Josef Karthauser (joe@tao.org.uk)	       http://www.josef-k.net/
Physics Particle Theory (student)   http://www.pact.cpes.sussex.ac.uk/
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D An eclectic mix of fact an=
d theory. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

--vtzGhvizbBRQ85DL
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)

iEYEARECAAYFAkUhKkQACgkQXVIcjOaxUBacpACg6Zj78Wgv6pmMZRh93foLaxh1
DVwAoLwJtk0rOh+SI3YGBDPj4IOHTyFW
=dQRy
-----END PGP SIGNATURE-----

--vtzGhvizbBRQ85DL--



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