Veritas-bu

[Veritas-bu] how to list volume GROUPS in NB?

2001-11-28 10:03:45
Subject: [Veritas-bu] how to list volume GROUPS in NB?
From: jaearick AT colby DOT edu (Jeff Earickson)
Date: Wed, 28 Nov 2001 10:03:45 -0500 (EST)
Larry,

   Thanks for the clues about these undocumented commands.  I ended up
writing two quick scripts to chop up the output of "vmquery -a -w" for
the info I wanted:

#!/usr/bin/sh
vmquery -w -a | cut -c1-8,91-97,105-120,132-140,307-324


and

#!/usr/bin/sh
vmquery -w -a | cut -c1-6,181-189,245-280

to give me information on pools, groups, tape locations (script 1) and
mount information (script 2).

--- Jeff

On Tue, 27 Nov 2001, Larry Kingery wrote:

> Date: Tue, 27 Nov 2001 16:06:58 -0500 (EST)
> From: Larry Kingery <larry.kingery AT veritas DOT com>
> To: Jeff Earickson <jaearick AT colby DOT edu>
> Subject: Re: [Veritas-bu] how to list volume GROUPS in NB?
>
> Try vmquery -v <volume group> once you have the names.
>
> Run vmadm, choose print, filter, volume group - a manual way to get
> them.
>
> There's always vmquery -a, or vmdb_dump too.
>
> See also vminitlists -javalist -b
>
>
> Jeff Earickson writes:
> > Hi,
> >
> >    I need some command-line (or bpadm) method of listing my volume GROUPS
> > and which tapes are in what group, like available_media.  There's beaucoup
> > information about volume pools but mightly little about volume groups.
> > I use volume group names to determine which group of tapes to bring back
> > from offsite -- so I need NB to tell me what tapes are in what group.
> >
> > ** Jeff A. Earickson, Ph.D                         PHONE: 207-872-3659
> > ** Senior UNIX Sysadmin, Information Technology    EMAIL: jaearick AT colby 
> > DOT edu
> > ** Colby College, 4214 Mayflower Hill,               FAX: 207-872-3076
> > ** Waterville ME, 04901-8842
> > ----------------------------------------------------------------------------
> >
> > _______________________________________________
> > Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>
> --
> Larry Kingery
>        If at first you DO succeed, try not to look astonished!
>


<Prev in Thread] Current Thread [Next in Thread>