Veritas-bu

Re: [Veritas-bu] Does anyone use their own scripts to eject tapes?

2008-11-07 17:53:42
Subject: Re: [Veritas-bu] Does anyone use their own scripts to eject tapes?
From: "Kelley, Travis" <travis.kelley AT etrade DOT com>
To: VERITAS-BU AT mailman.eng.auburn DOT edu
Date: Fri, 07 Nov 2008 17:34:44 -0500
I was informed of the single_cycle argument during a support call with Veritas.  I believe its function is to get around the "(press <RETURN> to continue)" prompt that you referenced.  I eject tapes using this command from a script regularly and our operations staff picks the tapes up from the MAP at their leisure.

toaster wrote:


Kelley, Travis wrote:
> /usr/openv/volmgr/bin/vmchange -res -multi_eject -rn $robotnum -rt $robottype -rh $robothost -ml $tapeid -single_cycle


Hi,

I wonder what the "single_cycle" do in your command? I've search in the man page, without finding anything related to that switch?

Usually when i do multi_eject, i do like (notice the -w, it is a must!)::
vmchange -res -multi_eject -w -verbose -rn $robotnum -rt robottype -rh robothost -ml TAPE001:TAPE001

But i do have to press CTRL-C after the "(press <RETURN> to continue)".  If i press return, the tapes are put back into the library instead.

I hear that there is a way to avoid pressing CTRL-C, witch is useful in a script.  But i can't remember?

+----------------------------------------------------------------------
|This was sent by herouxb AT gmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------


_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
<Prev in Thread] Current Thread [Next in Thread>