JAEN

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 on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store