Mailinglist Archive: opensuse (929 mails)

< Previous Next >
[opensuse] SCSI Problem
Hello,

I've a problem with the scsi subsystem
We have tape library connected over SAN with ten tape devices.
The devices are seen with lssci and the mappings between the generic
scsi devices and the scsi addresses (H:B:T:L) with sg_map -x.
This looks like:
..
/dev/sg235 7 0 0 0 12
/dev/sg236 7 0 0 1 8
/dev/sg237 7 0 0 2 8
/dev/sg238 7 0 1 0 1 /dev/nst0
/dev/sg239 7 0 2 0 1 /dev/nst1
/dev/sg240 7 0 2 1 8
/dev/sg241 7 0 3 0 1 /dev/nst2
/dev/sg242 7 0 4 0 1 /dev/nst3
...

But sometimes I get the messages from sg_map:
"Strange, could not find device /dev/nstxx mapped to sg device??"
on top of the output and at the end the strange "scsi address" (see sg254)
/dev/sg252 9 0 1 0 1
/dev/sg253 10 0 0 0 1 /dev/nst11
/dev/sg254 -2 -2 -2 -2 -2
/dev/sg255 10 0 2 0 1

The device file /dev/sg254 exist in the /dev directory.
If I disconnect the device, the device file will be removed and if I
reconnect again, the device file is create automatically.

Does anyone has a clue, why this strange behavior occurs?

thanks Meike
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups