Hi Andrew,
I include a patch to amverify that add a third argument, the number of tape
you want to verify, it will take runtapes if the argument is absent.
I also include a new program (amverifyrun) which verify the tape
written in the latest run (amdump or amflush), this script grep
the log file to find the first slot to verify and the number of
tape use, it then call amverify with the appropriate parameters.
The third attachment is a patch for configure and Makefile to compile
and install amverifyrun.
I only did a few test, I'm using runtapes=1. Could you test it and
tell me if it works in your configuration.
Jean-Louis
On Wed, Sep 11, 2002 at 08:33:16AM -0700, Andrew Williams wrote:
> Is there a way to get amverify to only check tapes from the most recently
> completed backup? I currently have runtapes set to 3 (to allow for new hosts
> I'm going to be adding in the next few weeks) however the current backup only
> takes one tape. amverify is currently scanning it's 3rd tape (from a backup 2
> days ago) This takes a ton of time to scan tapes that have already been
> scanned. Any way around this other than writing a script to check the output
> of amtape show and run amverify per slot on the newest tapes only? Also, if
> you specify a slot with amverify does it then ignore the runtapes option?
>
> - andrew
>
> __________________________________________________
> Yahoo! - We Remember
> 9-11: A tribute to the more than 3,000 lives lost
> http://dir.remember.yahoo.com/tribute
--
Jean-Louis Martineau email: martineau AT IRO.UMontreal DOT CA
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLE Tel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7 Fax: (514) 343-5834
amverify.diff
Description: Text document
amverifyrun.sh.in
Description: Text document
amverifyrun.diff
Description: Text document
|