How to move a software RAID 1 to a new pair of larger drives?

1

I'm running CentOS 6 on a server that has two 80 GB internal drives, in a software RAID 1. I want to replace this two internal drives with 750 GB internal drives I have available.

How do I do this without rebuilding the system from scratch?

I am thinking of maybe booting up from DVD-ROM and just putting one of the larger drives in while leaving the old drive in there. Then, format the new drive and create partitions that match the smaller drive. Of course, the larger drive with different partition sizes cause there is more space to use) and rsync each partition over. Then repeat this process with putting in the second 750 GB drive and rsync it back from the other 750GB drive.

I'm concerned that I am overlooking something with this method.

Edward

Posted 2012-10-20T17:16:36.847

Reputation: 329

It would be nice if you clarify what SW raid solution is used and if your server is capable to connect two more drives simultaneously. – Serge – 2012-10-21T00:22:37.170

The server only has slots for two internal drives. An additional two drives via eSATA would be connected if needed. It's a software RAID 1 which is supported by CentOS. Please be specific if you need additional information. Thanks! – Edward – 2012-10-21T11:50:39.627

Yes, please. I got from the original post that you are running CentOS. I am more interested if you run the LVM on top of this raid. – Serge – 2012-10-21T12:44:38.210

Not running LVM. – Edward – 2012-10-21T12:49:39.087

then perhaps the method you described is the optimal one. If you were using LVM you would create the new array from it, then create a PhysicalVolume on that new array, add it to the existing Volume Group and migrate all Physical Extent's off the old array. Then remove the old array PV's from VG. So, nearly zero downtime. Unfortunately this is not an option in your case. – Serge – 2012-10-21T13:04:40.260

No answers