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: I triedTo make the "golden bullet" that is "gparted" GUI partitionscreenshots given below I had to boot from a live-cd toolfor 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:
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.
(
Bonus questions:
<1> I have found some directions... but usually the directions are incomplete or give many commands to execute without ANY explanation!! I can't really execute a command if I don't know what it will do.
<2> Most guides say you need to have the LVM partition unmounted. To unmount should I: boot into fedora and do a unmount OR boot into a live CD and operate there?
<2.1> what live-cd has the necessary LVM tools to let me resize the LVM?
<3> Some guides says use "resize2fs" but also says that doing so "is rather dangerous". Is resize2fs still "dangerous"?
<4> There is talk about "extend the logical parititon... then the ext2 partition... why is there two extensions?
<5> gparted shows only shows "LVM" partition. how do you find out what is inside the LVM partition (ext2, or something like that)?
)