1845821 Members
3688 Online
110250 Solutions
New Discussion

mt command

 
SOLVED
Go to solution
Darren_25
Occasional Contributor

mt command

Hi,
I would like to use mt command to move my tape of library but who can tell me the syntax, for example, I want to move my tape from slot 7 to tape drive, thanks.
or another method for using unix command.
2 REPLIES 2
RAC_1
Honored Contributor
Solution

Re: mt command

mt is not for that.

mc(media changer is the command you need)

mc -p "device file of robotic_arm" -s "source" -d "destination"

Check man page for mc.
There is no substitute to HARDWORK
Michael Tully
Honored Contributor

Re: mt command

If you using omniback, you should not be using the 'mc' command but 'uma'

If not, here are some further examples:

# mc -p /dev/robot -r IDSM (shows door, drives, slots, hand)
# mc -p /dev/robot -sS7 -dD1 (move from slot 7 to drive 1)

To take the tape out.
# mt -t /dev/rmt/1m rew
# mt -t /dev/rmt/1m offl
# mc -p /dev/robot -sD1 -dS7
Anyone for a Mutiny ?