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 taraget 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

select volume “volume number” with no quotes

extend

you may look in to Disk management to see your extended volume

  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.