persistent tape binding OEL 5.8 + OSB 10.4.0.1.0
HI,
I'm having trouble getting persistent tape binding to work in OEL with a SL3000 library. I've consulted Doc 971386.1 and must be having some syntax issues in /etc/udev/rules.d/50-udev.rules.
I understand the 'nst' entries are not needed.
Can someone send a sample showing how the strings below for a STK library and a tape drive should look?
Do I need to edit anything inbetween {} ?
Do I need all four lines for the changer and three lines per tape drive?
# type 8 devices are "Medium Changers"
KERNEL=="sg*", IMPORT{parent}=="ID_*"
KERNEL=="sg*", SUBSYSTEM=="scsi_generic", SYSFS{type}=="8", ENV{ID_SERIAL}=="", IMPORT{program}="scsi_id -g -u -x -s %p -d $tempnode"
KERNEL=="sg*", SUBSYSTEM=="scsi_generic", SYSFS{type}=="8", ENV{ID_SERIAL}=="", IMPORT{program}="scsi_id -g -u -x -a -s %p -d $tempnode"
KERNEL=="sg*", SUBSYSTEM=="scsi_generic", SYSFS{type}=="8", ENV{ID_SERIAL}=="?*", SYMLINK+="tape/by-id/$env{ID_BUS}-$env{ID_SERIAL}"
# type 1 devices are "Tape Drives"
KERNEL=="sg*", SUBSYSTEM=="scsi_generic", SYSFS{type}=="1", ENV{ID_SERIAL}=="", IMPORT{program}="scsi_id -g -u -x -s %p -d $tempnode"
KERNEL=="sg*", SUBSYSTEM=="scsi_generic", SYSFS{type}=="1", ENV{ID_SERIAL}=="", IMPORT{program}="scsi_id -g -u -x -a -s %p -d $tempnode"
KERNEL=="sg*", SUBSYSTEM=="scsi_generic", SYSFS{type}=="1", ENV{ID_SERIAL}=="?*", SYMLINK+="tape/by-id/$env{ID_BUS}-$env{ID_SERIAL}"
Thanks!
Jason