I lost a disk on a server the other day, and as we’re rebuilding it, I decided to replace the disk with two disks to reduce the likelihood of losing data. Because of this, I’ve been doing some reading on Linux support for Software RAID.
It was a lot easier to set up than I had imagined. You just plug two hard drives into your box (on different interfaces), partition them both the same, tell Linux they’re a RAID 1, and that’s that. You can then access them like a single device, and Linux takes care of all the work of keeping them sync’ed up behind the scenes.
Interestingly, I’ve read a number of folks around the web are choosing to use software RAID instead of proprietary hardware solutions. The software will always be available, but if the proprietary company goes out of business or stops supporting the RAID device, and it breaks, you wind up with disks that you can’t access anymore.