- New environment vSphere 6.7 U3, VMFS 6 vSAN
- Old environment vSphere 6, VMFS 5
-
Enable umap
vsan.unmap_support -e ~CLUSTER_NAME in the vsan cluster - Use Veaam to migrate virtual machines from the original vSphere 6 and VMFS 5 to the new environment
- Upgrade vmtools, virtual hardware upgrade to version 15
- Start the virtual machine and enter the system
- View the mount point through df -h
- fstrim -v mount point name --length nG is used to specify the size of the reclaimed space
The picture below is before recycling
The picture below is after recycling