Tape device disappears.

I’ve a tape device installed on SLES 11 SP4, connected via SCSI. The device works at startup, but after 2-3 weeks it stop working.
With previous version of SLES, running rescan-scsi-bus.sh --forcerescan I was able to recover the tape, now the same commad doesn’t restore the tape.
Previous I needed to run rescan-scsi-bus two time:

[LIST]

the first remove the tape (the tepe was seen by rescan-scsi-bus, but not by tape command like mt -f /dev/nst0 status)
[*]
[/LIST]
rescan-scsi-bus.sh --forcerescan

Syncing file systems
Scanning SCSI subsystem for new devices and remove devices that have disappeared
Scanning host 0 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
Scanning host 1 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
Scanning for device 1 0 0 0 …sg0 changed: INQUIRY failed
REM: Host: scsi1 Channel: 00 Id: 00 Lun: 00
DEL: Vendor: HP Model: Ultrium 2-SCSI Rev: T65D
Type: Sequential-Access ANSI SCSI revision: 05
Scanning host 2 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
Scanning host 3 for SCSI target IDs 0 1 2 3 4 5 6 7, all LUNs
Scanning for device 3 0 0 0 …
OLD: Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: HL-DT-ST Model: DVD-RAM GH40L Rev: LA01
Type: CD-ROM ANSI SCSI revision: 05
0 new or changed device(s) found.
0 remapped or resized device(s) found.
1 device(s) removed.
[1:0:0:0]

[LIST]
[*] the second one restored the device.
[/LIST]

With SLES11 SP4 no more.
The only action I have is restarting the server.

Can I have some suggestions in order to solve my problem?

Thanks,
Fabrizio

Sorry, I’ve solved simply using -a flag :mad:

Thank you for posting back your solution.


Ken