[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: testing a cvs mirror

From: Mike Pumford
Subject: Re: testing a cvs mirror
Date: Thu, 20 Dec 2001 11:47:05 +0000

> Hi
> I could setup a cvs mirror, but I want to make sure it has all
> the versions of all the files of the main cvs server.
> 1. Is there any standard method/tool for testing a mirror?
The approach I use is this.
Compute MD5 checksums of all ,v files on the master.
Compute MD5 checksums of all ,v files on the mirror.

Sort the MD5 checksum files and then do a diff. This seems to be a 
fairly safe approach (CVS is disabled while this check is done so that
people cannot modify the ,v files). This will automatically verify all
versions of the file at once. 

This is done automatically just after the mirror has been synced with the
main server using rsync. Although rsync  has its own checksumming system
this has trapped some files that were bit scrambled during the rsync transfer 
due to bad RAM.

The process described takes about 15 minutes on a P200 Linux SCSI system for
about 2.5G of data which is a not unreasonable amount of down time in our 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]