[CentOS] Upgrading drives in raid 1

Filipe Brandenburger filbranden at gmail.com
Thu Jul 2 17:02:50 UTC 2009


Hi,

On Thu, Jul 2, 2009 at 12:52, Bob Hoffman<bob at bobhoffman.com> wrote:
> # mdadm --grow /dev/md1 --size=max

If /dev/md1 is made out of /dev/sda2 and /dev/sdb2, it will not work,
as those partitions will still be the same size as they were before...

I think it would be easier to just create new partitions /dev/sda3 and
/dev/sdb3, then create a new RAID1 /dev/md2, pvcreate it, and then use
vgextend to add /dev/md2 to the same volume group that already
contains /dev/md1.

Does that make sense to you?

Cheers,
Filipe



More information about the CentOS mailing list