1834903 Members
2559 Online
110071 Solutions
New Discussion

Re: How to use MC??

 
Rajesh G. Ghone
Regular Advisor

How to use MC??

Hello,

Can someone tell me how to use MC command.

Regards,
Rajesh G.
Rajesh Ghone
4 REPLIES 4
Michael Tully
Honored Contributor

Re: How to use MC??

You should also take care of your points assignment problem as well. You can start here:

http://forums.itrc.hp.com/cm/UserProfile/1,,CA782973!1,00.html
Anyone for a Mutiny ?
Jerome Henry
Honored Contributor

Re: How to use MC??

For example, to move a tape from slot 1 to drive 1 :
# mc -p /dev/robot -sS1 -sD1

hth

J
You can lean only on what resists you...
Massimo Bianchi
Honored Contributor

Re: How to use MC??

Hi,
for a full descritpion refer to "man mc".

For a short descritpion:

mc -p /path_to_robotic_arm "commands"

where commands can be

-r DS : read Drive and Slot situation

-s D1 -d S1 : move from (s)cource Drive 1 to (d)estination Slot 1

/path_to_robotic_arm is something like /dev/rac/c1t3d4, or, if you have older model, /dev/picker


HTH,
Massimo

Michael Tully
Honored Contributor

Re: How to use MC??

For some reason my original post did not get added.

As long as you have the robotics set up this can easily be done. See attached document.

List devices with or without tapes in drives.
# mc -p /dev/robot -r D
List slots
# mc -p /dev/robot -r S
List CAP or the door
# mc -p /dev/robot -r I

To move a tape from slot 1 to drive 1 (-s source -d destination)
# mc -p /dev/robot -sS1 -dD1

Regards
Michael
"When I have trouble spelling, it's called fat finger syndrome."
Anyone for a Mutiny ?