LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How To Clone Single Drive To Raid 1+0 (copy /dev/sde to /dev/md0)? (https://www.linuxquestions.org/questions/linux-server-73/how-to-clone-single-drive-to-raid-1-0-copy-dev-sde-to-dev-md0-627600/)

alfista 03-12-2008 05:14 PM

How To Clone Single Drive To Raid 1+0 (copy /dev/sde to /dev/md0)?
 
Hi All,

I'm looking for tips on how to do a CentOS server installation onto a hard drive, and then clone that drive to a RAID 1+0 array. I am fairly new at linux, but I think this would be the process:

install onto 2g usb drive (sde, boot and root)
boot into the OS and create the array using mdadm (sda, b, c, d)
Partition the array as desired, including / and swap
Use rsync to clone the / partition onto the array (/boot will stay on sde)
- I need to research the appropriate commands

Modify fstab and menu.lst
- are there any other places I need to modify?

Is this possible?

Thanks!

J

P.S. I could not find a way to set up the RAID first, or during installation, which would make this easier. Maybe I'm searching for the wrong keywords.

Quigi 03-13-2008 10:26 AM

Please only post to one forum. Cross-posting wastes everyone's time

jtshaw 03-17-2008 10:26 PM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Continue this here.


All times are GMT -5. The time now is 11:22 AM.