The command that I use is…
vmchange -h <master>
-multi_eject -res -ml <colon delimited list of tapes> -rt <robot
type> -rn <robot number> -rh <media> -sc -verbose
I found the –sc option through
google somewhere a while back, not sure if it is supported, but it is not
documented as far as I have seen.
I have tried this on unix and windows.
From: lfafard AT saskpower DOT com
[mailto:lfafard AT saskpower DOT com]
Sent: Friday, December 28, 2007
1:47 PM
To:
veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Ejecting
Tapes in Netbackup 6.0 MP5
Is anyone using scripts to auto eject tapes from their
library?
In
the previous versions I had a script to eject the tapes that used the following
command:
vmchange -rn 0 -res -m MED001 -mt DLT3 -e -sec 1
These
parameters no longer work with Netbackup 6 (imagine that)
I
see they have a multi-eject parameter but that command is interactive. If
run without the -w parameter Netbackup spawns another tldcd process which locks
access to the library.
I
need something that can be run via a script.
Thanks
Lowell
____________________
This email including attachments is confidential and proprietary. If you
are not the intended recipient, any redistribution or copying of this message
is prohibited. If you have received this email in error, please notify us
by return email, and delete this email.