Operating System - HP-UX
1836596 Members
1622 Online
110102 Solutions
New Discussion

Re: Cannot open device ([6] No such device or address)

 
Rhonda Thorne_1
Advisor

Cannot open device ([6] No such device or address)

I have hpux 11 running OB2 4.1 with HP Surestore DLT tape library. I have been successful in managing tapes and drives with mt and uma commands. I have been able to move forward on the tape with mt command, however, when I do anything within omniback I get the erro message "Cannot open device ([6] No such device or address)" . I have deleted and reconfigured my 8 tape drives within OB2, but still no luck.
Thanks in advance for any offerings of support
9 REPLIES 9
RAC_1
Honored Contributor

Re: Cannot open device ([6] No such device or address)

What is the command line you are using? uma commandline.
There is no substitute to HARDWORK
Rhonda Thorne_1
Advisor

Re: Cannot open device ([6] No such device or address)

I am successful in moving tapes in and out of drives with uma. I can move a tape to a drive and tar -cvf /dev/rmt/9m /tmp to the tape. But when I am within Omniback II 4.1, it says no such device and hangs the tape within the drive. Where do I need to start within OB2?
Rhonda Thorne_1
Advisor

Re: Cannot open device ([6] No such device or address)

Sorry, to answer your question,
/opt/omni/lbin/uma -ioctl /dev/rac/c8t0d0 -barcode
stat D to show the drives and move to move tapes in and out of drives, mt offl between moves
Dietmar Konermann
Honored Contributor

Re: Cannot open device ([6] No such device or address)

Rhonda,

open(2)ing tape devices fails may fail with ENXIO when there is no medium loaded. Are you sure that you configured the library correctly? I mean the right device index for the right /dev/rmt/xxx?

Otherwise OB2 may load e.g. to drive X and then try to open drive Y. :)

Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
RAC_1
Honored Contributor

Re: Cannot open device ([6] No such device or address)

Can you boot library if possible and try all over again?
There is no substitute to HARDWORK
Rhonda Thorne_1
Advisor

Re: Cannot open device ([6] No such device or address)

When I deleted the tape drive within OB2, I added tehm back and allowed OB2 to assign drive index. I added them from lowest SCSI addy to highest. I loaded a tape into each drive (one at a time) and using diskinfo and mt commands I found which device file was assigned to the drive that was loaded. I can delete them again and readd them if I need to.
Rhonda Thorne_1
Advisor

Re: Cannot open device ([6] No such device or address)

When viewing the ioscan, which SCSI is lowest to highest?

0/12/0/1.4.0
0/8/0/0.3.0
1/4/0/0.2.0
0/2/0/1.6.0

I went by the last numbers (i.e. 1.6.0 being the highest) Is this correct? or do I take the whole number meaning that 0/12/0/1.4.0 would be the highest?
Rhonda Thorne_1
Advisor

Re: Cannot open device ([6] No such device or address)

I found the SCS ID listed in the drop down menu for SCS Address or filename of data drive. It is associated with the device file to select. Now that I have my drives installed again, I will stop start omniback and give it another try
Rhonda Thorne_1
Advisor

Re: Cannot open device ([6] No such device or address)

The drive indexs configured within omniback were incorrect. I found a document that helped lead me to relating the SCSI id to the drive number on the Library LED then assigning the drive index for that drive number.
Thanks for all of the offering of support.