Networker

Re: [Networker] issues w/ cloning failures

2004-07-26 16:49:11
Subject: Re: [Networker] issues w/ cloning failures
From: Steve Rader <rader AT GINSENG.HEP.WISC DOT EDU>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Mon, 26 Jul 2004 15:49:01 -0500
 > ---- Original Message ----
 > > I noticed a command line cloning (nsrclone -S) failure recently:
 > >
 > >  % grep 'can not read record' daemon.log
 > >  07/23/04 14:30:04 ansrd: ansrd_clone FAILED: errnum is -7 and errstr is
 >  can not read record 926 of file 2 on dlt tape nsr.103
 > >  07/23/04 14:30:09 nsrd: media info: can not read record 926 of file 2 o
 > n dlt tape nsr.103
 > >
 > >  % mminfo -v -q suspect nsr.103
 > >   volume        client          date     time        size ssid      fl
 >  lvl name
 > >  nsr.103        thyme           07/03/04 12:57:17 3103 MB 3874720257 cb
 > full /v/a/user.abc
 > >
 > >  % mminfo -v -q 'name=/v/a/user.abc' nsrclone.019
 > >   volume        client          date     time        size ssid      fl
 >  lvl name
 > >  nsrclone.019   thyme           07/03/04 12:57:17 3103 MB 3874720257 cb
 > full /v/a/user.abc
 > >
 > > This brings up some questions/issues:
 > >
 > >  - How do I detect/report about cloning falures?  looks like grep'ing
 > >    on something like "ansrd_clone FAILED" will do... but does anyone
 > >    else have a better solution?
 >
 > >  - Can I detect when clone (destination) save sets are no good?
 > >    (Yikes!  It's listed as complete and browseable!)  If not, perhaps
 > >    I should write a script to mark bad clones as incomplete??

 > From: Darren Dunham
 > You're only using a '-v' report, so the flags seen are the equivalent of
 > 'ssflags'.  ssflags are on a "saveset".  The backup completed, so this
 > saveset is complete and browsable.  Clone failures of that saveset
 > should not change that fact.
 >
 > You have a question about the particular clone.  Try your query again,
 > but this way...
 >
 > mminfo -av -q 'ssid=3874720257' -r 'volume,client,ssid,cloneid,clflags'
 >
 > I'd like to see the output of that.

well...

 % mminfo -av -q 'ssid=3874720257' -r 'volume,client,ssid,cloneid,clflags'
  volume        client     ssid          clone id clflg
 nsr.103        thyme      3874720257  1088877437
 nsrclone.019   thyme      3874720257  1090608900 F

where, alas, F means finished (according to man mminfo.)

steve
- - -
systems & network guy
high energy physics
university of wisconsin

--
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>