[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: I need HELP recovering a DEAD repository

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-04-14 12:03:54 CEST

Whitehouse Kamin wrote:
> I was using 1.0.0-1 and upgraded this morning to
> 1.0.1-1 on my RH9 machine, simply by installing the
> new rpms. then, there were problems using the
> repository. I tried to run svnadmin 'recover, dump,
> and verify' but it just hangs. I've tried reverting
> back to 1.0.0-1 and it also hangs.
>
> I have no idea if it is doing something or just
> hanging. The repos is 8.5Gigs, but only a meg or so
> has changed recently. I've let svnadmin run for up to
> 5 hrs, is this reasonable? does anybody know how long
> svnadmin might be expected to run, or if there is a
> way to get more output from it (eg verbosity)?
> Usually, it finishes in about 5secs with this repos.

Annoyingly, the underlying database library (Berkeley DB) provides no
feedback during recovery.

I suggest you do the following:

1. Make *absolutely sure* that no processes are accessing the repository.
It's probably best to rename the repository, so that no-one else but you can
find it during recovery.

2. Change to the db subdirectory of the repository.

3. Run "db_recover".

4. In another terminal, run "lsof | fgrep log.". The recovery process
usually has 2 log files open, the one currently being processed, and the
latest one. You can monitor recovery progress by watching the
currently-processed logfile move closer to the latest.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 14 12:04:49 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.