Networker

Re: [Networker] mminfo foo magic?

2004-04-19 15:59:40
Subject: Re: [Networker] mminfo foo magic?
From: "Faidherbe, Thierry" <thierry.faidherbe AT HP DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Mon, 19 Apr 2004 21:59:34 +0200
Do not forget SSID stored on only 1 medium .... no hb, mb nor tb,
just cb as sumflags....

So, mminfo you are interrested with may looks like at

mminfo -q ssid=<ssid> -r sumflags,ssid,volume |grep -E "^cb|^hb" 

If you do prefer, use ...|grep -E "^c|^h" to not take care
about valid or not ssid ....

HTH,

Th




Kind regards - Bien cordialement - Vriendelijke groeten,

Thierry FAIDHERBE

HP Services - Storage Division
Tru64 Unix and Legato EBS Consultant
                                   
 *********       *********   HEWLETT - PACKARD
 *******    h      *******   1 Rue de l'aeronef/Luchtschipstraat
 ******    h        ******   1140 Bruxelles/Brussel/Brussels
 *****    hhhh  pppp *****   
 *****   h  h  p  p  *****   100/102 Blv de la Woluwe/Woluwedal
 *****  h  h  pppp   *****   1200 Bruxelles/Brussel/Brussels
 ******      p      ******   BELGIUM
 *******    p      *******                              
 *********       *********   Phone :    +32 (0)2  / 729.85.42   
                             Mobile :   +32 (0)498/  94.60.85 
                             Fax :      +32 (0)2  / 729.88.30   
     I  N  V  E  N  T        Email :    thierry.faidherbe AT hp DOT com
                             Internet : http://www.hp.com/ 
________________________________________________________________________

MOBISTAR SA/NV 

SYSTEM Team Charleroi, Mermoz 2 Phone : +32 (0)2  / 745.75.81  
Avenue Jean Mermoz, 32          Fax :   +32 (0)2  / 745.89.56  
6041 GOSSELIES                  Email : tfhaidhe AT mail.mobistar DOT be
BELGIUM                         Web :   http://www.mobistar.be/
________________________________________________________________________

 

-----Original Message-----
From: Legato NetWorker discussion [mailto:NETWORKER AT LISTMAIL.TEMPLE DOT EDU]
On Behalf Of Tim Mooney
Sent: Monday, April 19, 2004 9:39 PM
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: Re: [Networker] mminfo foo magic?

In regard to: Re: [Networker] mminfo foo magic?, Robert L. Harris said
(at...:

>My full mminfo command is as such:
>
>{0}:/home/staff/rharris>mminfo -v -q 'copies=1, !incomplete,
level=0,pool=ONSITE' -v -o tR -r 'volume,ssid,totalsize'

[ ]
>
>(not the -v after the -q options).  The last 5 are the problems.

What the `-v' shows is being overridden by the fact that you're
specifying
what fields to report on.

>When I try sumflags I get this:
>
>{1}:/home/staff/rharris>mminfo -v -q 'copies=1, !incomplete,
level=0,pool=ONSITE, sumflags=h' -o tR -r 'volume,ssid,totalsize'
>mminfo: constraint `sumflags' is only valid for reports
>usage: mminfo [-avV] [-o order] [-s server] [report] [query]
>[volname...]
>
><report>: [ -m | -p | -B | -S | -X | -r reportspec ]
><query>:  [-c client] [-N name] [-t time] [-q queryspec]

It gives you a pretty good idea what the problem is, though:

        mminfo: constraint `sumflags' is only valid for reports

In other words, you can't query on sumflags, but you can report them.
You'll have to postprocess the output in some manner, to find the
particular volume that contains the (h)ead of the saveset you're
interested in.  Having sumflags as the first column in the report output
might make it easiest to match using something like grep, awk, perl, or
even sed.

So, it's not as easy as you would like, but it's doable without too much
trouble.

Tim
--
Tim Mooney                              mooney AT dogbert.cc.ndsu.NoDak DOT edu
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

--
Note: To sign off this list, send a "signoff networker" command via
email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

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