/proc/scsi/IBMtape (SLES 10.3)

adsmsuser

ADSM.ORG Member
Joined
Jan 11, 2010
Messages
118
Reaction score
2
Points
0
Hi!

What we have
SLES 10.3
emulex hba
TS3500

What we do
attach or detach drives

The Problem we have:
Each time this is done the storage agents on linux are getting problems.
Each one with different drives in the SAN.

IBMtape might look like this:
Number model SN HBA FO Path
0 03592E05 000007883433 lpfc NA
1 03592E05 000007883451 lpfc NA
2 03592E05 NA lpfc NA
...
...

is there any chance to get rid of the Serial Numbers NA without rebooting the server?

The syslog shows the following error messages for NA drives:

May 10 12:00:39 myserver lin_taped[29020]: command 12, rc -1, result: driver_byte 00, host_byte 00, msg_byte 00, status_byte 00
May 10 12:00:40 myserver kernel: lin_tape: LIN_TAPE_SEND_COMMAND mismatched device serial number, , NA
 
Last edited:
hi!

sorry - but no idea yet :)
by doing what?

thanks.
 
We are running SLES 11.1 and had problems with the tape drives getting muddled up each time we booted. This was solved by our Linux Wiz with a few lines in udev. Maybe this can help you or someone else with the same problems.

The following will force the hardware to map to the same logical device at every boot:

Code:
# cat /etc/udev/rules.d/99-IBMtape.rules 
SUBSYSTEM=="lin_tape", ACTION=="add", KERNEL=="IBMtape[0-9]", ATTR{serial_num}=="1068009155", NAME="IBMtape0"
SUBSYSTEM=="lin_tape", ACTION=="add", KERNEL=="IBMtape[0-9]", ATTR{serial_num}=="1068008708", NAME="IBMtape1"
SUBSYSTEM=="lin_tape", ACTION=="add", KERNEL=="IBMtape[0-9]", ATTR{serial_num}=="1068008759", NAME="IBMtape2"

Hope this helps.
 
Back
Top