Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
To expand VMDK and extend a partition:
Log into the VMware ESX/ESXi host as the root user. Verify that the virtual machine does not have any snapshots by going into the virtual machine's directory and looking for Delta files. Run the command:
#ls -lah /vmfs/volumes/datastore_na
-rw------- 1 root root 1.8G Oct 10 10:58 vm_name-000001-delta.vmdk
Note: For more information on logging into the ESX/ESXi, see the following:
For more information on VMware ESX Service Console, Unable to connect to an ESX host using Secure Shell (SSH) (1003807)
For more information on VMware ESXi Technical Support Mode, Tech Support Mode for Emergency Support (1003677)
For more information on VMware ESXi 4.1 and ESXi 5.0 Technical Support Mode, Using Tech Support Mode in ESXi 4.1 and ESXi 5.x (1017910)
If the virtual machine does have snapshots, commit them using these commands:
#vmware-cmd -l /vmfs/volumes/datastore_na
me/vm_name /vm_name.v mx
me/vm_name /vm_name.v mx removesnapshots removesnapshots() = 1
Join the community of 500,000 technology professionals and ask your questions.