I'm testing LVM configurations for the purpose of building a home NAS with Ubuntu Server 16.04 LTS.
I first added three 20GB disks to my machine (sdb, sdc, sdd), created three physical volumes grouped in one volume group and finally created a RAID5 logical volume that spans across the three physical volumes. I used the following commands:
sudo pvcreate /dev/sdb /dev/sdc /dev/sdd sudo vgcreate data /dev/sdb /dev/sdc /dev/sdd sudo lvcreate --type raid5 --stripes 2 --size 15G --name test1 data
Then I added a fourth 20GB disk (sde), created a physical volume on it and added it to the
data volume group:
sudo pvcreate /dev/sde sudo vgextend data /dev/sde
How do I force the existing
test1 logical volume to span across the four physical volumes and not only the first three?