This post shows how Oracle Cloud VMware Solution can help you lower your total cost of ownership using the native VMware vSAN feature.
Beginning with vSAN 6.7u1, VMware introduced automated UNMAP support for in-guest space reclamation. This feature is disabled by default, but with Oracle Cloud VMware Solution, you can enable this feature without contacting support. How does the TRIM or UNMAP feature benefit your company?
Let’s say you have a Windows 2010 virtual machine (VM) with a 50-GB drive and 50 GB free. The current baseline for the used space is in the following graphic. We’re focusing on the vNinja-Win10_1.vmdk file.
I uploaded a 14.3-GB file to the D:\ drive and then removed it. Without the TRIM or UNMAP feature enabled, the drive only shows 35.4 GB free. You’ve lost 14.3 GB of space, even though it’s not being used.
With Oracle Cloud VMware Solution, administrators can fix this issue on their own without having to open support tickets.Follow these steps to enable the TRIM or UNMAP feature on your ESXi hosts. Reboot your VMs for the feature to be available within the guest.
SSH into the ESXi host.
Check the GuestUnmap status (0 is disabled).
Enable TRIM or UNMAP (1 is enabled).
Reboot the VMs.
Open PowerShell and run the following code as administrator:
Optimize-Volume -DriveLetter D -Retrim
The vSAN datastore now has 50 GB of free space again. You’ve regained the unused space, reducing your total cost of ownership!
Get started with Oracle Cloud VMware Solution!