Increasing Linux RAID 1 array HDD Sizes

Here is a procedure I developed to upgrade the disks in a Linux RAID 1 (mirror) array, and hence increase the size of the RAID volume.

Fail the partition on one of the old array disks:

Remove partition on old disk from array

Confirm removal

Power down server, replace drive, restart server.

Partition new drive to full capacity, set patition type to FD00 ‘Linux RAID’

Add new partition to array

Confirm syncing underway

Once syncing complete

Repeat for /dev/sdb1 and /dev/sdb

When second drive syncing complete . . .

Unmount RAID file system

Check RAID file system

Grow array

Resize file system

Check RAID file system

Remount RAID file system

Done!

Leave a Reply