2009
Jun 
12

Resizing LVM Volumes in Linux

Filed under: Technical — admin @ 3:33 pm  

This is a reprint of a PDF I found online regarding resizing LVM volumes with ESX server for Linux distros. Credit belongs to the author, David Maphis who wrote this article on 4/29/2008:

In this example I will changed the size of my root partition without
affecting any data. Since this is a VM, I can extend my vmdk with the
“vmkfstools” command. To do this I will have to shutdown the VM to release the lock on the file then resize it. Power up when complete.
Once this is done, make a partition that uses the available space you wish to add to the LVM volume using “parted”. It has an interactive shell, so just enter “parted” in a shell:

(more…)