Date: Fri, 23 Nov 2007 19:34:20 +0100 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Attila Nagy <bra@fsn.hu> Cc: freebsd-fs@FreeBSD.org Subject: Re: ZFS and FAULTED devices (corrupted data), can't make the pool ONLINE again Message-ID: <20071123183420.GA12811@garage.freebsd.pl> In-Reply-To: <474546F5.2000007@fsn.hu> References: <474546F5.2000007@fsn.hu>
next in thread | previous in thread | raw e-mail | index | archive | help
--17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 22, 2007 at 10:08:05AM +0100, Attila Nagy wrote: > Hello, >=20 > FreeBSD RELENG_7, x86, a terrible disk array, called Promise RM-8000=20 > with 8 disks on an ahc. > The pool is a RAIDZ2. > Tomorrow the array went crazy (its firmware is a total crap), so I had=20 > to reboot both the machine and the disk array. >=20 > The effect: > pool: people > state: DEGRADED > status: One or more devices could not be used because the label is=20 > missing or > invalid. Sufficient replicas exist for the pool to continue > functioning in a degraded state. > action: Replace the device using 'zpool replace'. > see: http://www.sun.com/msg/ZFS-8000-4J > scrub: resilver completed with 0 errors on Thu Nov 22 10:45:27 2007 > config: >=20 > NAME STATE READ WRITE CKSUM > people DEGRADED 0 0 0 > raidz2 DEGRADED 0 0 0 > da8 ONLINE 0 0 0 > da3 FAULTED 0 0 0 corrupted data > da5 ONLINE 0 0 0 > da6 ONLINE 0 0 0 > da7 ONLINE 0 0 0 > da9 ONLINE 0 0 0 > da10 ONLINE 0 0 0 > da4 FAULTED 0 0 0 corrupted data >=20 > errors: No known data errors >=20 > I've tried everything I could think of: > zpool replace people da3 > invalid vdev specification > use '-f' to override the following errors: > da3 is in use (r1w1e1) >=20 > zpool replace -f people da3 > invalid vdev specification > the following errors must be manually repaired: > da3 is in use (r1w1e1) >=20 > zpool offline people da3 > cannot offline da3: no valid replicas >=20 > zpool online people da3 > Bringing device da3 online > (nothing has changed, the device is still FAULTED) >=20 > Hmm. Is this this bug?=20 > http://www.opensolaris.org/jive/thread.jspa?messageID=3D161812 You should use: # zpool replace people da3 da3 but to do it, you need this patch, which was not yet MFCed: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/contrib/opensolaris/uts/comm= on/fs/zfs/vdev.c.diff?r1=3D1.3;r2=3D1.4 --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHRx0sForvXbEpPzQRAp6rAKDJ5/UvzZprPJxoHvljqCXBA0nTFgCg7CKf PYNl9QjpHM6ig1wUrsNCbLg= =y6ss -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071123183420.GA12811>