Sep '09 21

Grow (expand) a md raid drive (to LVM or not)

I’m thinking of changing my File system around again, going from simple LVM devices to a raid-0 drive with LVM on it, to get better throughput due to stripping. There are some good comments on this blog and some more info in the raid how-to on growing (mdadm –grow).

UPDATE: After considering if i should use native LVM with striping instead of raid-0, Stacy found this post that compares the 2, and raid-0 is still the way to go

NOTE: If you want to see what drive maps to what volume, use -m on pvdisplay, vgdisplay and lvdisplay, also you can use pvs -o +pe_start to see where the lv will start.