LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 06-06-2007, 12:45 PM   #1
xqkp77
LQ Newbie
 
Registered: Apr 2007
Posts: 9

Rep: Reputation: 0
Question migrating existing OS to RAID


Hi experts,

Now, I am practicing the Software RAID on the Linux OS. I have serval confusions about the how to migrate an existing OS(or the boot partition or other partitions) to an Array.

My testing ENV as follows:

Linux installed on VMware, kernel 2.6.9-5(RedHat AS4)
Using the default RAID tool --- mdadm as Software RAID
There are two SCSI disks with same size (since the VMware using the SCSI as the OS disks)


First question:
If I want to make the scsi and raid1 module builtin the kernel without downloading the kernel source code, should I use the following command to use the current kernel:
mkinitrd --builtin=scsi_mod,raid1 /boot/xxxxx.img 2.6.9-5.EL
and then only modify the initrd field of grub.conf file with the new image file name?

Second question:
Regrading the device sda, it has already been formated as ext3 filesystem and installed OS file on it. if I change the partition type via "fdisk", can this operation destroy the whole data files?

Third question:
are there some detail sepcifications to demostrate my scenarios? who can help me to give some links about them which I can follow to study the RAID system?

Thanks for everyone giving great feedback.
 
Old 06-06-2007, 10:19 PM   #2
xqkp77
LQ Newbie
 
Registered: Apr 2007
Posts: 9

Original Poster
Rep: Reputation: 0
Is there anyone giving a helpful replay?
 
Old 06-07-2007, 09:49 AM   #3
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian 4.0 Etch
Posts: 1,349

Rep: Reputation: 49
My advice may or may not be helpful...

IMHO, it's simply not a good idea to put an OS partition in a software RAID. Unlike a hardware RAID, a software RAID will not give you the functionality of simply replacing a hard drive and "it works". It will complicate recovery efforts, if anything.

If you want to experiment with software RAID, I think it's more realistic to assume a scenario where the OS is in a normal partition while data is kept in RAID partitions.

My prefered method is to set up backup OS partitions on all of the hard drives. When I make major changes to the "live" OS partition, I copy the live OS partition to the backups. I have GRUB set up on each drive. Thus, in case of failure I can swap to a backup drive.

My method doesn't provide continuous uptime, so it's not suitable for a mission critical server that needs constant operation. IMHO, software RAID isn't the solution for those mission critical servers. If you need 100% uptime, you need hardware RAID and/or redundant clustering.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Migrating to a RAID 1 setup Danathar Linux - Software 3 06-04-2006 01:57 AM
Migrating an existing linux install to new disks/hardware quiffhanger Linux - Software 4 02-24-2006 01:40 PM
migrating windows raid to linux sigmaes Linux - Hardware 1 11-05-2005 03:45 PM
Migrating single drive to RAID / LVM? joadoor Linux - Hardware 3 10-14-2005 07:01 AM
Migrating to Software RAID waster Linux - General 3 04-29-2004 09:30 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration