Resize a VM Virtual Harddrive from ESX Host Console


ssh into the esx server

as root, run the following in the /vmfs/datastore storage folder:

vmkfstools -X 50g TempXP/TempXP.vmdk

where 50g is the new size and the Temp… is the filename of the virtual disk.


Now run gparted or something to resize that partition to fit the new disk size.



Add a Comment

Your email address will not be published.