Unsolved
This post is more than 5 years old
35 Posts
0
2135
October 10th, 2006 00:00
SCSI address of autochanger changes after reboot
We are using redhat AS 4 update 4 using a 2.6 kernel. We want to upgrade from networker 7.2.1 to 7.3.2 on a 2.6 kernel. The problem is that the scsi address of our IBM 3584 autochanger changes after a few reboots. Initially the scsi address obtained with the inquire command is:
scsidev@2.2.1:IBM 03584L32 5770|Autochanger (Jukebox), /dev/sg9
S/N: 0000000189730401
ATNN=IBM 03584L32 0000000189730401
After a few reboots it changes to :
scsidev@2.1.1:IBM 03584L32 5770|Autochanger (Jukebox), /dev/sg9
S/N: 0000000189730401
ATNN=IBM 03584L32 0000000189730401
As it changes from scsidev@2.2.1:IBM to scsidev@2.1.1:IBM, we are unable to properly operate the autochanger. AutoChanger is SAN attached and as we are using Emulex HBA card on a 2.6 kernel, persistent binding is no longer supported. Udev is used instead for persistent binding purposes. However, we are unable to use udev to persistently bind scsidev@2.1.1 as we believe that it is generated by inquire command which can only be understood in Networker context.
Does anyone out there with Kernel 2.6 with Emulex HBA faced with this problem?
scsidev@2.2.1:IBM 03584L32 5770|Autochanger (Jukebox), /dev/sg9
S/N: 0000000189730401
ATNN=IBM 03584L32 0000000189730401
After a few reboots it changes to :
scsidev@2.1.1:IBM 03584L32 5770|Autochanger (Jukebox), /dev/sg9
S/N: 0000000189730401
ATNN=IBM 03584L32 0000000189730401
As it changes from scsidev@2.2.1:IBM to scsidev@2.1.1:IBM, we are unable to properly operate the autochanger. AutoChanger is SAN attached and as we are using Emulex HBA card on a 2.6 kernel, persistent binding is no longer supported. Udev is used instead for persistent binding purposes. However, we are unable to use udev to persistently bind scsidev@2.1.1 as we believe that it is generated by inquire command which can only be understood in Networker context.
Does anyone out there with Kernel 2.6 with Emulex HBA faced with this problem?
No Events found!


ble1
6 Operator
•
14.4K Posts
•
56.2K Points
0
October 10th, 2006 01:00
shutchins
11 Posts
0
October 10th, 2006 11:00
You must now use the open source method via udev. udev allows Linux to have a dynamic /dev directory and it provides the ability to have persistent device names.
I'm using redhat AS4 with emulex lpe1150 cards and Networker 7.3.2 and I'm faced with the same issue. It was so much easier just using the persistent binding features via hbaanywhere!
This may help
http://www.emulex.com/pdfs/wp_linux26udev.pdf
http://reactivated.net/writing_udev_rules.html
http://webpages.charter.net/decibelshelp/LinuxHelp_UDEVPrimer.html
ylam1
35 Posts
0
October 10th, 2006 22:00
How about using SuSe Enterprise Linux 9 since it was Redhat who pressured Emulex? Anyone can shed some light?
null
ble1
6 Operator
•
14.4K Posts
•
56.2K Points
0
October 10th, 2006 23:00
ylam1
35 Posts
0
October 11th, 2006 01:00
Emulex dropped persistent binding from their linux driver from 2.6 kernel. Therefore, we have to rely on udev to get persistent naming. That works great and we can fix the devices path, for example /dev/fc_nst0 to always point to 1st tape drive, /dev/fc_nst2 to the second tape drive and so on. We can also have /dev/fc_autochanger to point to the jukebox.
However, when configuring the Jukebox, Legato still use the scsidev@b.t.l to identify the jukebox. If the server reboot, we cannot guarantee that the b.t.l will not change. I believe only persistent binding will solve this issue, not udev.
Is there a way to let Legato refer to the jukebox using device path name, instead of using the SCSI target ID? If that's possible, then we use udev to fix a device path name and need not worry about whether the b.t.l change when the server reboot.
I know Qlogic still has support for persistent binding for 2.6 kernel. But it's a little troublesome to change the cards
ylam1
35 Posts
0
October 11th, 2006 02:00
ble1
6 Operator
•
14.4K Posts
•
56.2K Points
0
October 12th, 2006 00:00
ylam1
35 Posts
0
October 29th, 2006 19:00
I tried changing the library control path but it is listed as a read-only attribute in networker 7.3.2. How do u change that?
ble1
6 Operator
•
14.4K Posts
•
56.2K Points
0
October 29th, 2006 22:00