Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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.





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org