Converting a non-RAID server to software RAID-1?

John Abreau jabr at gapps.blu.org
Wed May 9 19:34:59 EDT 2007


I have a server with a single 80gb SATA disk in it, and a
second drive bay that's currently empty. I'd like to convert
it to RAID-1 and expand the disk size. The current 80gb
drive is configured with lvm1; the OS is RHEL 3.8.

Is it possible to do this cleanly without reinstalling the
whole system?

I'm thinking something like the following might work:

* Set up the new disk as a set of failed RAID-1 volumes
* dd the partitions from the old disk to the corresponding
  failed RAID-1 partitions on the new disk
* Remove the old disk and reboot, to test that the system
  can boot and run with just the new disk
* Add a second new disk and "rebuild" the failed RAID-1
  volumes

Does this make sense?  Has anyone else done this
successfully?


-- 
John Abreau / Executive Director, Boston Linux & Unix
AIM abreauj / JABBER jabr at jabber.blu.org / YAHOO abreauj / SKYPE zusa_it_mgr
Email jabr at blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Discuss mailing list