Networker

Re: [Networker] Determining the order of a saveset across multiple volumes

2010-08-31 06:10:48
Subject: Re: [Networker] Determining the order of a saveset across multiple volumes
From: "Macina, Conrad" <Conrad.Macina AT PFIZER DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Tue, 31 Aug 2010 06:10:16 -0400
At a Northeast User Group meeting back in 2007 there was a presentation
of "NetWorker Tips, Tricks and Techniques" that addressed this question.
The EMC presenter suggested using the "first" and "last" parameters in
an mminfo query:

mminfo -av -r 'first,last,volume,fragflags' -q ssid=<ssid_number>

first = The offset of the first byte of the save set contained within
the volume
last = Last byte of the save set contained within the volume

When a save set spans multiple volumes, (last+1) for an earlier volume
will equal (first) for the next.

Example (lifted from the presentation):

mminfo -av -r 'first,last,name,savetime,volume,fragflags' -q
ssid=1752513537
9263000884 9285388083 G:\ 08/25/02 DUJ008 hb 
9285388084 21237599631 G:\ 08/25/02 DUI569 mb
21237599632 35626511967 G:\ 08/25/02 DUI682 mb
35626511968 50295702259 G:\ 08/25/02 DUI596 mb
50295702260 64891442203 G:\ 08/25/02 DUI542 mb 
64891442204 72462112651 G:\ 08/25/02 MU5500 mb
72462112652 84234208103 G:\ 08/25/02 DUI710 tb

Conrad Macina
Pfizer, Inc.


-----Original Message-----
From: Michael Leone [mailto:Michael.Leone AT PHA.PHILA DOT GOV] 
Sent: Monday, August 30, 2010 11:48 AM
Subject: Determining the order of a saveset across multiple volumes

Suppose I have a saveset that spans 4 tapes. Fragflags would show me "h"
for begining of the set, and "t" for the tail end of the set", and "m"
for everything in the middle. But how can I tell which tape is #2 in the
sequence, and which is #3? I may have to re-scan old tapes that span 4
tapes; the tapes are in the media database, but not the file indexes, so
I will need to re-scan them. How do I construct an mminfo query to tell
me the order of written sequence, so that I can re-scan them in the
proper order?




-- 
Michael Leone
Network Administrator, ISM
Philadelphia Housing Authority
2500 Jackson St
Philadelphia, PA 19145
Tel:  215-684-4180
Cell: 215-252-0143
<mailto:michael.leone AT pha.phila DOT gov>

To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER