lvcreate -l 100%FREE -n lvbackup vgdata

Category: Administration

lvcreate -l 100%FREE -n lvbackup vgdata

Create a logical volume using all free space

Creates a logical volume named lvbackup in group vgdata, consuming every remaining free extent. A logical volume is the LVM equivalent of a partition, usable directly or as a filesystem target. The -l flag counts extents, while -L takes a size such as 10G.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.