Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

persistent tape binding OEL 5.8 + OSB 10.4.0.1.0

User12609645-OracleJun 27 2012 — edited Nov 26 2012
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 24 2012
Added on Jun 27 2012
6 comments
5,107 views