Linux

lvextend

CautionExtend logical volumes

lvextend -L +10G -r <lv>

Grows an LV online; -r resizes the filesystem in the same step — the modern one-liner.

Examples

  • lvextend -l +100%FREE -r /dev/vg0/dataUse all free space

Syntax

lvextend -L +size [-r] <lv path>

Before you run it

lvreduce is a different, riskier beast.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store