Help needed! ZFS I/O error recovery?

Pawel Jakub Dawidek pjd at FreeBSD.org
Wed Oct 14 21:05:41 UTC 2009


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:
> 
> >         NAME        STATE     READ WRITE CKSUM
> >         temp        ONLINE       0     0     9
> >           da0       ONLINE       0     0    36
> 
> > errors: Permanent errors have been detected in the following files:
> 
> >         temp:<0x0>
> >         temp:<0x49681>
> >         temp:<0x499a4>
> >         temp:<0x495fd>
> >         temp/space1:<0x0>
> >         temp/space2:<0x0>
> >         temp/space3:<0x0>
> >         temp/space4:<0x0>
> >         temp/space5:<0x0>
> 
> I just tried it with more TXGs, even with a jump of -300, but it always gives
> an "cannot iterate filesystems: I/O error" error if I try to import the pool.
> 
> 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)

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20091014/643df3f6/attachment.pgp


More information about the freebsd-fs mailing list