[CentOS] raid 1 disks upgrade

Coert Waagmeester

lgroups at waagmeester.co.za
Mon Jul 13 10:13:26 UTC 2009


Hello all,

I have a machine with 2 SATA 250GB disks which I want to upgrade to 1TB
SATAs

This is the partition structure on both disks:

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          25      200781   fd  Linux raid
autodetect
/dev/sda2              26        1971    15631245   fd  Linux raid
autodetect
/dev/sda3            1972       30401   228363975   fd  Linux raid
autodetect

there are 3x RAID1 arrays. 
First is for /boot
Second if for swap
Third is for LVM (contains / and other filesystems)

What is the easiest way to get this upgraded?

I thought that I could maybe dd all the LVM volumes and /boot into
files, setup the new RAID1 arrays on the 1TB disks, and dd everything
back? or is there an easier way?

Regards,
Coert 




More information about the CentOS mailing list