StoreEver Tape Storage
Showing results for 
Search instead for 
Did you mean: 

tape library config questions

Go to solution
Jeff Nyberg

tape library config questions

Hello all,

I'm having trouble communicating with a DLT tape library from the command line. The system is running HP-UX 11.0 w/ Omniback II A.04.10. Everything seems just fine related to my nightly backups via Omniback, but I'm also running ftio backups nightly as well so I want to write a command into my script to load and unload the tapes.
I'm wondering if perhaps I can create a /dev/picker device file via mknod /dev/picker c 203 ox030000 or if that will cause me problems.
Here is all related output from the commands I could think of:

opt/omni/lbin # ioscan -fH 0/5
Class I H/W Path Driver S/W State H/W Type Description
ba 4 0/5 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ext_bus 3 0/5/0/0/4/0 c720 CLAIMED INTERFACE SCSI C896 Ultra2 Wide LVD
target 7 0/5/0/0/4/0.7 tgt CLAIMED DEVICE
ctl 3 0/5/0/0/4/0.7.0 sctl CLAIMED DEVICE Initiator
ext_bus 4 0/5/0/0/4/1 c720 CLAIMED INTERFACE SCSI C896 Ultra2 Wide LVD
target 8 0/5/0/0/4/1.0 tgt CLAIMED DEVICE
autoch 0 0/5/0/0/4/1.0.0 schgr CLAIMED DEVICE HP C7145-8000
target 9 0/5/0/0/4/1.1 tgt CLAIMED DEVICE
tape 2 0/5/0/0/4/1.1.0 stape CLAIMED DEVICE QUANTUM DLT8000
target 10 0/5/0/0/4/1.7 tgt CLAIMED DEVICE
ctl 4 0/5/0/0/4/1.7.0 sctl CLAIMED DEVICE Initiator
lan 1 0/5/0/0/6/0 btlan3 CLAIMED INTERFACE HP A5838A PCI 100BaseTX/SCSI COMBO
lan 2 0/5/0/0/7/0 btlan3 CLAIMED INTERFACE HP A5838A PCI 100BaseTX/SCSI COMBO

/usr/contrib/src # lsdev -d sctl
Character Block Driver Class
203 -1 sctl ctl

/opt/omni/lbin # cd /dev
/dev # ll |grep 0x030000
crw-r--r-- 1 bin bin 76 0x030000 Jul 30 06:15 gelan3
crw-rw-rw- 1 root root 203 0x030000 Apr 30 2002 robot

/usr/contrib/src # mc -p /dev/robot -r DS
ERROR: I/O error

opt/omni/lbin # ./uma -ioctl /dev/robot
*** PROGRAM: UMA VERSION: HP OpenView OmniBack II A.04.10

*** Copyright (C) 1996 Hewlett-Packard Company
*** License is restricted for use with licensed
*** HP OpenView OmniBack II products.

[Critical] From: "(unnamed)" Time: 07/30/03 12:51:16
[90:59] /dev/robot
Cannot open exchanger control device ([5] I/O error)

If anything else will help please let me know.

Thanks in advance for your assistance!

Alexander M. Ermes
Honored Contributor

Re: tape library config questions

Hi Jeff.
Perhaps the attached doc might help.
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Massimo Bianchi
Honored Contributor

Re: tape library config questions

check in /dev/rac/*

If OB is working, somewhere there must be a valid special file. YOu can check specifying the library and looking in the exachanger control device, pay also attention to the host specified.

Jeff Nyberg

Re: tape library config questions

Alexander - thanks for the reply. That is actually the doc I was working off. It only left this one mini-hurdle for me.

Massimo - that's the path I needed! When going through the same doc that Alexander suggested it looked to me that I would see a device file that would work right in /dev called picker or something similar. I was using /dev/robot, which was obviously not correct.

Thank you both for your hellp!!