Redhat LVM changing stripes?
Solution 1:
Actually, you would do the following:
1) Unmount the file system that mounts the volume.
2) Use pvcreate to initialize the device to be added to the volume group.
3) Use vgextend to add that device into the volume group.
4) then you would use lvresize to increase logical volume if necess
5) Then you would run e2fsck -f on the file system, as you cannot resize it without running that command.
6) Then you would execute resize2fs command on the file system.
7) Finally, you will remount the file system.
So partly from memory, assuming that /dev/sda/b/c are the drives under volume group vg with a lvm group lv and d is your new drive and that is mounted under /mnt/l:
umount /mnt/l
pvcreate /dev/sdd
vgextend vg /dev/sdd
lvresize -L +5000 lv
e2fsck -dev /dev/vg/lv
resize2fs /dev/vg/lv
mount /dev/vg/lv /mnt/l
On every be sure to run pvdisplay (to very that the physical volumes are added), vgdisplay (to verify that the volume group has been extended) and lvdisplay (to verify that logical volumes have been extended).