Reduce the VMDK File Size of the VMWare Virtual Machine If LVM logical volumes are used, the scenario is different. In Linux, you can reduce the partition size using parted. If you don’t do it, after then your file system may crash after shrinking the virtual disk size. If your virtual machine is running Windows OS, use the Disk Manager diskmgmt.msc (the Shrink Volume operation is available in all supported Windows versions sdelete tool is used in older Windows versions to reduce the partition size) or third-party tools (like Acronis Disk Director). How to Shrink the Partition Size in the Guest OS?įirst of all, reduce the size of the disk partition in the guest operating system. Reduce the size of the VMDK file of the VMWare virtual machine on the VMFS (NFS) datastore.Shrink the partition inside the guest OS.The procedure of reducing a virtual disk size consists of two steps: Use these commands:Ĭp vmname-flat.vmdk backup_vmname-flat.vmdk Create a full backup of the virtual machine, or create a copy of the vmdk and flat files you want to shrink.Delete all snapshots of the virtual machine (otherwise, you may damage the virtual disk).Prior to reducing the size of a virtual disk, do the following on your VMWare ESXi host: However, I used this method dozens of times. This guide is not an officially supported solution on how to reduce the size of vmdk disks in VMWare.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |