Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-01-2008, 01:41 PM   #1
Registered: Oct 2006
Distribution: usually use arch
Posts: 103

Rep: Reputation: 15
please help converting a running system to mirrored raid array

my current home file server has only 2 SATA ports on its motherboard. one is in use by my boot drive and one is in use by a data storage drive. I also have 2 IDE drives storing data that are only vaguely relevant.

I have ordered 2 new SATA drives that are each individually large enough to hold all of my data with plenty of room to grow. what I intend to try to do is... pull out my boot drive and replace it with one of the new drives, reinstall my OS(Arch Linux) onto the new drive, copy the data from each of my old drives into the new partition structure on the new SATA drive, remove all of the remaining old drives, add the second new SATA drive, then use mdadm to set up a software mirrored raid array.

I have been reading about how to do this for a while now and I learned that I need to change my fstab to point to the new raid devices instead of the old drive, and that I should add a second entry to my menu.lst for the second physical drive so that I can choose to boot to either one in a failure. but nowhere do I see an explanation that I understand of how to actually get the raid array set up and all of the data properly mirrored.

I am asking for a step by step walk through of the process from the moment I boot with both new drives in for the first time to the moment everything is properly mirrored and its time to point fstab and grub at the new raid devices instead of the first of the new drives to be installed. also give me tips if there are other files that need changed to reflect the raid array and not the old drive that I haven't thought of yet.
Old 02-01-2008, 05:18 PM   #2
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
Does either one of these help.



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
Converting a non-RAID system to use RAID. Jrowat Ubuntu 3 06-08-2007 03:57 PM
Converting Image to Byte Array (Java) megabot Programming 2 03-17-2007 09:49 AM
LVM + RAID-1 on FC5 running system randolpholiveira Linux - Server 0 10-12-2006 08:17 AM
Setting up a system with a Raid 1 Array getza1 Linux - Hardware 4 11-13-2005 05:16 PM
How do Install to system with 3 disks, 2 of which are RAID array ? Raptor Ramjet Slackware 1 09-28-2003 09:07 AM > Forums > Linux Forums > Linux - Server

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

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