[Top][All Lists]

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

Re: Repository File Corruption

From: Donald Sharp
Subject: Re: Repository File Corruption
Date: Fri, 28 Mar 2003 17:14:38 -0500
User-agent: Mutt/1.4i

On Fri, Mar 28, 2003 at 12:48:13PM -0800, Wayne Johnson wrote:
> We had an interesting experience last night.  We have a RH Linux CVS
> server that holds several (hundred?)thousand repository files.  A large
> number (>50) of the CVS files got corrupted (truncated) when (according
> to the history file) one of our users in Germany did a Tag request.  The
> files affected were contained only within a few directories, but didn't
> seem to follow any pattern.  
> This happened once before, last year.  Same repository but a different
> machine (which we promptly executed and buried in the back lot).  We now
> have a new superfast multi-processor raid-5 server.  We would REALLY
> prefer this not happen again.
> One interesting coincidence was that most of the files needing to be
> restored were on the backup tape that was started just a few minutes
> before the corruption occurred.  10 were corrupted on this tape and we
> had to restore from the previous nights tape.
> Is it possible that somehow our Veritas back up program is confusing CVS
> somehow?  I can't see the Veritas backup daemon modifying the file, and
> our sysadmin doesn't think it should even be locking the file.

Backup's of the repository should ideally lock the repository so
that it's not changing underneath you as you save the data off.

> Anyone have any other ideas?  

Yeah, alot depends on how you access the data in the repository.
I'd hazard a guess and say that you are just remotely mounting
the repository everywhere.  I'd suggest switching over to using
pserver or the ext access methodology.

> =====
> ---
> Wayne Johnson,             | There are two kinds of people: Those 
> 3943 Penn Ave. N.          | who say to God, "Thy will be done," 
> Minneapolis, MN 55412-1908 | and those to whom God says, "All right, 
> (612) 522-7003             | then,  have it your way." --C.S. Lewis
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
> _______________________________________________
> Info-cvs mailing list
> address@hidden

reply via email to

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