Increasing the disk size on a Virtual Machine. (2024)

Important information before you begin

Even though this article provides steps to increase the size of your virtual disk, the size of the disk partition does not increase as observed inside the guest operating system. You must follow steps related to your specific operating system to increase the size of the disk partition(s).

Caution: VMware recommends that you back up your virtual machine before increasing the size of virtual disks.

The procedure for increasing the size of a virtual disk differs between VMware products. Follow the section below that matches your product.

In all cases, confirm these before increasing the size of the virtual disk:

Note: In ESX 4.1, you can extend and add virtual disks to a virtual machine when it is powered on (after installing VMware Tools).

Instructional Notes: About File Names

Replace any reference to vm.vmdk in the commands with the full path to the virtual machine's virtual disk.

Note: If you have multiple .vmdk files with the same base name, use the file that does not include -flat or -s0 in its file name.

You may need to:

Workstation / Player / ACE Manager / Server / GSX

To increase the virtual disk from the command line:

  1. Open a command prompt. For more information, see Opening a command or shell prompt (1003892).
  2. Navigate to the product's installation directory. For more information, see Locating the installation directory of a VMware product (1003897).
  3. Type vmware-vdiskmanager -x 100Gb vm.vmdk and press Enter.

    Note: Replace 100Gb with the actual size of virtual disk that you want. You can also specify Kb and Mb.

  4. Follow the steps in Increasing the size of a disk partition (1004071) so the guest operating system is aware of the change in disk size.

For Workstation 7 and later and Player 3.x and later, you can increase the virtual disk from the GUI:

  1. Select the virtual machine from the Inventory.
  2. Click Edit Virtual Machine Settings.
  3. Click Hard Disk.
  4. Click Utilities > Expand, enter the new size, then click Expand.
  5. Complete the steps in Increasing the size of a disk partition (1004071), so that the guest operating system is aware of the change in disk size.

VMware Player 2.x / ACE Instance

It is not possible to directly change the size of a virtual machine's virtual disk if VMware Player 2.x is being used or if it is an ACE Instance.

  • If you are using an ACE Instance, the virtual disk size must be changed from the ACE Manager, then repackaged and redeployed.

  • If you are using VMware Player's 2.x, upgrade to VMware Player 3.

ESX / VI Client / vSphere

Notes:

  • In ESX 4.1, you can extend and add virtual disks to a virtual machine when it is powered on (after installing VMware Tools).
  • Ensure the user has sufficient permissions to carry out this task.
  • Warning: If the disks are clustered, they cannot be expanded through vSphere Client but instead through CLI.

    Please use this command as an example:

    # vmkfstools -X 6G -d eagerzeroedthick vm.vmdk

Note: For more information on using vmkfstools commands, see Cloning and converting virtual machine disks with vmkfstools (1028042).

This error may occur because of a number of different issues:

Failed to open the disk 'vm.vmdk' : A file was not found (0x1900000004)

If you experience this error, ensure that you can power on the virtual machine successfully and ensure that you remove all snapshots. For additional information, see Determining if a virtual machine is using snapshots (1004343). If the error persists, contact VMware Support.

For ESXi 6.5 or later:

  1. Open VMware vSphere Client or ESXi host client.

  2. Right-click the virtual machine.

  3. Click Edit Settings.

  4. Select Hard Disk.

  5. Increase the size of the disk.

  6. Power-on the Virtual machine.

    Note: If this option is greyed out, the disk may be running on snapshots or the disk may be at the maximum allowed size depending on the block size of the datastore.

  7. Follow the steps in Increasing the size of a disk partition (1004071) so the guest operating system is aware of the change in disk size.

For earlier versions of ESX, you must use the Console. For more information, see Adding space to an ESXi/ESX host virtual disk(994).

For further details on Virtual Disk Configuration, see the vSphere Virtual Machine Administration Guide.

Note: Increasing the size of an IDE virtual disk using the vSphere Client is not supported. SCSI virtual disks are the only supported disk that can be expanded via the vSphere Client.

Lab Manager

Warning: Any attempt to resize a configuration's virtual disk in Lab Manager results in total data loss. Do not attempt to resize the virtual disk. Create a new virtual machine with a virtual disk of the size desired. When you have completed creating a new virtual machine, create a backup of the virtual machine from within the guest and then restore the backup to the newly created virtual machine.

Note: This procedure applies to templates only. Do not attempt to resize a configuration.

  1. Open Lab Manager.

  2. Consolidate and then deploy the template to be resized.

  3. Connect to the ESX host where the template was deployed using VI Client.

  4. Perform the disk resize according to the ESX section above.

  5. Follow the steps in Increasing the size of a disk partition (1004071) so the guest operating system is aware of the change in disk size.

Increasing the disk size on a Virtual Machine. (2024)

FAQs

Increasing the disk size on a Virtual Machine.? ›

Once the virtual machine is deallocated, you can then increase the disk size by following the steps outlined in the documentation. In the Azure portal, navigate to the "Disks" section under "Settings" and select the disk you want to expand. Then, select "Size + performance" and choose the new disk size.

How to increase disk size on virtual machine? ›

Go to Edit Virtual Machine Settings > Utilities > Expand. Input your desired disk size in the provided field. Once the virtual disk is expanded, reboot the guest operating system to make it aware of the size change.

How to increase the size of the Hard Disk in Azure virtual machine VM? ›

Resize a managed disk in the Azure portal

In the left menu under Settings, select Disks. Under Disk name, select the disk you want to expand. In the left menu under Settings, select Size + performance. In Size + performance, select the disk size you want.

How do I increase the size of my VirtualBox Hard Disk? ›

In VMWare, right-click your virtual machine (VM), then go to Settings > Hard Disk > Expand, and expand the disk. In VirtualBox, go to File > Virtual Media Manager and use the slider to adjust the disk size.

How can I increase my disk size? ›

Here's how to free up disk space in Windows:
  1. Empty the Recycle Bin. For many people, a hard drive cleanup will begin and end by emptying the trash can. ...
  2. Use Disk Cleanup. ...
  3. Delete temporary files. ...
  4. Delete duplicate files. ...
  5. Uninstall applications. ...
  6. Configure System Restore.
May 7, 2021

What is the maximum disk size for Hyper-V? ›

Maximums for virtual machines
ComponentMaximum
Virtual hard disk capacity64 TB for VHDX format 2,040 GB for VHD format
Virtual IDE disks4
Virtual processors2048 for generation 2 64 for generation 1
Virtual SCSI controllers4
8 more rows
Apr 10, 2024

How to add hard drive to virtual machine Hyper-V? ›

Right click on the VM to edit settings and add a new hard drive.
  1. Figure 1 Hyper-V Settings, Add New Hard Drive.
  2. Figure 2 Hyper-V Settings, Select Devices for VM.
  3. Figure 3 Hyper-V Settings, SCSI Controller Option.
  4. Figure 4 Hyper-V Settings, Choose Disk Type.
  5. Figure 5 Hyper-V Settings, Adding Hard Drive and Verifying Values.

How do I increase disk size in Google virtual machine? ›

In the Google Cloud console, go to the Disks page. In the list of persistent disks in your project, click the name of the disk that you want to resize. On the disk details page, click editEdit. You might need to click the more_vert More actions menu and then editEdit.

What is the maximum disk size in Azure virtual machine? ›

The largest disk size supported by Azure Backup is 32 TiB (4 TiB for encrypted disks).

How do I increase the size of a virtual disk in Linux? ›

Click the Home tab and select VM. Choose the VM and click Update. Click the disk and click Edit. Increase the disk size.

Is it possible to reduce the disk size in Azure VM? ›

Downsizing a disk directly isn't supported because of the risk of data loss. Instead, you can create a smaller disk, copy the data from the original disk, and then delete the old disk. This article doesn't address the scenario of downsizing the operating system (OS) disk.

How to increase VM disk size? ›

Select the virtual machine from the Inventory. Click Edit Virtual Machine Settings. Click Hard Disk. Click Utilities > Expand, enter the new size, then click Expand.

How to increase the hard disk size of virtual machine in Hyper V? ›

To expand the Hard Disk, Right Click on your Virtual Machine>Click on Settings>Select SCSI>Select the Virtual Hard Drive that you want to extend and Click Edit. 2. You will then be taken to the “ Edit Virtual Hard Disk” wizard to locate the Virtual Hard disk.

How to add additional hard disk to a virtual machine in VirtualBox? ›

How to add new harddrive to VirtualBox virtual machine
  1. Launch VirtualBox.
  2. Make sure the VM is powered off.
  3. Right click on the VM from the list and click on Settings.
  4. Go to Storage tab.
  5. Select which controller you want to add the disk to and click on the Add new storage attachment button.
  6. Select Hard Disk from the list.

Why is unable to increase disk size greyed out in VMware? ›

Virtual disks with snapshots cannot be expanded. Ensure that there are no active snapshots on the virtual machine (VM) before attempting to expand the disk. There is not enough free space on the datastore where the virtual machine virtual disk resides.

How to free up space in a virtual machine? ›

Under System Settings in the Settings window, click General. Select a cleanup option. Click Clean Up Virtual Machine. This option is only available when a Windows virtual machine has disk space to reclaim, or when any virtual machine has unconsolidated snapshot files.

Why can't I extend volume? ›

The extended volume may be greyed out if there is no free or unallocated space on the computer drive. By deleting useless partitions or shrinking partitions on the target partition disk, you can leave free/unallocated space next to the labeled volume.

Top Articles
Usuwanie danych z dysku twardego
Explaining the FIRE Movement | Farm Bureau Financial Services
Kostner Wingback Bed
Katie Nickolaou Leaving
Safety Jackpot Login
Urist Mcenforcer
The Atlanta Constitution from Atlanta, Georgia
1970 Chevrolet Chevelle SS - Skyway Classics
Aadya Bazaar
South Park Season 26 Kisscartoon
Hotels Near 500 W Sunshine St Springfield Mo 65807
Self-guided tour (for students) – Teaching & Learning Support
Mid90S Common Sense Media
Signs Of a Troubled TIPM
10 Best Places to Go and Things to Know for a Trip to the Hickory M...
Busted Barren County Ky
Suffix With Pent Crossword Clue
Van Buren County Arrests.org
Tinker Repo
Kringloopwinkel Second Sale Roosendaal - Leemstraat 4e
The Tower and Major Arcana Tarot Combinations: What They Mean - Eclectic Witchcraft
Seeking Arrangements Boston
Tips and Walkthrough: Candy Crush Level 9795
Sandals Travel Agent Login
Victory for Belron® company Carglass® Germany and ATU as European Court of Justice defends a fair and level playing field in the automotive aftermarket
Enduring Word John 15
Angel Haynes Dropbox
Remnants of Filth: Yuwu (Novel) Vol. 4
Vivification Harry Potter
Kuttymovies. Com
Miller Plonka Obituaries
Dl.high Stakes Sweeps Download
Polk County Released Inmates
Louisville Volleyball Team Leaks
Go Smiles Herndon Reviews
The Best Restaurants in Dublin - The MICHELIN Guide
Encompass.myisolved
Verizon Outage Cuyahoga Falls Ohio
Winta Zesu Net Worth
Avance Primary Care Morrisville
Darkglass Electronics The Exponent 500 Test
Hawkview Retreat Pa Cost
26 Best & Fun Things to Do in Saginaw (MI)
Tropical Smoothie Address
Syrie Funeral Home Obituary
Actress Zazie Crossword Clue
Sam's Club Gas Price Sioux City
Arginina - co to jest, właściwości, zastosowanie oraz przeciwwskazania
Jeep Forum Cj
WHAT WE CAN DO | Arizona Tile
Room For Easels And Canvas Crossword Clue
Latest Posts
Article information

Author: Francesca Jacobs Ret

Last Updated:

Views: 6226

Rating: 4.8 / 5 (68 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Francesca Jacobs Ret

Birthday: 1996-12-09

Address: Apt. 141 1406 Mitch Summit, New Teganshire, UT 82655-0699

Phone: +2296092334654

Job: Technology Architect

Hobby: Snowboarding, Scouting, Foreign language learning, Dowsing, Baton twirling, Sculpting, Cabaret

Introduction: My name is Francesca Jacobs Ret, I am a innocent, super, beautiful, charming, lucky, gentle, clever person who loves writing and wants to share my knowledge and understanding with you.