X

The latest cloud infrastructure announcements, technical solutions, and enterprise cloud insights.

vSAN like a boss!

Ryan Patel
Cloud Solution Architect

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?

How to reclaim unused vSAN storage

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.

A graphic depicting two files and their sizes in KB.

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.

A graphic depicting the same two files and their sizes in KB with VMware Solution running.

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.

  1. SSH into the ESXi host.

  2. Check the GuestUnmap status (0 is disabled).

  3. Enable TRIM or UNMAP (1 is enabled).

  4. Reboot the VMs.

  5. 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!

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha