[Veritas-bu] vmchange multi-eject - how to script
2003-11-18 10:54:13
Subject: |
[Veritas-bu] vmchange multi-eject - how to script |
From: |
WTSmith AT maine DOT edu (Wayne T Smith) |
Date: |
Tue, 18 Nov 2003 10:54:13 -0500 |
Paul Porcelli wrote, in part:
> The vmchange command to eject the tapes is:
> vmchange -res -multi_eject -w -verbose -rn 0 -rt tld -rh gla1bs01 -ml $MLIST
>
> This command asks you to empty the CAP and then press return to continue.
> Not sure how I can handle this in a script.
> If I pass a return as input to the command then the tapes will be loaded
> back
> into the L180 !!!
My (L700) script uses ...
/opt/openv/volmgr/bin/vmupdate -rt tld -rn 0 -rh wwww -h wwww
-involgrp xxxx -outvolgrp yyyy -p zzzz -use_barcode_rules
-empty_map
... your version will vary ... cheers, wayne
|
|
|