Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Skip to main content

My Subscriptions

Loading

Knowledge Base

Increasing the size of a virtual disk partition (1004071)

Last Updated: 4/26/2023Categories: How toTotal Views: 1199845Language:
Chinese (Simplified)Portuguese (European)JapaneseSpanishEnglish

69 like this article

Subscribe to get an email
newsletter with new updates

69 people found this helpful Please provide article feedback:

Learn how VMware Skyline Advisor and Skyline Health Diagnostics work together to provide proactive intelligence and self-service log analysis.

Use Skyline Advisor to avoid issues before they occur across VCF, vSphere, vSAN, NSX, vROps & Horizon. Skyline Findings are based on top KBs, VMSAs/CVEs and design best practices.

Use Skyline Health Diagnostics to root cause vSphere & vSAN logs when an issue occurs. Skyline Health Diagnostic Findings are based on top KBs and VMSA/CVEs. You can use the Skyline Health Diagnostics tool in online or offline mode.

If you require additional help from technical support, please use Skyline Advisor to initiate a Log Assist to reduce time to upload logs. TSEs can also initiate logs to reduce effort.

Symptoms

You need to increase the size of a virtual disk partition.

You have increased the size of a virtual disk but can see no increase in available space in virtual machine.

The partition does not increase with the increase in disk size.

You cannot see new disk space.

Expanding a virtual disk does not work.

Purpose

Extending a virtual disk only extends a virtual machine's disk. This does not automatically increase the size of the file system (such as NTFS for Windows and ext3 for Linux) within the guest. For more information on how to extend the virtual disk, see the documentation for your VMware product.

This article describes increasing the size of a disk partition. The virtual disk may have unallocated space that you now want to use. You may also have increased the size of a virtual machine's virtual disk but are unable to see the new space from the virtual machine's operating system.

Resolution

You can expand the size of the VMDK disk while the virtual machine is online. However, you must reboot the guest operating system (OS) in the virtual machine so that it is aware of the size change of the VMDK disk.

Also, ensure that the virtual machine is not running on snapshots, as this prevents the VMDK from being extended.

Depending on the guest OS in the virtual machine, there are several methods available to increase the file system within the virtual machine.

Extending a Windows guest file system

Note: Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows 7, Windows 8 and Windows Server 2012, Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016 and Windows Server 2019 can expand the volumes from the Disk Management in Computer Management. Right-click on Volume and click Extend Volume. For more information, see Microsoft's documentation. Instead of rebooting the guest operating system, in Computer Management, right-click Disk Management and click Rescan Disks.

If the partition you are extending in the virtual machine contains a different version of Windows, you may need to use a 3rd party tool to extend the partition.

If you have another Windows virtual machine with the same version of the operating system, you could temporarily attach the operating system VMDK to this virtual machine (known as a helper VM) and extend the file system on the VMDK from this virtual machine using the Windows DiskPart tool.

If the VMDK disk you need to extend does not contain the operating system disk then you can use DiskPart in the original virtual machine without the need for a helper VM.

For more information on extending a VMDK disk using DiskPart, see Extending partitions in Windows using DiskPart (1007266).

If you encounter a situation where you add more storage to an existing virtual machine's disk volume, and DISKPART allows you to (apparently) successfully extend the volume, and yet from Windows Explorer, the disk still shows the original size, check to ensure that the volume you are trying to extend does not contain the page file.

Note: You cannot extend the partition if the system page file is located on the partition. Move the page file to a partition that you do not want to extend.

Extending a Linux guest file system

If the Linux virtual machine has an ext3 file system under the control of Logical Volume Manager (LVM) control then there are LVM tools to allow the file system to be extended.

For more information on extending an ext3 file system with LVM, see Extending a logical volume in a virtual machine running Red Hat or Cent OS (1006371).

If you are running a file system other then ext3, you may need to research an alternative way of accomplishing this. Reiser has its own tool for accomplishing this, GParted Live CD is another popular tool for this.

Examples of third-party utilities

Name

Link to the Tool

DFSee

http://www.dfsee.com/dfsee/index.php

EASEUS Partition Manager

http://www.partition-tool.com/

GParted LiveCD

http://gparted.sourceforge.net/livecd.php

Partition Logic

http://partitionlogic.org.uk/

Paragon Partition Manager

http://www.partition-manager.com/

System Rescue CD

http://www.sysresccd.org/Main_Page

Windows DiskPart utility

If you are using the Windows DiskPart utility, it can only extend (expand) data volumes. If you use the DiskPart utility to extend a system or boot volume, you may get an error. For more information about extending partitions with the DiskPart utility.

Notes:

VMware does not endorse or recommend any particular third party utility, nor is the above list meant to be exhaustive.

The preceding links were valid as of June 19, 2009. If you find the links to be broken, provide feedback on the article and a VMware employee will update the article as necessary.

THE CONTENT OF THIS ARTICLE IS PROVIDED "AS-IS," AND TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, VMWARE DISCLAIMS ALL OTHER REPRESENTATIONS AND WARRANTIES, EXPRESS OR IMPLIED, REGARDING THIS CONTENT, INCLUDING THEIR FITNESS FOR A PARTICULAR PURPOSE, THEIR MERCHANTABILITY, OR THEIR NONINFRINGEMENT. VMWARE SHALL NOT BE LIABLE FOR ANY DAMAGES ARISING OUT OF OR IN CONNECTION WITH THE USE OF THIS CONTENT, INCLUDING DIRECT, INDIRECT, CONSEQUENTIAL DAMAGES, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF VMWARE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Related Information

VMware command line utilities used to resize virtual disks do not touch the data or partitions inside the virtual disks. Any desired partition changes must be made from the virtual machine's operating system.

For more information, see Adding space to an ESX host virtual disk (994).

Extending a logical volume in a virtual machine running Red Hat or Cent OS
Extending partitions in Windows using DiskPart
Aumentar o tamanho de uma partição de disco
Aumento del tamaño de una partición de disco
增加磁盘分区的大小
ディスク パーティションのサイズを増やす
Adding space to an ESXi/ESX host virtual disk

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)Portuguese (European)JapaneseSpanishEnglish

Attachments

Additional Resources

No results for undefined

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware Workstation Player

VMware Workstation

VMware vSphere ESXi

VMware VirtualCenter

VMware Player

VMware Fusion

VMware Converter

VMware ACE

Related Versions:

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant