Converting to Raid1
On Tue, Nov 30, 2010 at 12:17 PM, John Kennedy <firstname.lastname@example.org> wrote:
> On Tue, Nov 30, 2010 at 11:59, Matt <email@example.com> wrote:
>> Have a CentOS 4.x 32 bit server running on a single 500M SATA drive.
>> What is easiest way to convert too RAID 1 on it? *Anyone have a link?
>> Would be open to hardware or software just do not want to reinstall
>> the entire mess.
> Why would you mirror a single disk? You need to get another 500Gb hard drive
> to mirror with.
> Once you get the second drive, you need to make sure LVM is installed.
Not really. You can choose not to use LVM.
> I think you then need to add your partitions as physical drives and partition
> the new drive to match your existing one.
I don't understand the above. Basically both disks have to be
partitioned in the same way and, assuming that sda is the current disk
and sdb is the new disk, you can do so with "sfdisk -d /dev/sda |
CentOS mailing list