LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-08-2007, 02:34 PM   #1
Andrew_OC
LQ Newbie
 
Registered: Nov 2006
Posts: 26

Rep: Reputation: 15
Moving transfering Installed OS Disk to RAID1 set


Hi,

No, don't panic I'm not trying to convert an installed setup to RAID1 by adding one disk. I want to copy the existing setup to a new 2disk RAID1 setup and make that bootable.

I have a system with the following

1 x SATA 80GB disk with Centos 4.4 OS on it
2 x Blank 80GB SATA DISKS
2 x PATA 160GB RAID1 DATA disks (mounted as /home/raid)

Based on another install I've done recently I would think the general idea would be to install 3 RAID1 partitions on the blank SATA disks (for boot / and swap) and then copy the existing EL4 OS onto them and make it bootable.

Can anyone suggest a howto or outline what the best way to go about this would be ?
 
Old 04-08-2007, 02:45 PM   #2
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
I use system rescue cd to keep backups of all the linux systems on a hard drive.

I use use system rescue cd to create backups of my linux systems. I can burn the backups to cd or install them across the network on other drives and systems and it works great for moving systems from one drive to the next.

Here is a link with a few options if you are wanting software:

http://freshmeat.net/search/?q=backu...&Go.x=0&Go.y=0
 
Old 04-09-2007, 10:16 AM   #3
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
"No, don't panic I'm not trying to convert an installed setup to RAID1 by adding one disk. I want to copy the existing setup to a new 2disk RAID1 setup and make that bootable."

Aw, shucks, brain surgery on a live patient is fun!

There are two ways to do what you want:
  • partition both blank drives with an identical pattern of partitions to hold each directory to mount as RAID arrays
  • create a single raid array of the two whole disks and use LVM, Logical Volume Management

For a few partitions either is about the same work. If you want the ultimate in flexibility, use LVM. see Sec 11 of Software RAID HOWTO and LVM-HOWTO

LVM makes tinkering with disc allocation much easier as your system evolves. You should never need to re-install.

For a newbie, on a small system, the first choice is good, but you look like you may be going away from "small". Some distros were not able to boot LVM but it has been around a while so it may work for you. LVM may cost a little performance, perhaps similar to software RAID, but it is usually unimportant.

Many installers have pretty good setups for RAID/LVM so you may find it is easier to backup/reinstall instead of reading lots of HOWTOS.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving transfering Installed OS Disk to RAID1 set Andrew_OC Red Hat 2 04-09-2007 10:31 AM
add a new disk to raid1 array retrev Linux - General 1 04-08-2007 01:57 AM
raid1 disk status dindome Linux - Enterprise 2 02-24-2007 01:35 PM
Transfering installed packages on one sys to another MrInept Debian 10 09-17-2006 04:24 AM
Upgrading linux computer, transfering HDD w/installed RH9 eddacker Linux - Hardware 1 02-20-2004 04:13 AM

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

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