On Tue, Jan 3, 2012 at 10:49 AM, Will Dennis <[email protected]> wrote:
> I am in need of some guidance on setting up Linux software RAID-1 on a > Dell server which came with an S300 “software RAID” controller (i.e. a > Windows-only RAID controller.)**** > > ** ** > > Trying to install 64-bit Debian 6.0.3 on it, and want to set up software > RAID-1 using the two 160GB HDD’s that the Debian installer sees. I had > tried to do a single primary partition on both HDD’s and mark it for “RAID > use”, but after I did this and made an “md0” device using both drives’ > partitions, and partitioned the md0 dev into swap and “/” partitions, > the installer told me it could not mount the swap partition. So, I guess > that I need “real” partitions for swap?? How about “/boot”? Linux admin is > not my primary thing, so any assistance in setting up Linux soft RAID-1 you > all could give me would be most appreciated… > First make sure your BIOS RAID is disabled, there should be a way to present the drives as native SATA disks. You don't need /boot if you are using md RAID 1 without LVM. If you are using LVM or another RAID level you need /boot as a separate partition/mount point. Don't create a single large partition that you RAID. Instead create multiple real partition RAIDed into multiple md devices. Non-LVM example with 2 disks (sda and sdb): Partition each drive into two partitions, for root and swap. sda1 = large partition for root sda2 = small partition for swap sdb1 = large partition for root sdb2 = small partition for swap Now create the two RAID devices, md0 and md1. md0 = sba1 + sdb1 for / (root) md1 = sda2 = sdb2 for swap With LVM: sda1 = small partition for /boot sda2 = large partition for LVM sdb1 = small partition for /boot sdb2 = large partition for LVM md0 = sda1 + sdb1 for /boot md1 = sda2 + sdb2 for LVM Divide the LVM into / (root) and swap, and whatever else you want. -Anton
_______________________________________________ Tech mailing list [email protected] https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech This list provided by the League of Professional System Administrators http://lopsa.org/
