Home > ESX > Extend *.vmdk Size

Extend *.vmdk Size

Extend vmdk file is very easy. couple of things to watch out for is make sure there is no snapshot of that VM otherwise it might get corrupt. Also the disk has to be dynamic and do not recommend to do it on OS disk. Make sure the disk is dynamic. if not, you can convert it in Disk Management. Power down the VM Login to ESX as root cd to the volume where the vmdk is located. cd /vmfs/volumes/volume-name/vm-name/

Make sure you have the right vmdk in this directory

ls -al

You would need to specify the target size for vmdk file you are extending

vmkfstools -X 240G vmdk-name.vmdk

Power on the VM open the Diskpart from the command line

list volume

Next

select volume "volume number" with no quotes.

Next

extend

Look in to Disk Management to see your extended volume

I have used GParted Live CD to increase the size of my OS partition. Increase the size in VC first then boot the VM from GParted CD, Extend.

  1. No comments yet.
  1. No trackbacks yet.