Operating System - HP-UX
1834498 Members
2658 Online
110067 Solutions
New Discussion

Re: How to move DLT tape to DLT drive by command in the DLT8000?

 
SOLVED
Go to solution
Chen Yingjie
Frequent Advisor

How to move DLT tape to DLT drive by command in the DLT8000?

I want to use UNIX command to move DLT tape which stored in the slot of DLT Library to the DLT drive.

Can someone give a advice?

Thank you and best regards.

Chen
10 REPLIES 10
Kent R. Arnott
New Member

Re: How to move DLT tape to DLT drive by command in the DLT8000?

The command you are looking for is omnimm

omnimm -enter LibraryName (Slot...|FromSlot-ToSlot...)
=== Moves media from the mail slots to the repository slots. This option is available only for SCSI-II libraries.

omnimm -eject LibraryName (Slot...|FromSlot-ToSlot...)
Moves media from the repository slots into the mail slots.This option is available only for SCSI-II libraries.

hope this helps.


Kent R. Arnott
New Member

Re: How to move DLT tape to DLT drive by command in the DLT8000?

The command you are looking for is omnimm

omnimm -enter LibraryName (Slot...|FromSlot-ToSlot...)
=== Moves media from the mail slots to the repository slots. This option is available only for SCSI-II libraries.

omnimm -eject LibraryName (Slot...|FromSlot-ToSlot...)
Moves media from the repository slots into the mail slots.This option is available only for SCSI-II libraries.

hope this helps.


Andreas Voss
Honored Contributor
Solution

Re: How to move DLT tape to DLT drive by command in the DLT8000?

Hi,

to interact with scsi tape libraries you can use the command: mc
You have to know the 'pass-through device' of your library.
Example:
To move tape from Slot 1 to Drive 1 type:
mc -p /dev/ -s S1 -d D1
For further details see man mc.

Regards

Andrew
Lothar Krueler
Regular Advisor

Re: How to move DLT tape to DLT drive by command in the DLT8000?

Hi Chen,
I think the "mc" command mentioned by Andreas is best. If you get problems in getting the tape out of the drive after doing your operations, use the "mt" command for rewinding and switching the tape offline.
"mt -f offl"
devicefilename may be something like "/dev/rmt/0m".
Lothar.
Wissen macht zaghaft, Dummheit kann alles!
Vince Inman
Frequent Advisor

Re: How to move DLT tape to DLT drive by command in the DLT8000?

If you have OmniBack installed, you can use the /opt/omni/lbin/uma utility. This is what OBII uses to manipulate the robotics.

An example:

/opt/omni/lbin/uma -ioctl

This will put you into the uma interface where you can them manipulate the devices with commands such as "stat", "move", etc.

If you do not have OBII, you can use the "mc"
command interface. The man pages will show you the syntax
Rita C Workman
Honored Contributor

Re: How to move DLT tape to DLT drive by command in the DLT8000?

I agree with Vince. Just run UMA and it will give you control over your DLT. It's a simple matter of 'move ' and this way you can control your slots/drives more effectively.
It's easy and quick....give it a try.

Regards
Frank Grabner
Occasional Advisor

Re: How to move DLT tape to DLT drive by command in the DLT8000?

It depends if you are using OmniBack or not.
If using OmniBack you can use the uma Command. If you don't use OmniBack you should use the mc Command (if not installed take a look in the Patch Database). With mc you can "talk" to the special file of the Robotics-Picker (see man Pages of mc).
First you have to configure your library in the system. See Note KBRC00003237 (Quick Installation) or KBAN00000190 (CONFIGURE A TAPE LIBRARY IN HP-UX (10.x, 11.x))

Hope this helps

Regards

Frank
Train stops at trainstations, bus stops at busstations... What happens at WORKSTATIONS?
Chen Yingjie
Frequent Advisor

Re: How to move DLT tape to DLT drive by command in the DLT8000?

Thank you every kind person for your effective advice. I will try mc command and report the result.

chen
Chen Yingjie
Frequent Advisor

Re: How to move DLT tape to DLT drive by command in the DLT8000?

Thanks.
I have try mc command and successfully moved dlt tape from slot to drive.

By the way, while use fbackup command to backup data to dlt tape, how to change the dlt tape automatically?

I think I can use mc command to answer fbackup's mount request. How to make the script? Is there a option on fbackup command?

Thanks.

Chen
phil foster
Advisor

Re: How to move DLT tape to DLT drive by command in the DLT8000?

Is there a way to do this from a unix cell manager to a NT
media agent?
I like omiback when it works