From: Stan Hoeppner <stan@hardwarefreak.com>
To: Matt Garman <matthew.garman@gmail.com>
Cc: linux-raid <linux-raid@vger.kernel.org>
Subject: Re: mdadm vs zfs for home server?
Date: Mon, 27 May 2013 17:33:15 -0500 [thread overview]
Message-ID: <51A3DF2B.7070200@hardwarefreak.com> (raw)
In-Reply-To: <20130527180912.GA6068@septictank.raw-sewage.fake>
On 5/27/2013 1:09 PM, Matt Garman wrote:
...
> I got to thinking about the chances of data loss. First off: I do
> have backups. But I want to take every "reasonable" precaution
> against having to use the backups. Initially I started thinking
> about zfs's raid-z3 (basically, triple-parity raid, the next logical
> step in the raid5, raid6 progression). But then I decided that,
> based on the check speed of my current raid6, maybe I want to get
> away from parity-based raid all together.
>
> Now I've got another 3TB drive on the way (rounding out the total to
> six) and am leaning towards RAID-10. I don't need the performance,
> but it should be more performant than raid6. And I assume (though I
> could be very wrong) that the weekly "check" action ought to be much
> faster than it is with raid6. Is this correct?
The primary reason RAID6 came into use is double drive failure during
RAID5's lengthy rebuild times causing total array loss. RAID10 rebuilds
are the same as a mirror rebuild. Takes ~4-6 hours with 3TB drives.
Over the ~20 years RAID10 has been in use in both soft/hardware
solutions it has been shown that partner drive loss during rebuild is
extremely rare. RAID6 rebuild times will be double/triple or more that
of RAID10. And these will stress all drives in the array. A RAID10
rebuild only stresses the two drives in the mirror being rebuilt.
RAID10 rebuild time is constant regardless of array size. RAID6 rebuild
times tend to increase as the number of drives increases. You may not
need the application performance of RAID10, but you would surely benefit
from the drastically lower rebuild time. The only downside to md/RAID10
is that it cannot be expanded. Many hardware RAID controllers can
expand RAID10 arrays, however.
WRT to scheduled scrubbing, I don't do it, I don't believe in it. While
it may give you some piece of mind, this simply puts extra wear on the
drives. RAID6 it is self healing, right, so why bother with scrubbing?
It's a self fulfilling prophecy kinda thing--the more you scrub, the
more likely you are to need to scrub due to the wear of previous scrubs.
I don't do it any arrays. It just wears the drives out quicker.
If "losing" another 3TB to redundancy isn't a problem for you, I'd go
RAID10, and format the md device directly with XFS. You may not need
the application performance of XFS, but backups using xfsdump are faster
than you can possibly imagine. Why? They're performed entirely in
kernel space inside the filesystem driver, no user space calls as with
traditional Linux backup utils such as rsync. Targets include a local
drive, a local or remote file (NFS), tape, etc.
--
Stan
next prev parent reply other threads:[~2013-05-27 22:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-27 18:09 mdadm vs zfs for home server? Matt Garman
2013-05-27 19:02 ` Roy Sigurd Karlsbakk
2013-05-28 15:00 ` Matt Garman
2013-05-28 15:18 ` Jon Nelson
2013-05-27 19:20 ` Roman Mamedov
2013-05-27 22:33 ` Stan Hoeppner [this message]
2013-05-27 23:50 ` Phil Turmel
2013-05-28 5:12 ` Stan Hoeppner
2013-05-28 15:24 ` Matt Garman
2013-05-28 15:55 ` Ryan Wagoner
-- strict thread matches above, loose matches on Subject: below --
2013-05-28 3:09 Ryan Wagoner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51A3DF2B.7070200@hardwarefreak.com \
--to=stan@hardwarefreak.com \
--cc=linux-raid@vger.kernel.org \
--cc=matthew.garman@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).