Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 2009 23:05:28 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Solon Lutz <solon@pyro.de>
Cc:        freebsd-fs@FreeBSD.ORG
Subject:   Re: Help needed! ZFS I/O error recovery?
Message-ID:  <20091014210528.GC1727@garage.freebsd.pl>
In-Reply-To: <473227349.20091014184731@pyro.de>
References:  <756365088.20091013005202@pyro.de> <20091013055754.GA3197@garage.freebsd.pl> <90685589.20091013092418@pyro.de> <20091013072712.GA1597@garage.freebsd.pl> <12910471099.20091013095322@pyro.de> <20091013075511.GC1597@garage.freebsd.pl> <1433853337.20091013100348@pyro.de> <20091013082116.GE1597@garage.freebsd.pl> <673550066.20091013133544@pyro.de> <473227349.20091014184731@pyro.de>

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

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

On Wed, Oct 14, 2009 at 06:47:31PM +0200, Solon Lutz wrote:
> >   pool: temp
> >  state: ONLINE
> > status: One or more devices has experienced an error resulting in data
> >         corruption.  Applications may be affected.
> > action: Restore the file in question if possible.  Otherwise restore the
> >         entire pool from backup.
> >    see: http://www.sun.com/msg/ZFS-8000-8A
> >  scrub: none requested
> > config:
>=20
> >         NAME        STATE     READ WRITE CKSUM
> >         temp        ONLINE       0     0     9
> >           da0       ONLINE       0     0    36
>=20
> > errors: Permanent errors have been detected in the following files:
>=20
> >         temp:<0x0>
> >         temp:<0x49681>
> >         temp:<0x499a4>
> >         temp:<0x495fd>
> >         temp/space1:<0x0>
> >         temp/space2:<0x0>
> >         temp/space3:<0x0>
> >         temp/space4:<0x0>
> >         temp/space5:<0x0>
>=20
> I just tried it with more TXGs, even with a jump of -300, but it always g=
ives
> an "cannot iterate filesystems: I/O error" error if I try to import the p=
ool.
>=20
> Also because of mounting the pool, the TXg has gone up to 13445935 from
> initially 13462284.

We can try to turn off checksum verification entirely, but it will most
likely just panic your system.

If you want to do this, edit
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/spa.h file and change
ZIO_CHECKSUM_EQUAL() macro to something like this:

#define	ZIO_CHECKSUM_EQUAL(zc1, zc2)	(1)

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--da4uJneut+ArUgXk
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFK1j0VForvXbEpPzQRAu1TAJ9nax0CU+vG+dSJKDJWYQk8SWYLtACfWZcR
IdJpAo2bIRyHNiN1ZYDNpJU=
=IDpH
-----END PGP SIGNATURE-----

--da4uJneut+ArUgXk--



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