From owner-freebsd-fs@FreeBSD.ORG Sun Oct 4 21:36:13 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 331841065679 for ; Sun, 4 Oct 2009 21:36:13 +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 5AA228FC0A for ; Sun, 4 Oct 2009 21:36:12 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id D031245EB2; Sun, 4 Oct 2009 23:36:10 +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 5E22745F6C; Sun, 4 Oct 2009 23:36:05 +0200 (CEST) Date: Sun, 4 Oct 2009 23:36:04 +0200 From: Pawel Jakub Dawidek To: Aaron Hurt Message-ID: <20091004213604.GL1660@garage.freebsd.pl> References: <683849754.20091001110503@pyro.de> <20091004174746.GF1660@garage.freebsd.pl> <4AC8FFE9.90606@goflexitllc.com> <4AC91216.9070200@goflexitllc.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FnOKg9Ah4tDwTfQS" Content-Disposition: inline In-Reply-To: <4AC91216.9070200@goflexitllc.com> 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: Sun, 04 Oct 2009 21:36:13 -0000 --FnOKg9Ah4tDwTfQS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 04, 2009 at 04:22:30PM -0500, Aaron Hurt wrote: > schroeder# zdb -ll /dev/ad4s1 [...] > txg=3D478240 [...] > schroeder# zdb -ll /dev/ad6s1 [...] > txg=3D478204 [...] > schroeder# zdb -ll /dev/ad8s1 [...] > txg=3D478240 [...] > schroeder# zdb -ll /dev/ad10s1 [...] > txg=3D478240 As you can see one of your vdevs (ad6s1) has lower transaction group number than the others. The difference is quite big (36 uberblocks), so we may not be able to go that far in the past. It might be that ZFS doesn't want to use ad6s1, because it is not up-to-date and there are some errors on one of the other slices. If you have you data backed up you may try this patch: http://people.freebsd.org/~pjd/patches/vdev_label.c.patch Once you run ZFS with the patch you can try setting sysctl vfs.zfs.maxtxg to 478204 and try importing your pool. It will try to import the pool on txg from ad6s1. It won't work if the other slices don't have this uberlock anymore or some earlier data is already overwritten. Do it on your own risk, as it might mess up your data even further. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --FnOKg9Ah4tDwTfQS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFKyRVEForvXbEpPzQRAm/ZAJ4v6u1A6ydJeJqLaRGQQErju0vxnACgueLf w+HiK8I/HrqCK2O+CezHf7k= =jZW9 -----END PGP SIGNATURE----- --FnOKg9Ah4tDwTfQS--