Operating System - Tru64 Unix
1751907 Members
4954 Online
108783 Solutions
New Discussion юеВ

Re: HP MSL6000 for Linux

 
sammysammy
Frequent Advisor

HP MSL6000 for Linux

Hi, the HP MSL6000 tape library is working fine with Tru64 5.1B. But when we connect this tape library to the Linux system, we can't find the same program "robot" to work with the Linux system. The linux server is a Linux ES.

Where can I download a Robot program that works with MSL6000 that work with Linux?

Thanks
Sam
6 REPLIES 6
sammysammy
Frequent Advisor

Re: HP MSL6000 for Linux

hi, here is the lsmod output from the linux server:
# lsmod
Module Size Used by
sg 38369 0
cpqci 34096 7
parport_pc 28033 0
lp 15661 0
parport 38025 2 parport_pc,lp
autofs4 23109 0
i2c_dev 14529 0
i2c_core 26049 1 i2c_dev
ocfs2 351172 3
debugfs 14216 2 ocfs2
ocfs2_dlmfs 27144 1
ocfs2_dlm 199176 2 ocfs2,ocfs2_dlmfs
ocfs2_nodemanager 159360 9 ocfs2,ocfs2_dlmfs,ocfs2_dlm
configfs 28044 2 ocfs2_nodemanager
sunrpc 144037 1
dm_mod 60741 0
button 10705 0
battery 12997 0
ac 8901 0
md5 8129 1
ipv6 242657 24
uhci_hcd 32857 0
ehci_hcd 32325 0
e752x_edac 14785 0
edac_mc 20585 1 e752x_edac
hw_random 9685 0
tg3 101189 0
bcm5700 143084 0
bonding 65128 0
ext3 119113 6
jbd 59609 2 ocfs2,ext3
qla2400 207104 0
qla2300 129792 0
qla2xxx 307448 13 qla2400,qla2300
qla2xxx_conf 305924 1
cciss 63913 11
sd_mod 20545 5
scsi_mod 117709 4 sg,qla2xxx,cciss,sd_mod

I don't see a st module running in the system. do I need a st module?

What is an easy way to get MSL6000 working with linux? where can I find a script for doing backup/restore using MSL6000 in linux?

Thanks
S
Rob Leadbeater
Honored Contributor

Re: HP MSL6000 for Linux

Hi Sam,

You need to be looking at mtx. A man page is here:

http://www.die.net/doc/linux/man/man1/mtx.1.html

You should be able to get that going with whatever version of Linux you're using.

To check that you've got your tape devices recognised properly have a look at the output of dmesg, usually in /var/log, after a reboot, and you should hopefully see the tape devices being recognised.

Cheers,

Rob
sammysammy
Frequent Advisor

Re: HP MSL6000 for Linux

Hi, this MSL6000 library is sharing sharing with a Tru64 server and a Linux server.
In tru64, the Robot program identified the MSL6000 with the following info:

# MRU_ROBOT=/dev/changer/mc1
# export MRU_ROBOT
# robot show drives
DRIVE: 0 HG2960L3
DRIVE: 1 HG2962L3
# robot show slots
SLOT: 0 Empty
SLOT: 1 HG2970L3
SLOT: 2 HG2971L3
SLOT: 3 HG2972L3
SLOT: 4 HG2973L3
SLOT: 5 HG2974L3
SLOT: 6 HG2975L3
SLOT: 7 HG2976L3
SLOT: 8 HG2977L3
SLOT: 9 HG2978L3
SLOT: 10 HG2979L3
SLOT: 11 HG2938L3
SLOT: 12 HG2965L3
SLOT: 13 HG2952L3
SLOT: 14 HG2961L3
SLOT: 15 HG2963L3
SLOT: 16 HG2964L3
SLOT: 17 HG2953L3
SLOT: 18 HG2951L3
SLOT: 19 HG2954L3
SLOT: 20 HG2950L3
SLOT: 21 HG2957L3
SLOT: 22 HG2956L3
SLOT: 23 HG2955L3
SLOT: 24 HG2958L3
SLOT: 25 HG2959L3
SLOT: 26 HG2936L3
SLOT: 27 HG2935L3
SLOT: 28 HG2920L3
SLOT: 29 Empty
SLOT: 30 HG2944L3
SLOT: 31 HG2940L3
SLOT: 32 HG2941L3
SLOT: 33 HG2942L3
SLOT: 34 HG2943L3
SLOT: 35 HG2945L3
SLOT: 36 HG2946L3
SLOT: 37 HG2947L3
SLOT: 38 HG2948L3
SLOT: 39 HG2949L3
SLOT: 40 HG2924L3
SLOT: 41 HG2922L3
SLOT: 42 HG2923L3
SLOT: 43 HG2939L3
SLOT: 44 HG2929L3
SLOT: 45 HG2930L3
SLOT: 46 HG2933L3
SLOT: 47 HG2932L3
SLOT: 48 HG2931L3
SLOT: 49 HG2934L3
SLOT: 50 HG2925L3
SLOT: 51 HG2928L3
SLOT: 52 HG2927L3
SLOT: 53 HG2926L3
SLOT: 54 HG2921L3
SLOT: 55 HG2937L3
SLOT: 56 HG2966L3
SLOT: 57 Full
#

I want to see the similar information in linux, how can I use mtx do that?

Thanks
Sam
Rob Leadbeater
Honored Contributor

Re: HP MSL6000 for Linux

Hi Sam,

I've no personal experience of mtx, but the man page looks self explanatory.

# mtx -f /dev/sg0 status

Where /dev/sg0 is the device of your changer looks like it should do the job.

Cheers,

Rob
sammysammy
Frequent Advisor

Re: HP MSL6000 for Linux

Hi,

I got this output from the mtx command:

# mtx -f /dev/sg0 status
mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Illegal Request
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 20
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
READ ELEMENT STATUS Command Failed

Thansk
Sam
Rob Leadbeater
Honored Contributor

Re: HP MSL6000 for Linux

...because /dev/sg0 isn't your robot...

See my post in the Linux forum.

Cheers,

Rob

P.S. You might want to close this thread - and assign points - so the discussion continues in one place...