Networker

Re: [Networker] Scan order when rebuilding client file index via scanner?

2012-03-29 15:35:40
Subject: Re: [Networker] Scan order when rebuilding client file index via scanner?
From: Michael Leone <Michael.Leone AT PHA.PHILA DOT GOV>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 29 Mar 2012 15:30:14 -0400
> Hi Michael,
> 
> if you have index:<client>  savesets on those tapes, scanner -m willget 
that 
> info on the media db too and you should be able to recover those 
> indices using 
> the nsrck -L7  command.  That should save you some scanner time.

I don't, unfortunately. We've always done index backups separately.

> But why not using scanner -i from the beginning? it may recover some 
indices 
> (if not, it will work as scanner -m)

Because I didn't know the order of the savesets when I got the tapes. When 
you don't know the order, you have to populate the media database first 
(by "scanner -m", then query for the order using mminfo, then scan to 
rebuild the index (with "scanner -i"). Or so EMC says, anyway - "scanner 
-i" *must* be done in the correct order (i.e., order written).

The tapes aren't really named Tape-1, -2, -3l I just used those names in 
my post. :-)

> 
> 
> jee
> 
> 
> 
> On Wednesday 28 Mar 2012 13:49:53 you wrote:
> > I have some old tapes, from a different Networker server, that I must 
scan
> > and recover. Note that these tapes have never been in my media index. 
So I
> > know I need to do "scanner -m" to rebuild the media index first, and 
then
> > "scanner -i" *in the proper order* to rebuild the client index.
> > 
> > There are 6 tapes. I luckily happen to know what clientid I am looking
> > for, thanks to an old report, so I created a client entry for it, 
using
> > the same name. I've already scanned 3 of the tapes; doing an mminfo 
shows
> > me:
> > 
> >  volume      client     name      date     time
> > Tape-1        Client  D:\     4/28/2007 1:44:21 AM
> > Tape-2        Client  D:\     4/28/2007 1:44:21 AM
> > Tape-3        Client  D:\     4/28/2007 1:44:21 AM
> > 
> > I know I need to do an mminfo with "fragflags", to see which tape has 
the
> > "h" flag (start of set), "t" (tail of set), and which has "m" (middle 
of
> > set), and that's my order to rebuild the file index - "scanner -i" in
> > h,m,t order.
> > 
> > Will NW just prompt me as to what tape to scan next, presuming I start
> > "scan -i" on the "h" tape? I think it should know which tape it needs
> > next, shouldn't it? Isn't it smart enough so that as long as I have 
added
> > all the tapes to media index with "scan -m", if I then do "scan -i -S
> > <ssid>" and feed it the first tape (as specified by fragflags), it 
will
> > tell me which tape to insert next?
> > 
> > If not, how do I determine the order of multiple "m" tapes (presuming
> > there are multiple "m" tapes; I'm still scanning #4 of 6)?

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