Skip to content

Fix device statistics from LTO drives

We are having several Error with the message "Exception in logging drive statistics"

SCSI error in DriveLTO::getDriveStats status=0x2 host_status=0 driver_status=0x8: SCSI command failed with status CHECK CONDITION: Sense Information: Illegal Request: Invalid field in cdb

image

The problem comes because we copied the logic from DriveIBM3592::getDriveStats() to DriveLTO::getDriveStats(), but it seems it has different flags and messages.

Related: https://gitlab.cern.ch/cta/operations/-/issues/1050 , #361 (closed)