You can change the default space reclamation priority, granularity, and other parameters.

Procedure

  • Use the following command to set space reclamation parameters.
    esxcli storage vmfs reclaim config set

    The command takes these options:

    Option Description
    -b|--reclaim-bandwidth Space reclamation fixed bandwidth in MB per second.
    -g|--reclaim-granularity Minimum granularity of automatic space reclamation in bytes.
    -m|--reclaim-method Method of automatic space reclamation. Supported options:
    • priority
    • fixed
    -p|--reclaim-priority Priority of automatic space reclamation. Supported options:
    • none
    • low
    • medium
    • high
    -l|--volume-label The label of the target VMFS volume.
    -u|--volume-uuid The uuid of the target VMFS volume.

Example: Setting the Reclamation Method to Fixed

Use the following example to set the reclamation method to fixed and the rate to 100 MB per second.

esxcli storage vmfs reclaim config set --volume-label datastore_name --reclaim-method fixed -b 100