CmdID

CmdID / Commands

lvcreate

Create a logical volume in an existing volume group. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Create a logical volume in an existing volume group. A volume group is a collection of logical and physical volumes.

Create a logical volume of 10 gigabytes in the volume group vg1

sudo lvcreate --size 10G vg1Identify

Create a 1500 megabyte linear logical volume named mylv in the volume group vg1

sudo lvcreate --size 1500 --name mylv vg1Identify

Create a logical volume called mylv that uses 60% of the total space in volume group vg1

sudo lvcreate --extents 60%VG --name mylv vg1Identify

Create a logical volume called mylv that uses all the unallocated space in the volume group vg1

sudo lvcreate --extents 100%FREE --name mylv vg1Identify