For ESXi 7.0.3 P08 or later 7.0.3 patches, and ESXi 8.0.2 or later:
The DemandlogFailCollidingUnmap
configuration option has been updated to include two additional values (2 and 3). These new values provide more options for the driver's response to unmap/trim commands from the guest OS.
New Values in the DemandlogFailCollidingUnmap Configuration Option:
-
Option value set to "2": 'Check Condition' Error (SCSI event status code 02h)
- The
hbr_filter
driver returns a 'check condition' error with no additional sense data. This causes the guest OS to fail the command silently without immediate retry attempts. - SSH Command:
$ esxcli system settings advanced set -o /HBR/DemandlogFailCollidingUnmap -i 2
- The
-
Option value set to "3: 'Success' Response (SCSI event status code 00h)
- The
hbr_filter
driver returns a success status to the guest OS's trim/unmap command.
- The
SSH Command:
$ esxcli system settings advanced set -o /HBR/DemandlogFailCollidingUnmap -i 3