mdadm auto grow raid
- by johannes
I have a raid0/1 on lvm logical volumes.
I resized the logical volumes.
Now I want to resize the raid to use the complete logical volumes.
This can be done with
mdadm /dev/md? --grow -z newsize
But somehow I can't figure out how to calculate the newsize argument. Is there a way to tell mdadm to grow to the biggest possible size? If not, how do I…