How do you add more space to a Fedora (LVM) partition?

Posted by Trevor Boyd Smith on Super User See other posts from Super User or by Trevor Boyd Smith
Published on 2011-09-13T13:33:54Z Indexed on 2012/06/10 4:43 UTC
Read the original article Hit count: 306

In a nutshell, i have a VM that ran out of space. I increased the size of the VM's harddrive to be 4 times bigger but the OS partition is still only using 1x the space. I need to change the LVM partition to take up the extra 4x space but I don't know how to extend the LVM partition.

(NOTE: To make the screenshots given below I had to boot from a live-cd for gnome-partition-manager (aka gparted). Very unfortunately gparted is only able to "detect LVM" and can't do any LVM operations.)

Here is what "gparted" shows. Please notice that the "resize" option is not available:

enter image description here


The Problem:

I can't find good directions<1> on how to grow the LVM partition via GUI or command-line! How do you grow a LVM partition that was created by the default Fedora install?

If you are giving command line directions. Please explain what each line of commands does.

© Super User or respective owner

Related posts about virtualbox

Related posts about partitioning