From owner-freebsd-fs@FreeBSD.ORG Sun Dec 19 13:00:28 2010 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 2B4FD106567A for ; Sun, 19 Dec 2010 13:00:28 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id C84068FC14 for ; Sun, 19 Dec 2010 13:00:27 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 5216E45CA6; Sun, 19 Dec 2010 13:30:46 +0100 (CET) Received: from localhost (89-73-192-49.dynamic.chello.pl [89.73.192.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 6582945C8A; Sun, 19 Dec 2010 13:30:40 +0100 (CET) Date: Sun, 19 Dec 2010 13:30:29 +0100 From: Pawel Jakub Dawidek To: Sergey Gavrilov Message-ID: <20101219123029.GM2127@garage.freebsd.pl> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ELVYuRnMxQ5nnKRy" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT amd64 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.6 required=4.5 tests=BAYES_00,RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: ZFS recovery after power failure 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: Sun, 19 Dec 2010 13:00:28 -0000 --ELVYuRnMxQ5nnKRy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 18, 2010 at 11:21:52AM +0300, Sergey Gavrilov wrote: > zpool import -F pool2 ok, but > zpool status -xv > pool: pool2 > state: FAULTED > status: The pool metadata is corrupted and the pool cannot be opened. > action: Destroy and re-create the pool from a backup source. > see: http://www.sun.com/msg/ZFS-8000-72 > scrub: none requested > config: >=20 > NAME STATE READ WRITE CKSUM > pool2 FAULTED 0 0 1 corrupted data > raidz2 ONLINE 0 0 6 > da9 ONLINE 0 0 0 > da10 ONLINE 0 0 0 > da11 ONLINE 0 0 0 > da12 ONLINE 0 0 0 > da13 ONLINE 0 0 0 > da14 ONLINE 0 0 0 > da15 ONLINE 0 0 0 > da16 ONLINE 0 0 0 >=20 > zpool clear pool2 > cannot clear errors for pool2: I/O error >=20 > Is there any way to recovery data or portion of data at least. Could you provide output of: # apply "zdb -l /dev/da%1 | egrep '(^LABEL|txg=3D|)'" `jot 8 9` --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --ELVYuRnMxQ5nnKRy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk0N+uUACgkQForvXbEpPzSpvwCffacEvJXgsGS8igZ0Q497e5ry YAEAoPCrPyUY9uIjFIbwSb3KtoKSg+fM =AixM -----END PGP SIGNATURE----- --ELVYuRnMxQ5nnKRy--