While extending a VMDK file is a fairly easy task that can be performed right in Disk Manager, shrinking a virtual disk is a bit tricky. And, you need to be really careful because unless done properly, reducing virtual disk size may cause data loss! Sure, you can just use VMware Converter to make a VMDK smaller, but, for my money, it is always better to have a script at hand. In this article, I’ll discuss how to shrink virtual disks with 2 simple PowerShell scripts.
Sometimes, you badly need your ESXi VM data, but that thing just cannot be powered on for some reason! Well, you can try starting that VM one more time according to this article and access the data with a little luck. But, if you are out of luck and the VM is dead, you need another method to extract its VMDK file content.
Nowadays, virtualization has become one of the main worldwide trends in the IT sphere. The virtual environment helps saving money, making infrastructure easier to administrate, and giving more possibilities for scaling. A large variety of hypervisors from different vendors with different functionality and a number of virtual machines available for deployment are already present on the market. In most cases, hypervisor vendors have their proprietary VM types incompatible with those of competitors’. That is why sometimes it might be a challenge to deploy one hypervisor’s virtual machines on other hypervisors. This may come up with a very painful migration process between hypervisors in case of changing one, moving to different hardware or having several different hypervisors running. A V2V (virtual machine to virtual machine) converter could help solving this task. It can convert a VM and move one between VM formats and physical environments where the hypervisor is running. The review of the most popular and well-known solutions of VM converters will be provided in this article.