Date: Sun, 4 Oct 2009 23:36:04 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Aaron Hurt <aaron@goflexitllc.com> Cc: freebsd-fs@freebsd.org Subject: Re: Help needed! ZFS I/O error recovery? Message-ID: <20091004213604.GL1660@garage.freebsd.pl> In-Reply-To: <4AC91216.9070200@goflexitllc.com> References: <683849754.20091001110503@pyro.de> <20091004174746.GF1660@garage.freebsd.pl> <4AC8FFE9.90606@goflexitllc.com> <ed91d4a80910041335o5b23019du39faa96ba3590a2d@mail.gmail.com> <4AC91216.9070200@goflexitllc.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091004213604.GL1660>