We're running 6.5.5, and use a similar command from within a script, and it works fine. Here's whats in our script:
$VMCHANGE -vh $volumeHost -res -m $tape -mt $thisMT -rn $robotNumber -rh $robotHost -rt none -e -sec 1 Looks like the big difference is that we specify the -rn and -rh. I've tried running this without -rn and -rh, and I get syntax errors; perhaps this is the issue for you? -devon ------------------------------ Date: Thu, 10 Jun 2010 11:55:24 -0700 From: "Chapman, Scott" <scott.chap...@icbc.com> Subject: [Veritas-bu] Ejecting media via CLI To: <veritas-bu@mailman.eng.auburn.edu> Message-ID: <ed17d32a03eeb74482e4c920a5ae86060741c...@ex02vs299.icbc.net> Content-Type: text/plain; charset="us-ascii" OK, so this has me stumped. I used to use the following command in a script to automatically eject some tapes for me (for my operators actually): vmchange -vh $B_SERVER -res -m $clnmedia -mt hcart_clean -rt none -v --- -e -sec 1 (worked as of 5.0 but no more?) It worked like a champ, it would eject old cleaning tapes once they had been used up. However, this command no longer works and I'm not able to figure out a way to eject tapes without some sort of user intervention. Does anyone have any thoughts about if this is still possible? NetBackup 6.5.5 and 7 is what I'm running... Thanks! Scott Chapman Senior Technical Specialist Storage and Database Administration ICBC - Victoria Ph: 250.414.7650 Cell: 250.213.9295 ------------------------------------------------------------ This email and any attachments are intended only for the named recipient and may contain confidential and/or privileged material. Any unauthorized copying, dissemination or other use by a person other than the named recipient of this communication is prohibited. If you received this in error or are not named as a recipient, please notify the sender and destroy all copies of this email immediately. _______________________________________________ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu