Operating System - HP-UX
1826665 Members
2505 Online
109696 Solutions
New Discussion

Ignite tapes ejected when Ignite completes

 
SOLVED
Go to solution
Joan Blais
Frequent Advisor

Ignite tapes ejected when Ignite completes

I have several Ignites that still run to DAT drives, HP device #C5683A.
Most eject the tape upon completion, but some do not. The Ignite scripts are set up the same:
/opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -a /dev/rmt/cXtYdZBESTn
/usr/bin/mt -t /dev/rmt/cXtYdZBESTb offline
Any way to force the tape to eject?
Thanks,
Joan
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: Ignite tapes ejected when Ignite completes

The way to force the tape to eject is to use the mt offline command - as you are doing. Are you sure it is present in all your scripts? Patch level differences? Tape drive differences? Firmware level differences?


Pete

Pete
Rick Garland
Honored Contributor

Re: Ignite tapes ejected when Ignite completes

Using the mt command with the offline option is how to make a tape eject.

The tape will reqind before offline (ejecting).
What happens if you issue rewind with the mt command? And do this before you mt-offline?

mt -t /dev/rmt/cXtYdZBESTb rewind
mt -t /dev/rmt/cXtYdZBESTb offline

Pete Randall
Outstanding Contributor
Solution

Re: Ignite tapes ejected when Ignite completes

Joan,

It shouldn't make any difference I wouldn't think but you're writing to the AT&T style device, then rewinding the Berkely style device. I would be tempted to try "/usr/bin/mt -t /dev/rmt/cXtYdZBESTn offline" and see if that makes any difference.


Pete

Pete
Joan Blais
Frequent Advisor

Re: Ignite tapes ejected when Ignite completes

Pete, changing the b to an n worked.
Thank you
Joan Blais
Frequent Advisor

Re: Ignite tapes ejected when Ignite completes

/usr/bin/mt -t /dev/rmt/c4t1d0BESTn offline
Raj D.
Honored Contributor

Re: Ignite tapes ejected when Ignite completes

Hi Joan ,

You could try with n option as said above.

And also make rewind opetion before offile

/usr/bin/mt -t /dev/rmt/cXtYdZBESTn rew
/usr/bin/mt -t /dev/rmt/cXtYdZBESTn offl

----------------------------------------
rew Rewind tape.
offl Rewind tape and go offline.
-----------------------------------------


Cheers,

Raj.
" If u think u can , If u think u cannot , - You are always Right . "