Attempting ATA TRIM on SAS devices?
Garrett Wollman
wollman at csail.mit.edu
Wed Jan 8 18:37:50 UTC 2014
On a freshly-installed 9.2 system, I see the following:
(da12:mps0:0:59:0): ATA TRIM failed, switching to UNMAP BIO_DELETE
(da12:mps0:0:59:0): ATA COMMAND PASS THROUGH(16). CDB: 85 0d 06 00 01 00 01 00 00 00 00 00 00 40 06 00
(da12:mps0:0:59:0): CAM status: SCSI Status Error
(da12:mps0:0:59:0): SCSI status: Check Condition
(da12:mps0:0:59:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in CDB)
(da12:mps0:0:59:0): Error 22, Unretryable error
(da35:mps0:0:82:0): ATA TRIM failed, switching to UNMAP BIO_DELETE
(da35:mps0:0:82:0): ATA COMMAND PASS THROUGH(16). CDB: 85 0d 06 00 01 00 01 00 00 00 00 00 00 40 06 00
(da35:mps0:0:82:0): CAM status: SCSI Status Error
(da35:mps0:0:82:0): SCSI status: Check Condition
(da35:mps0:0:82:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in CDB)
(da35:mps0:0:82:0): Error 22, Unretryable error
da12 and da35 are identified as follows:
[root at nfs-prod-3 /export]# camcontrol inquiry da12
pass13: <OCZ TALOS2 2.25> Fixed Direct Access SCSI-5 device
pass13: Serial Number A179E011337000251
pass13: 600.000MB/s transfers, Command Queueing Enabled
[root at nfs-prod-3 /export]# camcontrol inquiry da35
pass36: <OCZ TALOS2 2.25> Fixed Direct Access SCSI-5 device
pass36: Serial Number A179E011337000234
pass36: 600.000MB/s transfers, Command Queueing Enabled
Why would it be trying ATA commands here? These are SAS devices.
-GAWollman
More information about the freebsd-scsi
mailing list