Operating System - HP-UX
1819858 Members
3140 Online
109607 Solutions
New Discussion юеВ

Re: Problems loading tape to tape from tape library

 
David Heard
Occasional Advisor

Problems loading tape to tape from tape library

# mc -p /dev/rac/c4t0d0 -sST_slot_2 -dDT_slot_1
ERROR: 0x5 Illegal Request : 0x2101 Invalid element address
3 REPLIES 3
Denver Osborn
Honored Contributor

Re: Problems loading tape to tape from tape library

bad syntax... "Invalid element address"

For the 'element' use:

D = drive
S = slot

-moves tape from slot 2 to drive 1-

# mc -p /dev/rac/c4t0d0 -sS2 -dD1

-from drive 1 to slot 2-

# mc -p /dev/rac/c4t0d0 -sD1 -dS2

You may also need to create a device file for the robot that is bound to spt and not schgr... to do so...

# mknod /dev/robot c 203 0x??????

where 0x?????? is the minor# of /dev/rac/c4t0d0

# ll /dev/rac/c4t0d0 -> to get the minor#

test with...

# mc -d /dev/robot -rDS

Hope this helps,
-Denver

Denver Osborn
Honored Contributor

Re: Problems loading tape to tape from tape library

oops, type-o :)

to test...

# mc -p /dev/robot -rDS
David Heard
Occasional Advisor

Re: Problems loading tape to tape from tape library

I tried creating the robot link and I got the following error message

# ls -l /dev/rac/c4t0d0
crw------- 1 bin sys 231 0x040000 Nov 14 05:10 /dev/rac/c4t0d0
# mknod /dev/robot c 203 0x040000
# mc -d /dev/robot -rDS
ERROR: No such file or directory