[mythtv-users] Linux software raid question

John Drescher drescherjm at gmail.com
Fri Jun 6 19:36:42 UTC 2008

> I can find examples of adding disks in grow mode, but not any examples
> of how to change the size of the entire array.
> Something like: mdadm --grow /dev/md0 --size=<size of the sum of the
> bigger partitions in some strange units...>

You do not need to use that. The grow figures out the size by the size
of the partition or drive. Generally you will add a disk. Copy the
partition table from the smaller disk. Then run fdisk and make the
last partition the rest of the space on the drive. You can do that
before or after adding the drive to mdadm. If you do it after be
careful to make the start of the array at the same spot...


More information about the mythtv-users mailing list