SayNo2HyperV
Enthusiast
Enthusiast

ESXi7 / Server 2019 Guest Unmap

Discovering that all of my ESXi7 host with server 2019 guests are not properly working for in guest unmap.

VMDKs much larger than they should be.

Going the manual route - The 2019 defrag / Optimize shows "optimization not available"

If I run Optimize-Volume -DriveLetter E -ReTrim -Verbose on guest it does not decrease VMDK.

fsutil behavior query DisableDeleteNotify

NTFS DisableDeleteNotify = 0  (Disabled)

ReFS DisableDeleteNotify = 0  (Disabled)

On same ESXi7 host with Server 2016 optimization is available and volume shows percentage.

If I run via GUI or Optimize-Volume -DriveLetter F -ReTrim -Verbose it works and VMDK reduces slightly.

This proves to me that ESXi7 hosts / VMFS6 database is fine and the issue ls with 2019.

Has anyone come across this and know what's up with 2019?

Thank you.

Tags (3)
0 Kudos
1 Reply
SayNo2HyperV
Enthusiast
Enthusiast

Ran sdelete -z & vmkfstools -K.test.  Freed up ~600GB on a disk.  Online research has yet to reveal culprit on why automatic unmap isn't working on my Server 2019 VMs.

0 Kudos