1748280 Members
4044 Online
108761 Solutions
New Discussion юеВ

MSL6030

 
SOLVED
Go to solution
Paul Clayton_1
Frequent Advisor

MSL6030

I have an MSL6030 fibre attached tape library with one LTO3 drive. The server is HP-UX 11.11.
ioscan shows the tape and schgr devices. The tape drive functions, but the exchnager does not. Using the "mc' command, we "no device".
Is there a special set up for these libraries?
9 REPLIES 9
Luk Vandenbussche
Honored Contributor

Re: MSL6030

Hi Paul,

The schgr has a device file like

/dev/rac/c8t0d0

mc command is

mc -p /dev/rac/c8t0d0 -r ISDM (to check inventory)
mc -p /dev/rac/c8t0d0 -s S1 -d D1 (to load a tape)
mc -p /dev/rac/c8t0d0 -s D1 -d S1 (to unload a tape)
Paul Clayton_1
Frequent Advisor

Re: MSL6030

When I do this I get
ERROR: No device. Even though ioscan show a claimed device.
Luk Vandenbussche
Honored Contributor

Re: MSL6030

Hi Paul,

Have you rescanned everything yet?

ioscan -fn
insf -e

Is it still claimed then?
Double check also your scsi cables.
Paul Clayton_1
Frequent Advisor

Re: MSL6030

Add the latest patch against the fibre card, and no luck. Removed the device, and re-ioscanned. The device appears with device drivers, but no access. Just the error.
David Ruska
Honored Contributor

Re: MSL6030

Paul,

Can you run this:
ioscan -fn > ioscan.output

and then post the output?

Have you created a device file for the robot with the mknod command that uses the sctl driver?
The journey IS the reward.
David Ruska
Honored Contributor
Solution

Re: MSL6030

Paul,

Since it may be hard to find, here's a summary on how to make the sctl device file:

The following command is used to create the device file for the sctl driver to the robotics:

mknod /dev/scsi/ c 203 Minor_#

where is the name you would like for the robot. FYI, 203 is the Major number for for sctl driver.

The minor_# is of the format "0xIITL00" is determined by looking from the ioscan output. They are as follows:

II -> The Instance number of the SCSI bus interface (NOT of the device). This is reported by the ioscan -f output is in the second column, labeled with "I".

T -> The SCSI address of the library robotics.

L -> The LUN number of the library robotics.

00 -> Two hexadecimal zeroes.

Here is an example:

> ioscsan -fn | more

ext_bus 48 0/4/0/0.1.23.255.0 fcpdev CLAIMED INTERFACE FCP Device Interface
target 18 0/4/0/0.1.23.255.0.0 tgt CLAIMED DEVICE
autoch 2 0/4/0/0.1.23.255.0.0.0 schgr CLAIMED DEVICE HP MSL6000 Series
/dev/rac/c48t0d0
tape 43 0/4/0/0.1.23.255.0.0.1 stape CLAIMED DEVICE HP Ultrium 2-SCSI
tape 44 0/4/0/0.1.23.255.0.0.2 stape CLAIMED DEVICE HP Ultrium 2-SCSI
ctl 52 0/4/0/0.1.23.255.0.0.3 sctl CLAIMED DEVICE HP NS E1200-160

In the example, the instance number is 48, so we must enter 0x30 as hexadecimal digits, (i.e. 30). The SCSI address and Lun for MSL robot below are 0 and 0. (the last two digits of device path).

The command would tehrefore be:

> mknod /dev/scsi/MSL6000 -c 203 0x300000
The journey IS the reward.
Paul Clayton_1
Frequent Advisor

Re: MSL6030

Sorry for the delay. OK we had the HP guy out and they could not find a hardware problem, but I still got an issue. Here is my ioscan of the device. When I run mc, I get this error.

# mc -p /dev/rac/c6t13d0 -s MIDS
ERROR: No such device


Paul Clayton_1
Frequent Advisor

Re: MSL6030

David,

Your suggestion work 100%. Thanx - points awarded. Does ask the question as to why this is not configured automatically.
david_913
New Member

Re: MSL6030

Hi

For automatic detection, you create a device file in /dev/sctl instead of /dev/rac.(using mknod command)
It will automatically detect and configure robot as well as tape drive.