CmdID

CmdID / Commands

lvresize

Change the size of a logical volume. tldr-pages

On Linux

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

Change the size of a logical volume to 120 GB

sudo lvresize --size 120G volume_group/logical_volumeIdentify

Extend the size of a logical volume as well as the underlying filesystem by 120 GB

sudo lvresize --size +120G --resizefs volume_group/logical_volumeIdentify

Extend the size of a logical volume to 100% of the free physical volume space

sudo lvresize --extents 100%FREE volume_group/logical_volumeIdentify

Reduce the size of a logical volume as well as the underlying filesystem by 120 GB

sudo lvresize --size -120G --resizefs volume_group/logical_volumeIdentify