Calum wrote:so, RAID 5 trades storage space for intelligent redundancy. this is interesting actually, i will look some stuff up about this, thanks...
Yes, I actually prefer hardware RAID to software RAID and run at least 5 disks in a RAID5 set and a 6th disk as a hot spare. That way you can actually lose 2 disks and still keep running as if nothing had happend. If any one of the 5 disks in the RAID set fails the 6th disk automatically rebuilds as the on that failed and you can still lose 1 of the original 5 and keep on going. On the systems I have managed over the years this happened quite often. I can replace the failed disk and never have to bring the system down (the hardware has to support this of course).
You need a minimum of 3 disks in a RAID5 set but as I said, when using 3 disks you give up 1/3 of your total capacity for parity. If you use 5 disks then you only give up 1/5 of your capacity for parity, much smaller penalty. You can even go with more than 5 disks in a set. I have a couple of reasons for preferring hardware RAID to software RAID:
1) you move the processing required for calculating parity to the RAID controller with it's own CPU.
2) No configuration on the OS required, it just sees the RAID set as one big disk.
3) Usually easier to deal with when a disk fails.
Of course hardware RAID is usually much more expensive but is common on medium and high end servers.