Veritas-bu

Re: [Veritas-bu] A Better Way?

2007-07-03 10:50:36
Subject: Re: [Veritas-bu] A Better Way?
From: <mikemclain AT northwesternmutual DOT com>
To: <brooksje AT longwood DOT edu>, <veritas-bu AT mailman.eng.auburn DOT edu>
Date: Tue, 3 Jul 2007 09:33:03 -0500
Jason,

The command I use to parse the vmquery output is:

        vmquery -bx -a
                or
        vmquery -bx -m <media id>

 

Sample:  vmquery -bx -a | tail +4 | awk '{ print $1" "$14 }'



Mike


-----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 Brooks,
Jason
Sent: Tuesday, July 03, 2007 8:24 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] A Better Way?

I'm working on our scripting that automates some NBU functions.  One
thing
we currently do is keep a list of exported tapes (don't use vault and do
our
own offsite storage).  One thing I'm looking at doing is appending the
Volume Pool to the tape barcode in the file.  That way, we can make sure
all
the usual suspects are running.

>>From what I know and what I've found, the only way to do this is with
vmquery -m MEDIAID.  The output, however, is not what I'm looking for.
I
can work around it, but is there a terser output that anyone knows of?
Or
another way to get the pool for a particular tape?

Thanks,
Jason

------------
Jason Brooks
Computer Systems Engineer
IITS - Longwood University
voice - (434) 395-2034
fax - (434) 395-2035
mailto:<brooksje AT longwood DOT edu> 

This e-mail and any attachments may contain confidential information of 
Northwestern Mutual. If you are not the intended recipient of this message, be 
aware that any disclosure, copying, distribution or use of this e-mail and any 
attachments is prohibited. If you have received this e-mail in error, please 
notify Northwestern Mutual immediately by returning it to the sender and delete 
all copies from your system. Please be advised that communications received via 
the Northwestern Mutual Secure Message Center are secure. Communications that 
are not received via the Northwestern Mutual Secure Message Center may not be 
secure and could be observed by a third party. Thank you for your cooperation.

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu