Re: Software based SATA RAID-5 expandable arrays?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel Korstad wrote:
That was true up to kernel 2.6.21 and 2.6 mdadm where support for RAID 6 reshape arrived. I have reshaped (added additional drives) to my RAID 6 twice now with no problems in the past few months. You mentioned that as the only disadvantage. There are other things to consider. The overhead for parity of course. You can't have a RAID 6 with only three drives unless you build it with a missing drive and run degraded. Also (my opinion) it might not worth the overhead with only 4 drives, unless you plan to reshape (add drives) down the road. When you have an array with several drives, than it is more advantages as the percentage of disk space lost to parity goes down [((2/N)*100) where N is the number of drives in the array] so your storage efficiency increases ((Number of Drives -2)/Number of Drives). And with more drives the statistics of getting hit with a bit error after you lose a drive and you are trying to rebuild increases. Also, there is a very slight performance drop for write speeds on RAID6 since you are calculating p and q parity.
I would expect (and see) a fairly substantial drop in write performance. With RAID-5 only the parity needs to be read on a data change, and the old data chunk. Then several XORs are done and the new data and new parity written. With RAID-6, I believe that all the data in the stripe need be read for calculating the q parity.
But for what I use my system for, family digital photos, file storage and media server I mostly read data and not bothered with slight performance hit in write.
I have been using RAID6 with 10 disk for over a year and it has saved me at least once. As far as converting the RAID6 to RAID5 or RAID4... Never had a need to do this, but no probably not.
Agree, for many things the write performance is not an issue, while the reliability is. Backups are still desirable, of course.

--
bill davidsen <davidsen@xxxxxxx>
 CTO TMR Associates, Inc
 Doing interesting things with small computers since 1979

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux