From owner-freebsd-fs@FreeBSD.ORG Wed Oct 14 21:05:41 2009 Return-Path: Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48168106568B for ; Wed, 14 Oct 2009 21:05:41 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello087206049004.chello.pl [87.206.49.4]) by mx1.freebsd.org (Postfix) with ESMTP id 8116B8FC20 for ; Wed, 14 Oct 2009 21:05:39 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id B202045E9C; Wed, 14 Oct 2009 23:05:38 +0200 (CEST) Received: from localhost (chello087206049004.chello.pl [87.206.49.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id EA5D445B36; Wed, 14 Oct 2009 23:05:30 +0200 (CEST) Date: Wed, 14 Oct 2009 23:05:28 +0200 From: Pawel Jakub Dawidek To: Solon Lutz Message-ID: <20091014210528.GC1727@garage.freebsd.pl> 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="da4uJneut+ArUgXk" Content-Disposition: inline In-Reply-To: <473227349.20091014184731@pyro.de> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.2 required=4.5 tests=BAYES_00,PLING_QUERY, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-fs@FreeBSD.ORG Subject: Re: Help needed! ZFS I/O error recovery? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Oct 2009 21:05:41 -0000 --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--