“I extended the Hard disk size in VMware / Hyper V. Then I extended the Disk size in the Disk Management tool. All without any problems. But when I was checking the disk size in the Windows Explorer the size was incorrect. The old size was still showing”
This is an issue on most Operating Systems, this can be corrected by Extending the File-system.
The fix is simple, open an elevated command prompt and start DISKPART
List all volumes of the server.
DISKPART> list volume
Select the volume that has the wrong file system size. 1 is the ID of the affected volume.
DISKPART> select volume 1
Extend the file system
DISKPART> extend filesystem
- To eliminate permission issues, always use the local administrator account instead of a domain account.
- To eliminate DNS issues, use IP addresses instead of host names.
- If OS level Network Teaming is enabled, remove the Teaming.
- Ensure that you do not choose partitions that contain any vendor specific Diagnostic Partitions before proceeding with a conversion.
- To reduce network obstructions, convert directly to an ESX host instead of vCenter Server as the destination.
- VMware vCenter Converter Standalone has many more options available to customize your conversion. If you are having issues using the Converter Plug-in inside vCenter Server, consider trying the Standalone version.
- If a conversion fails using the exact size of hard disks, decrease the size of the disks by at least 1MB. This forces VMware Converter to do a file level copy instead of a block level copy, which can be more successful if there are errors with the volume or if there are file-locking issues.
- Ensure there is at least 500MB of free space on the machine being converted. VMware Converter requires this space to copy data.
- Shut down any unnecessary services, such as SQL, antivirus programs, and firewalls. These services can cause issues during conversion.
- Run a check disk on the volume before running a conversion as errors on disk volumes can cause VMware Converter to fail.
- Do not install VMware Tools during the conversion. Install VMware Tools after you confirm that the conversion was successful.
- Do not customize the new virtual machine before conversion.
- Ensure that these services are enabled:
- Check that the appropriate firewall ports are opened.
- Check that boot.ini is not looking for a Diagnostic/Utility Partition that no longer exists.
- If you are unable to see some or all of the data disks on the source system, ensure that you are not using GPT on the disk partitions.
- Unplug any USB, serial/parallel port devices from the source system. VMware Converter may interpret these as additional devices, such as external hard drives which may cause the conversion to fail.
- If the source machine contains multiple drives or partitions and you are having issues failing on certain drives, consider converting one drive or partition at a time.
- Verify that there are no host NICs or network devices in the environment that have been statically configured to be at a different speed or duplex. This includes settings on the source operating system, switches and networking devices between the source and destination server. If this is the case, Converter checks the C: drive but not the D: drive.
- If you are using a security firewall or Stateful Packet Inspecting (SPI) firewall, check firewall alerts and logs to ensure the connection is not being blocked as malicious traffic.
- If you have static IP addresses assigned, assign the interfaces DHCP addresses prior to conversion.
- If the source server contains a hard drive or partition larger than 256GB, ensure that the destination datastores block size is 2MB, 4MB, or 8MB, and not the default 1MB size. The 1MB default block size cannot accommodate a file larger than 256GB.
- Clear any third-party software from the physical machine that could be using the Volume Shadow Copy Service (VSS). VMware Converter relies on VSS, and other programs can cause contention.
- Disable mirrored or striped volumes. Mirrored or striped volumes cannot be converted.
- Verify that the VMware Converter agent is installed on the source machine. It may not be if the conversion fails right away.
- Verify that DNS and reverse DNS lookups are working. It may be necessary to make entries into the local hosts file on source machine. Use IP addresses, if possible.
- Run msconfig on the source server to reduce the number of services and applications running at startup. Only Microsoft services and the VMware Converter Service should be running.
- Install VMware SCSI drivers into the machine before conversion. Windows tries to Plug-n-Play the new SCSI Controller, and Windows may fail if the proper drivers are not installed.
- If you customized permissions in your environment, ensure that local administrator has rights to all files, directories, or registry permissions before conversion.
- Uninstall any UPS software. This has been known to cause issues after Conversion.
- Ensure that you do not have any virtual mounted media through an ILO- or DRAC-type connection. Converter can misinterpret these as convertible drives, and fails upon detecting them. As a precaution, disconnect your ILO or DRAC to prevent this issue.