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.
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.
Symptoms: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.
To verify if the virtual machine is running on snapshot disks:
Depending on the guest OS in the virtual machine, there are several methods available to increase the file system within the virtual machine.
If the Linux virtual machine has an ext4 or xfs 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 ext4 or xfs file system with LVM, see RedHat's documentation: Growing a File System on a Logical Volume.
If you are running a file system that is not uner the control of the LVM, 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.
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 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).