I have done this before, but only once. Given this, I wanted to be sure of my setup before I started formatting system hard disks.
I have four SATA hard drives: 2(120) + 2(500) GB.
I want to use my two large SATA drives in a RAID 0 array for 1 TB of straight, concatenated storage space for non-mission-critical data, on a mount point /data
I want to use my two 120 GB drives in a RAID 1 array, onto which will be installed my operating system (Slackware 12), MySQL databases, and web site data (most of it, anyway). Very low traffic but need good availability, on /.
Unless there's a very good reason to partition my RAID 1 array disks into /srv, /local, /etc, etc
, I don't want to bother (but please mention it if there is a good reason).
1. Separate my SATA drives onto the two channels available on my system board (so that both RAID arrays are represented on each channel, saving overhead on the RAID 1 array writes).
2. Reboot to the Slackware install CD.
3. Format my drives accordingly (meaning, one large partition on each disk of type Linux Raid Autodetect, with the addition of a 4 GB Linux Swap partition on both 120 GB drives). The bootable flag will also be set on /dev/sda1 (but not /dev/sdc1, also, right?)
4. Create /etc/raidtab with (bold means I don't know what this is for, or if it should be changed from my guide
# System RAID array of 120 GB disks
#/data array of 500 GB disks
(N.B. the drives' /dev assignments are staggered because the drives are not on the same channel)
5. Then make the RAID arrays
6. Make ReiserFS filesystems
7. Install Slackware onto device /dev/md0
8. Choose to mount /dev/md1 as /data at boot time (I think it's an option in Setup).
9. Configure Lilo to mount /dev/md0 and install (in the MBR, superblock, where?)
Anything particularly wrong with this setup? I'm most worried about choosing where to install the lilo configuration (#9).