Hello,
We see this error on a Rocky 9 tapeserver running 5.10.10.1-1.el9
{“epoch_time”:1716391385.320501824,“local_time”:“2024-05-22T16:23:05+0100”,“hostname”:“getafix-ts03”,“program”:“cta-taped”,“log_level”:“INFO”,“pid”:“184016”,“tid”:“184016”,“message”:“In Scheduler::setDesiredDriveState(): success.”,“drive_name”:“obelix_lto8_04”,“instance”:“antaresdev”,“sched_backend”:“cephUser”,“thread”:“MainThread”,“tapeDrive”:“obelix_lto8_04”,“devFilename”:“/dev/lto_0”,“errorMessage”:“EmptyDriveProbe: Could not read drive status in hasTapeInPlace: /dev/nst0 Errno=5: Input/output error”,“drive”:“obelix_lto8_04”,“up”:“down”,“force”:“no”,“reason”:“[cta-taped] ERROR EmptyDriveProbe: Could not read drive status in hasTapeInPlace: /dev/nst0 Errno=5: Input/output error”,“comment”:“”,“schedulerDbTime”:0.000723}
{“epoch_time”:1716391385.320644829,“local_time”:“2024-05-22T16:23:05+0100”,“hostname”:“getafix-ts03”,“program”:“cta-taped”,“log_level”:“ERROR”,“pid”:“184016”,“tid”:“184016”,“message”:“Notified client of end session with error”,“drive_name”:“obelix_lto8_04”,“instance”:“antaresdev”,“sched_backend”:“cephUser”,“thread”:“MainThread”,“tapeDrive”:“obelix_lto8_04”,“devFilename”:“/dev/lto_0”,“errorMessage”:“EmptyDriveProbe: Could not read drive status in hasTapeInPlace: /dev/nst0 Errno=5: Input/output error”}
The lowest level SCSI devices - /dev/sg* - cannot be “trasnlated” to the higher level devices /dev/nst*
If we try to enquire the status of an nst device, we get
sg_inq -v /dev/nst0
inquiry cdb: [12 00 00 00 24 00]
inquiry: pass-through os error: Input/output error
inquiry: failed requesting 36 byte response: OS error: Input/output error
close error: Input/output error
whereas
[root@getafix-ts03 cta]# sg_inq -v /dev/sg3
inquiry cdb: [12 00 00 00 24 00]
inquiry cdb: [12 00 00 00 46 00]
inquiry cdb: [12 01 00 00 fc 00]
inquiry cdb: [12 01 80 00 fc 00]
standard INQUIRY:
PQual=0 PDT=1 RMB=1 LU_CONG=0 hot_pluggable=0 version=0x06 [SPC-4]
[AERC=0] [TrmTsk=0] NormACA=0 HiSUP=1 Resp_data_format=2
SCCS=0 ACC=0 TPGS=0 3PC=0 Protect=1 [BQue=0]
EncServ=0 MultiP=1 (VS=0) [MChngr=0] [ACKREQQ=0] Addr16=0
[RelAdr=0] WBus16=0 Sync=0 [Linked=0] [TranDis=0] CmdQue=1
[SPI: Clocking=0x0 QAS=0 IUS=0]
length=70 (0x46) Peripheral device type: tape
Vendor identification: IBM
Product identification: ULTRIUM-TD8
Product revision level: Q384
Unit serial number: 10210067D7
[root@getafix-ts03 cta]#
udevadm info -a /dev/nst0 also works.
Can you please give us a clue?
Thanks,
George