Asset ID: |
1-71-2110789.1 |
Update Date: | 2017-10-03 |
Keywords: | |
Solution Type
Technical Instruction Sure
Solution
2110789.1
:
SL150 - Tape Library Persistent Binding Is Not Working
Related Items |
- StorageTek SL150 Modular Tape Library
|
Related Categories |
- PLA-Support>Sun Systems>TAPE>Tape Hardware>SN-TP: SL150 Library
|
In this Document
Created from <SR 3-12235782911>
Applies to:
StorageTek SL150 Modular Tape Library - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.
Goal
Persistent binding is not working.
Below is the log showing, that the scsidev was changed from scsidev@2.0.1 to scsidev@2.2.1 after rebooting the host.
OS: Oracle Linux 6.7
[root@vmx3 ~]#
[root@vmx3 ~]# inquire | grep SL150
77662:inquire: CDI warning: Using old-style passthrough via st driver
77662:inquire: CDI warning: Using old-style passthrough via st driver
scsidev@2.0.1:STK SL150 0250|Autochanger (Jukebox), /dev/sg11
ATNN=STK SL150 464970G+1545SY4834
[root@vmx3 ~]#
--------------reboot---------
[root@vmx3 ~]#
[root@vmx3 ~]# inquire | grep SL150
77662:inquire: CDI warning: Using old-style passthrough via st driver
77662:inquire: CDI warning: Using old-style passthrough via st driver
scsidev@2.2.1:STK SL150 0250|Autochanger (Jukebox), /dev/sg11
ATNN=STK SL150 464970G+1545SY4834
[root@vmx3 ~]#
Solution
The scsidev order is not guaranteed. What we can do is get fixed /dev entries, but we cannot force the scsidevice id - It depends in the order in which the scsi devices are detected and cannot be guessed.
This is where the udev rules come into consideration - Using the udev rules, we will be able to force the /dev entries to fixed values, preventing this issue, as the note suggests - but we cannot force scsidevice identifiers
/lib/udev/rules.d
Contains default rules files. Do not edit these files.
/etc/udev/rules.d/*.rules
Contains customized rules files. You can modify these files.
/dev/.udev/rules.d/*.rules
Contains temporary rules files. Do not edit these files
Tape Device Persistent Naming in Oracle Linux 6 (Doc ID 1917234.1)
References
<NOTE:1917234.1> - Tape Device Persistent Naming in Oracle Linux 6
Attachments
This solution has no attachment