This is what I know...
$VMCHANGE -multi_eject -w -h $VDBHOST -res -verbose -ml `cat <list of
tapes>` -rn 0 -rt TLD -rh $VDBHOST << EOI
N
EOI
The no is the same as saying NO in the gui. Leaves the tapes in the map.
-----Original Message-----
From: veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of toaster
Sent: Friday, November 07, 2008 9:33 AM
To: VERITAS-BU AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Does anyone use their own scripts to eject tapes?
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
|