Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Mar 2011 22:46:44 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Anders Andersson <pipatron@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: RAID-Z in a disk-failure.
Message-ID:  <20110326224644.00006d6b@unknown>
In-Reply-To: <AANLkTimzb0timUQTfokYga3DNCC_bONhCjyEUgf_eGsd@mail.gmail.com>
References:  <AANLkTimzb0timUQTfokYga3DNCC_bONhCjyEUgf_eGsd@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 26 Mar 2011 15:42:57 +0100 Anders Andersson
<pipatron@gmail.com> wrote:

> Evening! I have a question about ZFS in a FreeBSD setting, more
> specifically about RAID-Z. I have never used ZFS so I might have
> misunderstood something,  but imagine this situation:
> 
> You're using ZFS in RAID-Z with 4 disks. One of these gets a
> catastrophic failure. You replace the disk with a new one, but when
> the RAID-Z is rebuilt, the software notices that one sector/block on
> another disk has become corrupted. It notices this because ZFS keeps a
> checksum.
> 
> What happens then? Since the redundancy is temporarily disabled
> because of the failed disk, this sector/block is nowhere to be found.
> My hope is that the system will handle this gracefully, so that only
> the file using this block will be unreadable, but the rest of the data
> is available and can be rebuilt. The worst that could happen is that
> the rebuild is refused and the whole pool is gone.
> 
> Have I missed something in this scenario?

If a corruption can not be corrected, tt's only the file (or
directory-subtree) with this corruption which is unreadable.

Bye,
Alexander.

-- 
http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110326224644.00006d6b>