To avoid this issue, adjust the default value of the ClomMaxComponentSizeGB parameter for each host in the vSAN cluster.
- Browse to the host in the vSphere Web Client navigator.
- Click the Configure tab.
- Under System, click Advanced System Settings.
- Select the VSAN.ClomMaxComponentSizeGB option and click Edit.
- Change the default value, so that it does not exceed 80% of the smallest disk that you use in the vSAN cluster.
For example, if the smallest disk in the vSAN disk group is 200 GB and you expect virtual machine objects (e.g., vmdks) to grow to 500 GB, adjust VSAN.ClomMaxComponentSizeGB option to 160GB (which is 80% of 200GB).
Notes:
- You must adjust the value of VSAN.ClomMaxComponentSizeGB before any virtual machines are deployed in the vSAN cluster. You should not change this value after virtual machines are provisioned.
- VSAN.ClomMaxCompnentSizeGB value can affect the size of an object deployed in the vSAN cluster. The actual size of the object provisioned is calculated according to this formula:
Maximum object size = MAX (2TB, 12*VSAN.ClomMaxComponentSizeGB)
The maximum object size is 12 times the value of VSAN.ClomMaxComponentSizeGB but not to exceed 62 TB which is the maximum file size supported by vSAN datastore.
What if I had already deployed virtual machines to the vSAN cluster before I made this change?
You can preserve object space for the previously deployed objects by applying a storage policy with Object Space Reservation set to 100% with these considerations:
- For virtual machines with single VMDKs, apply the policy to one virtual machine at a time
- For virtual machines with multiple VMDKs, apply the policy to one VMDK at a time
Note: There are no benefits from the default thin provisioning of the vSAN datastore. However, future deployments that do not use the object space reservation policy are thin provisioned, and their objects utilize the maximum component size defined by the VSAN.ClomMaxComponentSizeGB option.