Hi, VM on VMware 6.7 with pvscsi and thinly provisioned disk generates the following error: (da0:pvscsi0:0:0:0): UNMAP failed, disabling BIO_DELETE (da0:pvscsi0:0:0:0): UNMAP. CDB: 42 00 00 00 00 00 00 00 08 00 (da0:pvscsi0:0:0:0): CAM status: SCSI Status Error (da0:pvscsi0:0:0:0): SCSI status: Check Condition (da0:pvscsi0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in CDB) (da0:pvscsi0:0:0:0): Command byte 7 is invalid (da0:pvscsi0:0:0:0): Error 22, Unretryable error This error occurs when I try to run zpool trim zroot. When I replace the VM's SCSI controller with SATA, trimming seems to be working ok.
Confirmed same behavior with ESXi 8.0 and FreeBSD 13.2-p1.