VMware is a cloud based operating system that allows you to run multiple virtual machines from a single physical computer. Thus, VMware acts as the interface between your hardware and your various operating systems. If you are running out of disk space on your virtual machine, you will receive a notification every time you turn on your computer and you may even notice a decrease in your computer's speed and efficiency. To increase the size of your disk space, you can simply adjust the settings of your disk and allocate newly created space to that disk. Before using one of these methods, make sure that all snapshots have been removed and that the virtual machine is powered off.
Steps
-
Make sure some prerequisites are met. In order to increase the disk size in VMware, you must make sure that your virtual machine is powered off and that it has no snapshots. To determine whether it has snapshots, check "Information" under the "Summary" tab for the virtual machine.
-
Go to "Settings." Do this within VMware.Advertisement
-
Select the Hard Disk you wish to expand. You will find this under the column entitled "Hardware."
-
Expand your disk. On the right-hand side of the window under "Disk Provisioning," set the new "Provisioned Size" of your disk. Some layouts will instead have a drop down menu entitled "Utilities." From here select "Expand." Generally, the disk will be anywhere from 30 to 40GB at this stage, so try resizing it to 45 to 55GB at first. [1] X Research source
-
Click "OK." This will set the new maximum size for the virtual disk.
-
Rescan your disk. While you have expanded the size of your disk, there are a few more steps you must take within the operating system. To rescan your disk, go to "Disk Management" and select "Rescan Disks."
-
Resize the OS drive. Now that you have expanded and rescanned your disk, you will see the "Unallocated Space" that we have just created. We must now assign this space to your operating system's drive. To do this, right-click on the unallocated space and select "Expand Volume." This will prompt a simple wizard that will allow you to determine what to do with this newly created space. Assign it to your virtual disk.
Expanding your Disk in Workstation, Player, ACE Manager, Server, or GSX
-
Open the command Prompt. If you are using the VMware Workstation, Player, ACE Manager, Server, or GSX products, then follow this method. You can do this by going to "Start" and enter "cmd" without the quotation marks into the search bar. Select "Run."
-
Go to the product's installation directory.
- For Workstation enter:
\Program Files\VMware\VMware Workstation
in Windows or:/usr/sbin
for Linux. - For Player and ACE Manager use:
\Program Files\VMware\VMware Player
for Windows or/usr/sbin
for Linux. - For Server use:
\Program Files\VMware\VMware Server
for Windows or/usr/bin
for Linux. - For GSX use:
\Program Files\VMware\VMware GSX Server
for Windows or/usr/bin
for Linux.
- For Workstation enter:
-
Enter the following code:
vmware-vdiskmanager –x 100Gb vm.vmdk
and press “Enter.” This will resize your current disk. [2] X Research source- Replace "vm.vmdk" with the full path to the virtual machine’s virtual disk and 100GB with the disk size you want.
-
Extend the disk partition. While you have extended the volume of your disk, you need to notify your operating system of the change. Go to "Computer Management" and select "Disk Management." Right-click on "Volume" and then select "Extend Volume."
Expert Q&A
Video
Tips
- You will not be able to complete this task if the virtual machine is powered on or if you have not removed all snapshots.Thanks
- It may be that you will want to create a new disk rather than expand your current disk and transfer your data to it.Thanks
Warnings
- Before expanding your disk, you should backup your current data.Thanks
- If you attempt to resize your disk in Lab Manager, you will lose all of your data. If you need more space on your virtual machine, you should instead create a new virtual disk with the desired space and move your data to the new disk.Thanks
References
About This Article
1. Open Settings
.
2. Select the hard disk to expand.
3. Click the Utilities
menu and select Expand
.
4. Choose a size.
5. Click OK
.
6. Rescan the disk.
7. Assign the unallocated space to your OS.