[Bug 259292] pvscsi: UNMAP not working

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 20 Oct 2021 04:26:42 UTC

            Bug ID: 259292
           Summary: pvscsi: UNMAP not working
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: michal@maximale.sk


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
(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.

You are receiving this mail because:
You are the assignee for the bug.