Expand a virtual hard disk

You can expand a virtual hard disk to get more storage space. After you expand a virtual disk, you need to use a disk management software to increase the size of the existing partition on the virtual hard disk to match the expanded size. The software you will use depends on the type of the guest operating system installed in the virtual machine. For Windows guests, you can use a built-in utility called Disk Management. For Linux guests, use tools such as fdisk or parted.

Prerequisites

  • the virtual disk must not be mapped or mounted.
  • the virtual machine should not have snapshots.
  • the virtual machine should not be a linked clone or the parent of a linked clone.

Here is how you can expand a virtual hard disk:

1. Power off the virtual machine.

2. Select the virtual machine from the library and go to Player > Manage > Virtual Machine Settings:

vm settings disk

3. Select the virtual hard disk to expand and click Expand:

vm expand virtual hard disk

4. Set the new maximum size for the virtual hard disk. A size can be between 0.001GB and 2TB:

expand virtual hard disk

5. Click OK after the process is completed:

expand virtual hard disk finished

Next, you will need to use a disk management utility in the guest operating system to increase the disk partition size to match the expanded virtual disk size.

Geek University 2022