Skip to content

Instantly share code, notes, and snippets.

@myles
Created November 21, 2010 18:37
Show Gist options
  • Save myles/708992 to your computer and use it in GitHub Desktop.
Save myles/708992 to your computer and use it in GitHub Desktop.
$ umount /var
$ lvresize -L +5GB /dev/mapper/RoundTable00-Knight04 # this will resize the LVM 5GBs bigger
$ e2fsck -f /dev/mapper/RoundTable00-Knight04 # this check to make sure there isn't any issues with the partition
$ resize2fs /dev/mapper/RoundTable00-Knight04 7G # this will resize the mount point
$ mount /var
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment