Here's my current hardware: AMD Athlon 64 X2 4 GB RAM 120 GB IDE 3 x 750 SATA
What I'd like to do (please don't ask why) is install Ubuntu 9.10 on the 120 GB IDE, then set up a RAID 10 array with the remaining drives. Stop right there! Yes, I know I'd need four drives for that. So, I want to know if I can either set up two drives as RAID 0 or RAID 1, then later add a fourth drive and without data loss, migrate over to RAID 10. Or set it up as RAID 10 initially with a "failed" (missing) fourth drive, then add the drive later and "repair" the RAID 10 array.
Any hope?
Kevin
Kevin McGregor wrote:
Here's my current hardware: AMD Athlon 64 X2 4 GB RAM 120 GB IDE 3 x 750 SATA
What I'd like to do (please don't ask why) is install Ubuntu 9.10 on the 120 GB IDE, then set up a RAID 10 array with the remaining drives. Stop right there! Yes, I know I'd need four drives for that. So, I want to know if I can either set up two drives as RAID 0 or RAID 1, then later add a fourth drive and without data loss, migrate over to RAID 10. Or set it up as RAID 10 initially with a "failed" (missing) fourth drive, then add the drive later and "repair" the RAID 10 array.
Any hope?
Kevin
I don't think what your looking to do is possible..I would just go with raid 5 on the 3 750gb drives..
Robert
Yes, if you use mdadm at the command-line to create the array. Assume the existence of four drives, plan your RAID layout accordingly, then when comes time to run the mdadm --create command, substitute the keyword "missing" for "/dev/sdX". If you're using LVM or device-mapper, then this method won't work. You can even build a RAID-5 array on two drives this way (but it's as slow as running in degraded mode - because it *is* in degraded mode).
In your place, if the SATA ports in the system are bootable, I would sacrifice 100Mb from each of the 750Gb drives as a "/boot" partition - RAID-1 x 4, then set up the rest of the drives as the root FS. You'll see a *dramatic* speed gain over the single 120Gb IDE drive that way.
-Adam
-----Original Message----- From: Kevin McGregor kevin.a.mcgregor@gmail.com Date: Mon, 8 Feb 2010 17:50:39 To: MUUG Roundtableroundtable@muug.mb.ca Subject: [RndTbl] RAID on Ubuntu
_______________________________________________ Roundtable mailing list Roundtable@muug.mb.ca http://www.muug.mb.ca/mailman/listinfo/roundtable