Skip to content

Instantly share code, notes, and snippets.

@rynmrtn
Created June 26, 2009 20:30
Show Gist options
  • Save rynmrtn/136718 to your computer and use it in GitHub Desktop.
Save rynmrtn/136718 to your computer and use it in GitHub Desktop.
# How to resize a logical volume in linux
$ sudo lvm
lvm> lvresize -L +{size}G /vol/location
lvm> lvdisplay
# How to resize a physical volume in linux
$ sudo lvm
lvm> pvresize --setphysicalvolumesize {size}G /vol/location
lvm> pvdisplay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment