Operating System - HP-UX
1825751 Members
2998 Online
109687 Solutions
New Discussion

Re: Tape library autochanger device file (MSL5000)

 
Carl Houseman
Super Advisor

Tape library autochanger device file (MSL5000)

After a system was relocated, cabling is not quite the same and devices have moved/changed. The tape drive itself is fine, using /dev/rmt/2m instead of /dev/rmt/1m. The autochanger's new device is there too, now all I need to do is make the special device file to control it.

Going from the example of the former config,

root: ll /dev/robot.old
crw-r--r-- 1 root sys 203 0x411000 Mar 26 2007 /dev/robot.old
root: ll /dev/rmt/1m
crw-rw-rw- 2 bin bin 205 0x411100 Oct 23 09:06 /dev/rmt/1m

and now

root: ll /dev/rmt/2m
crw-rw-rw- 2 bin bin 205 0x421100 Dec 1 16:54 /dev/rmt/2m

I tried creating the special file with

root: mknod /dev/robot c 203 0x421100

but when trying the usual command it returns an error:

root: mc -p /dev/robot -r DS
ERROR: 0x5 Illegal Request : 0x2400 Invalid field in command descriptor block

Reading HP Document KBAN00000190 that explains all this stuff, I determined that I should have used:

root: mknod /dev/robot c 203 0x421000

But the results of that are:

ERROR: 0x2 Not Ready : 0x48d Unknown Additional Sense Code

Seems like I'm getting closer but not quite there. Any suggestions?

For completeness, here are the relevant ioscan outputs:

Class I H/W Path Driver S/W State H/W Type Description
=========================================================================
ext_bus 42 1/0/4/1/1.8.0.255.6 fcd_vbus CLAIMED INTERFACE FCP Device Interface
tape 2 1/0/2/1/0.1.16.255.0.1.1 stape CLAIMED DEVICE COMPAQ SDLT320
/dev/rmt/2m /dev/rmt/c66t1d1BEST
/dev/rmt/2mb /dev/rmt/c66t1d1BESTb
/dev/rmt/2mn /dev/rmt/c66t1d1BESTn
/dev/rmt/2mnb /dev/rmt/c66t1d1BESTnb
autoch 2 1/0/2/1/0.1.16.255.0.1.0 schgr CLAIMED DEVICE COMPAQ MSL5000 Series
/dev/rac/c66t1d0

Thanks everyone.
11 REPLIES 11
Carl Houseman
Super Advisor

Re: Tape library autochanger device file (MSL5000)

Update: I had someone load a tape manually and did a backup, all that went well. After that I tried another -r DS and now the result is:

ERROR: 0x2 Not Ready : 0x401 Logical unit in process of becoming ready

(time after time)
Torsten.
Acclaimed Contributor

Re: Tape library autochanger device file (MSL5000)

This is the changer device:

autoch 2 1/0/2/1/0.1.16.255.0.1.0 schgr CLAIMED DEVICE COMPAQ MSL5000 Series
/dev/rac/c66t1d0

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Prasanth Thomas
Valued Contributor

Re: Tape library autochanger device file (MSL5000)

Hi,

Please do the following steps.

1. mv /dev/rmt/2m /dev/rmt/1m
2. mv /dev/rmt/2mb /dev/rmt/1mb
3. mv /dev/rmt/2mn /dev/rmt/1mn
4. mv /dev/rmt/2mnb /dev/rmt/1mnb
5. ioscan
6. insf

Please try and let me know the update.

Regards,
Prasanth Thomas.
Torsten.
Acclaimed Contributor

Re: Tape library autochanger device file (MSL5000)

Thanks for nothing!

I don't really see where the problem is.

For example with "mc" you can control the robot using /dev/rac/c66t1d0.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Carl Houseman
Super Advisor

Re: Tape library autochanger device file (MSL5000)

Was it not clear that I knew what the changer device was? And I get the same results for

root: mc -p /dev/rac/c66t1d0 -r DS
ERROR: 0x2 Not Ready : 0x401 Logical unit in process of becoming ready

So it seems I created the robot device file correctly and there's a changer problem of some sort. Next up I guess I'll have them cycle power on it.
Carl Houseman
Super Advisor

Re: Tape library autochanger device file (MSL5000)

Prasanth, all your commands accomplish is making the tape drive available at its former device name. Those had no effect on the problem nor did they do change anything about access to the autochanger.
Torsten.
Acclaimed Contributor

Re: Tape library autochanger device file (MSL5000)

>> Logical unit in process of becoming ready

You are right. Have a look at the front panel or use the web console of this library to get the current status.

Was it moved too?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Carl Houseman
Super Advisor

Re: Tape library autochanger device file (MSL5000)

Don't understand the question "was it moved too". I started this topic saying a system was relocated, so that's a "move" and, yes, everything in the cabinet including the library went on the truck. If you mean some other kind of move or can define what "it" is, maybe I'll have another answer.
Torsten.
Acclaimed Contributor

Re: Tape library autochanger device file (MSL5000)

OK, the library was relocated too.

Maybe something is not properly seated now?

The device file will be OK, but you need to fix the library hardware first.

What is the status of the MSL?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Carl Houseman
Super Advisor

Re: Tape library autochanger device file (MSL5000)

What is the status? It all works, except for being commanded by the system. Tapes can be loaded/unloaded from the front panel. I don't have physical access to it so getting detailed information is not easy.
Carl Houseman
Super Advisor

Re: Tape library autochanger device file (MSL5000)

Cycling power on the tape drive took care of the problem.