Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-11-2007, 05:19 PM   #1
Registered: Mar 2006
Distribution: Fedora core, Ubuntu
Posts: 168

Rep: Reputation: 30
Single drive to RAID howto


I have a single drive that I've configured exactly the way I want it. Whenever I need to build a new machine, I simply clone the single drive onto another drive. I use DD for the cloning.

Now I need to have some redundancy, so I just built a RAID1 system.

My question is: is there a way to take the info on the single drive, and migrate it over to my RAID1 array?

I thought about just tarring up the root directory (/) on the single drive, and then untarring it on the array, using a live CD. Would this work if I exclude /boot partition, and /etc/fstab and /etc/mtab?

Advice on a better way of doing this would be appreciated.
Old 10-11-2007, 07:08 PM   #2
Simon Bridge
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Try it and see. It won't destroy anything and you've thought it through.

lessee... the kernel needs to be able to handle RAID... you need to setup mtab and fstab properly. All the mountpoints have to be consistent. Carefully done, I see no reason a-priori that it shouldn't work. Try it - worst case is that you have to install, then copy over your saved files.

Let us know how it goes.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
will not boot X/GDM with RAID, but will with single drive Astol Linux - Hardware 1 09-20-2007 06:14 PM
Sata Raid 1 and Single Sata drive drive order issue Kvetch Linux - Hardware 5 03-19-2007 07:50 PM
PCI/Chipset-based RAID: Does it appear as single drive? ryoken Linux - General 4 01-12-2006 01:19 AM
Migrating single drive to RAID / LVM? joadoor Linux - Hardware 3 10-14-2005 08:01 AM
howto extract only single file from rpm demmylls Linux - Software 1 03-14-2004 05:51 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:10 PM.

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