On Sat, May 18, 2013 at 01:29:58PM +0000, Ivailo Tanusheff wrote:
> The software RAID depends not only from the disks, but also from the changes on the OS, which will occur more frequently than an update of the firmware of the raid controller. So that makes the hardware raid more stable and reliable.
And not changing the firmware on the RAID card means that you get bugs
present for much longer. Plus, RAID cards can't do end-to-end verification
of data the way ZFS can.
> Also the resources of the hardware raid are exclusively used by the raid controller, which is not true for a software raid.
What does that have to do with anything?
> So I do not get your point of appointing that a software raid is same/better than the hardware one.
>
> About the second part - I point over both stability and reliability. Having a spare disk reduces the risk as the recovery operation will start as soon as a disk fails. It may sound paranoid, but still the possibility of a failing disk which is detected after 8, 12 or even 24 hours is pretty big.
Yes, this is called "infant mortality". The failure rate for drives is
sometimes referred to as the "bathtub curve" since drives tend to fail
less often some number of months after they are put into service, and then
much later on the failure rate creeps back up.
> Not sure about your calculations, hope you trust them, but in my previous company we have a 3-4 months period when a disk fails almost every day on 2 year old servers, so trust me - I do NOT trust those calculations, as I've seen the opposite. Maybe it was a failed batch of disk, shipped in the country, but no one is insured against this. Yes, you can use several hot spares on the software raid, but:
What calculations are you talking about? He posted the uncorrectable read
error probabilities manufacturers put into drive datasheets. The probability
of a URE is distinct from and very different from the probability of the
entire drive failing.
> I agree on the mentioned about recovering bid chunks of data, that's why I suggested that he uses several smaller LUNs for the zpool.
Yep, smaller drives or LUNs make for shorter resilver times. And having
fewer LUNs in a vdev makes for shorter resilver times as well. But that
costs more money because you need more drives to get the same amount of
usable space.
One more warning:
You can tell ZFS that a drive is a hot spare. But the software to bring
the drive into service when it is needed is not present in 8.2 that I'm
using, and I don't know if or when it did go in at all. I hope someone
else will answer on this point. Of course, if you are using hardware
RAID then this point is probably moot. So that's a point for hardware
RAID if you like.
> Cc: Liste FreeBSD
> Subject: Re: ZFS install on a partition
>
> On May 18, 2013, at 3:21 AM, Ivailo Tanusheff <
Ivailo.T...@skrill.com> wrote:
>
> > If you use HBA/JBOD then you will rely on the software RAID of the ZFS system. Yes, this RAID is good, but unless you use SSD disks to boost performance and a lot of RAM the hardware raid should be more reliable and mush faster.
>
> Why will the hardware raid be more reliable ? While hardware raid is susceptible to uncorrectable errors from the physical drives (hardware raid controllers rely on the drives to report bad reads and writes), and the uncorrectable error rate for modern drives is such that with high capacity drives (1TB and over) you are almost certain to run into a couple over the operational life of the drive. 10^-14 for cheap drives and 10^-15 for better drives, very occasionally I see a drive rated for 10^-16. Run the math and see how many TB worth of data you have to write and read (remember these failures are generally read failures with NO indication that a failure occurred, bad data is just returned to the system).
"Oh, I've heard that paradox a couple of times, but there's something
about a cat dying and I hate to think of such things."
- Dr. Donald Knuth speaking of Schrodinger's cat, December 8, 1999, MIT