Re: mdadm vs zfs for home server?
From: Ryan Wagoner <hidden>
Date: 2013-05-28 15:55:14
On Tue, May 28, 2013 at 11:24 AM, Matt Garman [off-list ref] wrote:
And, based on what I've read about ZFS, since it knows about the
data, it only resyncs ("resilvers" in zfs lingo) actual data, not
the whole drive. So depending on how full the array is, resilvering
could take even less time.
That should therefore *decrease* the chances of another disk failing
during rebuild/resilver, right? That is, if rebuild times are
proportional to the amount of actual disk utilization (which is
assumed to be less than 100%).Yep ZFS will only resilver used space. When I was testing failure scenarios with a few GB of data the resilver would complete in seconds. Additionally if there is an unrecoverable error detected ZFS will list the files affected. You can even have ZFS store multiple copies of a file so if the above does happen it will replace the damaged copy with a good copy. Ryan