Ubuntu – How to setup /home over software RAID under Ubuntu 10.10

raidUbuntu

I have 3 hds, one of 500G which I installed Ubuntu 10.10 on, and two of 1TB each which I'd like build a RAID 0 volume on. My question are:

1) What are the pros and cons of using my motherboard RAID or Linux Software RAID?

2) How do I safely mount /home on that RAID volume?

Best Answer

Linux software RAID is pretty good. If you have a high-end motherboard the hardware RAID me be faster, but the software RAID is going to be a lot more flexible, and you'll have all the tools for configuring it at your fingertips without having to boot into BIOS.

See the mdadm man page and the various documentation here.

How do I safely mount /home on that RAID volume?

I'm not sure what you're asking here...mounting a RAID device is just like mounting any other device; you put an entry in your /etc/fstab file and the system will mount it automatically when it boots. RAID devices are typically named /dev/md0, /dev/md1, and so forth, so your fstab might have an entry like this:

/dev/md0         /home            ext4    defaults              0       1