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
[-- Attachment #1 --] On Thu, Nov 22, 2007 at 10:08:05AM +0100, Attila Nagy wrote: > Hello, > > FreeBSD RELENG_7, x86, a terrible disk array, called Promise RM-8000 > 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 > to reboot both the machine and the disk array. > > The effect: > pool: people > state: DEGRADED > status: One or more devices could not be used because the label is > 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: > > 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 > > errors: No known data errors > > 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) > > zpool replace -f people da3 > invalid vdev specification > the following errors must be manually repaired: > da3 is in use (r1w1e1) > > zpool offline people da3 > cannot offline da3: no valid replicas > > zpool online people da3 > Bringing device da3 online > (nothing has changed, the device is still FAULTED) > > Hmm. Is this this bug? > http://www.opensolaris.org/jive/thread.jspa?messageID=161812 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/common/fs/zfs/vdev.c.diff?r1=1.3;r2=1.4 -- Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHRx0sForvXbEpPzQRAp6rAKDJ5/UvzZprPJxoHvljqCXBA0nTFgCg7CKf PYNl9QjpHM6ig1wUrsNCbLg= =y6ss -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071123183420.GA12811>
