Tech Support > Operating Systems > Linux / Variants > RAID-1 existing system
RAID-1 existing system
Posted by Joe MacDonald on January 13th, 2004


I have a production Linux (Debian stable, kernel 2.6.0) system running
with a single SCSI disk (2 partitions - a small /boot and the rest on
/). I'm going to add two more disks to this system, layout the
partitions better, and then mirror the disks using software RAID-1.
Next I want to copy (dd?) the existing disk to the RAID-1 mirror.
Once it's tested, I'll remove the original disk and boot off the
mirror.

I've never done this before and am looking for
guidance/advice/tips/howto's etc.
A link to a good, current HOWTO would be really nice.

If I dd an existing disk to the RAID-1 mirror with a new partition
layout, will this cause any problems? All disks in question are SCSI
36GB.

Thanks in advance.

joe

Posted by John-Paul Stewart on January 13th, 2004


Joe MacDonald wrote:
The hard disk upgrade HOWTO (at http://www.tldp.org/) is what you want.

Yes it will cause problems. You probably want to use 'cp -a', some
'tar' or 'cpio' incantation or just about anything other than 'dd'.
'dd' will make a bit-for-bit image of your existing disk, partition,
filesystem, or whatever else you use for the "if=" parameter.


Similar Posts