Create LVM partition that consists of the maximum free space

Assume you we have a physicial volume called vg0 and we want to add an additional LVM volume that consists of the total available space.

Run this command:

lvcreate -n backup -l 100%FREE vg0
Share on facebook
Share on twitter
Share on linkedin
Share on whatsapp