LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-12-2008, 06:14 PM   #1
alfista
LQ Newbie
 
Registered: Oct 2006
Posts: 24

Rep: Reputation: 15
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.
 
Old 03-12-2008, 06:18 PM   #2
alfista
LQ Newbie
 
Registered: Oct 2006
Posts: 24

Original Poster
Rep: Reputation: 15
Sorry for the (gasp) triplicate posts. The site keeps timing out on me and I'm not paying attention because I have a two year old throwing a temper tantrum on the floor right now. I don't see an option to delete them.
 
Old 03-13-2008, 05:17 AM   #3
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
Quote:
Originally Posted by alfista View Post
Sorry for the (gasp) triplicate posts. The site keeps timing out on me and I'm not paying attention because I have a two year old throwing a temper tantrum on the floor right now. I don't see an option to delete them.
The site is still experiencing some technical difficulties as a result of this.

You can go to the duplicates and click the Report button at the bottom of the page and ask a moderator to mark it for deletion.

Cheers
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Clone Single Drive To Raid 1+0 (copy /dev/sde to /dev/md0)? alfista Linux - Server 5 03-18-2008 11:57 PM
How To Clone Single Drive To Raid 1+0 (copy /dev/sde to /dev/md0)? alfista Linux - Server 2 03-17-2008 11:26 PM
iPod mounting: dmesg says sde, but no /dev/sde haertig Linux - Software 6 12-16-2006 08:56 PM
can not mount RAID 0 /dev/md0 dysenteryduke Linux - Software 3 09-15-2005 04:19 PM
RAID 1 ... everyime I reboot, /dev/md0 is broken... rrohde Red Hat 1 10-26-2004 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration