When you create virtual machines, you should use a virtual hard disk to install the guest operating system and a 2nd virtual hard disk to store the desired data.
This way, you can easily extend the virtual hard disk corresponding to the partition where free space is starting to run out, and then extend the corresponding partition from the guest operating system.
For this tutorial, we will use a virtual machine with a single virtual hard disk where Windows 10 v1909 x64 is installed.
From the guest OS we can see in our case that there are 2 partitions available.
In our "Data" partition, we created a test file.
Open File Explorer and right-click “Manage” on “This PC”.
As you can see in the image below through Windows disk management, the "C" partition where Windows 10 is installed and the "Data" partition are on the same (virtual) hard drive.
When you start running out of free space on the "C" partition, you will encounter a problem. Indeed, you will not be able to extend this partition (even by extending the corresponding virtual hard disk) given that another partition (in this case, the "Data" partition) is located just behind it.
To fix this problem, you will need to move this "Data" partition to another (virtual) hard drive.
For this, you can use the official tool “VMware vCenter Converter Standalone”.
If this tool does not work in your case, add an additional virtual hard disk with a slightly larger capacity than the partition to be moved, then move the partition using third-party software (like Acronis Disk Director, usable as live CD).
To convert the affected virtual machine using "VMware vCenter Converter Standalone", you must first shut down the virtual machine.
Indeed, the conversion of virtual machines is only possible when it is turned off.
To get started, download “VMware vCenter Converter Standalone” and install it in local mode (Local installation).
Once installed, launch this program (preferably as administrator to avoid various problems or errors), then click: Convert machine.
In the conversion wizard that appears, select "Select source type: Powered off", then: VMware Infrastructure virtual machine.
Next, provide your VMware vCenter Server connection information:
If your VMware vCenter Server SSL certificate (or VCSA) is invalid.
A “Converter Security Warning” window will appear.
In our case, this is due to the use of the self-signed SSL certificate installed by default on this server.
So, we ignored this warning.
However, in production, you should always use valid certificates so that you can be automatically notified when a server has been compromised or replaced by another.
Select the VMware ESXi host (in the left column) where your virtual machine is located, then select it in the right column.
Then click "View source details" to get information about it (see next image) or click "Next" to go to the next step.
Note that above the 2 columns, you will be able to choose if you want to specify the source virtual machine using the tree structure:
If you click on the "View source details" link located at the bottom right of the window (after selecting the desired virtual machine), a "Machine Details for [VM name]" window will be displayed with:
For the destination (Destination System), specify the same as before.
Again, a warning may appear if the certificate used on your VMware vCenter Server (or VCSA) is not valid or self-signed.
In our case it is self-signed, so we ignored this warning.
In the "Name" box (which is pre-populated with the name of the source virtual machine), provide the name of the destination virtual machine, as well as the location (data center or folder) where you want to create it. this.
Then, click on: Next.
Select the destination VMware ESXi host, then the datastore where you want to store this new virtual machine.
And finally, you can change the version of virtual hardware to use (if you want). However, you should preferably use the version corresponding to the version of VMware ESXi you are using on the host selected here (or a lower version if this is not possible).
In our case, our host is under VMware ESXi 6.7.0 and version 14 of the virtual hardware corresponds well to this version of VMware ESXi.
VMware 6/8/2022
VMware 5/30/2022
VMware 7/10/2024
VMware 4/26/2024
Pinned content
Contact
® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.
You must be logged in to post a comment