Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jun 2012 13:36:52 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-fs@freebsd.org
Subject:   Re: Using ZFS as RAID0 - disk offline question
Message-ID:  <jqkr0k$nv5$1@dough.gmane.org>
In-Reply-To: <4FCD1CD4.5080406@FreeBSD.org>
References:  <4FCD13CF.3010406@gmail.com> <4FCD17C6.5020503@FreeBSD.org> <4FCD19E6.1010802@gmail.com> <4FCD1CD4.5080406@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig4B13512928EBEB3E469E163C
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 04/06/2012 22:38, Matthew Seaman wrote:

> No.  A RAID0 zpool will be marked offline if any of the drives within i=
t
> fails.  You might be able to recover some data from remaining drives,
> but not easily.  The surest way of getting anything back would be to go=

> to a specialist disaster recovery company, but expect to pay $$$ for it=
=2E
>  Considering the price of hard drives nowadays, this would be a dumb
> choice: you could easily convert your RAID0 to a RAID10 for much less
> than it would cost you to try and recover from a broken RAID0.
>=20
> Even if you do install a replacement disk, ZFS won't be able to rebuild=

> from your original drive.  You'ld have to wipe and rebuild from scratch=
=2E

This requires a more thorough answer from someone who's working on ZFS
or has done extensive testing, but there is a particular circumstance in
which (in theory), ZFS could recover from RAID0 failure: if the "ditto
blocks" feature is turned on.

E.g.:  https://blogs.oracle.com/relling/entry/zfs_copies_and_data_protect=
ion

I think this would only work if the second drive isn't disconnected but
continues to respond with IO errors while reading. If the drive is
disconnected, the whole array will probably fail.

Ditto blocks sort-of-but-not-quite turn ZFS RAID0 into RAID-10.


--------------enig4B13512928EBEB3E469E163C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/N71QACgkQ/QjVBj3/HSyZ3wCgpPqcGvbzi0D4+mubZ56WbymC
X2kAnjjin7a+OsKb5rBgJkQq/80BTGh7
=D3l1
-----END PGP SIGNATURE-----

--------------enig4B13512928EBEB3E469E163C--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?jqkr0k$nv5$1>