Backtrack:  
 
by lunarg on November 19th 2021, at 13:28

In VMware, using VMFS-6 as the datastore filesystem introduces automatic storage reclamation. This process, also called "VMFS unmap" runs in the background (by default at low priority so it doesn't interfere with performance) to clear allocated unused storage space by sending "unmap" commands to the underlying storage so it can reclaim the blocks for other uses.

Sometimes it may become necessary to (temporarily) turn off (or on, if it's turned off already) storage reclamation on a datastore. You can do this through the WebClient but if you want to change this for a bunch of datastores, you can also do this via PowerCLI. While the latter is pretty complicated, William Lam wrote two easy-to-use PS functions to make life more comfortable.

Direct link: https://github.com/lamw/vmware-scripts/blob/master/powershell/AutomaticVMFSUnmap.ps1

 
 
« February 2024»
SunMonTueWedThuFriSat
    123
45678910
11121314151617
18192021222324
2526272829  
 
Links
 
Quote
« If the batteries of a TV remote run out, why do we press the buttons so much harder? »