Hi all I'm looking at setting up software RAID 10, using CentOS 5.1 x64 - what is the best way todo this? I'm reading some sources on the internet, and get a lot of different "suggestions" 1 suggestion says to boot up with a Live CD like Knoppix or SystemRescueCD, setup the RAID 10 partitions, and then install Linux from there. 2. Another is to setup a small RAID 1 on the first 2 HDD's, install Linux, bootup, and then setup the rest as RAID 10 The others didn't really make sense to me, so how do I actually do this? And then, how do I setup the partitioning? Do I setup /boot on a separate RAID "partition"? If so, what happens if I want to replace the 1st 2 HDD's with bigger ones? -- Kind Regards Rudi Ahlers CEO, SoftDux Web: http://www.SoftDux.com Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stuff
Rudi Ahlers wrote:> Hi all > > I'm looking at setting up software RAID 10, using CentOS 5.1 x64 - what > is the best way todo this? > > I'm reading some sources on the internet, and get a lot of different > "suggestions" > > 1 suggestion says to boot up with a Live CD like Knoppix or > SystemRescueCD, setup the RAID 10 partitions, and then install Linux > from there. > 2. Another is to setup a small RAID 1 on the first 2 HDD's, install > Linux, bootup, and then setup the rest as RAID 10 > > The others didn't really make sense to me, so how do I > actually do this? > > And then, how do I setup the partitioning? Do I setup /boot on a > separate RAID "partition"? If so, what happens if I want to > replace the 1st 2 HDD's with bigger ones?What's the hardware setup? -Ross ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
Rudi Ahlers wrote:> And then, how do I setup the partitioning? Do I setup /boot on a > separate RAID "partition"? If so, what happens if I want to replace > the 1st 2 HDD's with bigger ones?each partition is raided seperately with mdadm.... you could make the whole thing one LVM partition thats raid10, then use LVM to dice it up into file systems. if you have 4 drives and are doing software raid10, you won't be swapping drives with different sizes without a WHOLE lotta pain. /boot shouldn't be mirrored, as the BIOS won't know how to boot it. leave /dev/sdb1 the same size as /dev/sda1 and call it /boot2 and try to remember to copy /boot to /boot2 each time you update the kernel.