Resizing a VMware vmdk image

If you have to enlarge a VMware server vmdk- file, do the following if your VMware server runs on windows:

  1. Make sure, the VM is not running
  2. Remove or commit any snapshots of the VM
  3. Open a command prompt and cd to this path:
    C:\Program Files\VMWare\VMWare Server
  4. Run this command:
    vmware- vdiskmanager -x XGB “PATHTOIMAGE.vmdk”
    (replace XGB with the new size e.g. 30GB and PATHTOIMAGE with the path to the vmdk- file)
  5. Power up your VM and adjust the partition sizes
    (for example with the open source tool GParted)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.