Lvextend

From LQWiki
Jump to navigation Jump to search

lvextend is the command to use when extending an existing LVM partition.

Example

To grow an existing partition with 5GB assuming that enough extents are available on the volume group

 lvextend -L +5G /dev/raid/data
 resize2fs /dev/raid/data

The latter command is necessary to accommodate the filesystem to the extended space


External links