Veritas-bu

Re: [Veritas-bu] Ejecting media via CLI

2010-06-15 14:39:34
Subject: Re: [Veritas-bu] Ejecting media via CLI
From: "Peters, Devon C" <Peters.Devon AT con-way DOT com>
To: "Scott.Chapman AT icbc DOT com" <Scott.Chapman AT icbc DOT com>, "veritas-bu AT mailman.eng.auburn DOT edu" <veritas-bu AT mailman.eng.auburn DOT edu>
Date: Tue, 15 Jun 2010 11:32:24 -0700
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.Chapman AT icbc DOT com>
Subject: [Veritas-bu] Ejecting media via CLI
To: <veritas-bu AT mailman.eng.auburn DOT edu>
Message-ID:
        <ED17D32A03EEB74482E4C920A5AE86060741C310 AT EX02VS299.icbc DOT 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 AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Veritas-bu] Ejecting media via CLI, Peters, Devon C <=