How to increase disk space in VMware: 15 steps (with pictures)

Table of contents:

How to increase disk space in VMware: 15 steps (with pictures)
How to increase disk space in VMware: 15 steps (with pictures)
Anonim

Have you ever encountered disk space problems on your wonderful VMs (for Virtual Machines or "virtual machines") when you tried to install an ultra important program? Here are some simple steps that will help you troubleshoot your VMs disk space issues on the VMware workspace. This article assumes that the reader is familiar with virtualization and has practical experience with VMware products such as the Workstation.

Steps

Increase Disk Space in VMware Step 1

Step 1. Make sure the following prerequisites are validated

Increase Disk Space in VMware Step 2

Step 2. The virtual machine is powered off

Increase Disk Space in VMware Step 3

Step 3. The virtual disk is not partitioned (on Windows clients) or mounted (on Linux clients)

You cannot expand a virtual disk if it is partitioned or mounted.

Increase Disk Space in VMware Step 4

Step 4. The virtual machine has no snapshots (save points)

Increase Disk Space in VMware Step 5

Step 5. The virtual machine is not a linked clone or the parent of a linked clone

Increase Disk Space in VMware Step 6

Step 6. Determine if the virtual machine has snapshots

If this is a linked clone or if it is the parent of a linked clone, check the virtual machine information at the top of the Summary tab.

Increase Disk Space in VMware Step 7

Step 7. Select VM> Settings

Increase Disk Space in VMware Step 8

Step 8. In the Hardware tab, select Hard Disk to expand the virtual hard disk

Increase Disk Space in VMware Step 9

Step 9. Select Utilities> Expand

Step 10. Set the new maximum size for the virtual disk

Step 11. Select Expand

Step 12. Click OK after the disk expansion process is complete

Step 13. Download the Gparted iso (iso is a disk image format)

Gparted is a free disk management tool. You can use any tool at your disposal.

Increase Disk Space in VMware Step 10

Step 14. Mount the iso on the VM that was just enlarged and power on the VM

Make sure the VM is booting from the Gparted iso.

Gparted provides a nice graphical interface for doing disk partition operations. The added space will appear as unpartitioned space. Adjust the existing volume to take up additional space. Apply the changes and restart

Increase Disk Space in VMware Step 11

Step 15. After restarting, the disk will appear to be of the newly set size

Advice

  • Different method to increase the disk space of any VM
  • Follow the default steps in the converter. Select the VM and specify a new size for the disk. It works as well as creating a clone of the existing VM with different configurations.
  • Once the above command is executed, you need to repeat the same steps with Gparted to use the additional space.
  • Another method is to increase the disk space of any VM by using VMware Converter. The VMware Converter is a free download and is used to convert physical machines to virtual machines (P2V) and also from any type of virtual machine to another type (MS VPC VM to a VMW VM workstation).
  • From the command prompt on the client:

    • C: \ Program files \ VMware \ VMware Workstation> vmware-vdiskmanager.exe -x
    • for example: vmware-vdiskmanager.exe -x 36GB "C: \ mavm \ myDisk.vmdk"
  • In command line

    You can also increase the size of the disk using the following command line. But the same prerequisites apply

Warnings

  • Increasing the disk space of a VM having snapshots and clone disks can be dangerous and result in corruption of VMs. So it is better to do a delete all snapshots operation to combine all the changes before trying to change the disk size. It is often advisable to make a full backup of the VM before making any changes.

Popular by topic