LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-11-2007, 04:19 PM   #1
fw12
Member
 
Registered: Mar 2006
Distribution: Fedora core, Ubuntu
Posts: 175

Rep: Reputation: 31
Single drive to RAID howto


Hi,

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, 06: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.
 
  


Reply



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 05:14 PM
Sata Raid 1 and Single Sata drive drive order issue Kvetch Linux - Hardware 5 03-19-2007 06:50 PM
PCI/Chipset-based RAID: Does it appear as single drive? ryoken Linux - General 4 01-12-2006 12:19 AM
Migrating single drive to RAID / LVM? joadoor Linux - Hardware 3 10-14-2005 07:01 AM
howto extract only single file from rpm demmylls Linux - Software 1 03-14-2004 04:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:37 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