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

Re: SVN wedged, please help

From: John Szakmeister <john_at_szakmeister.net>
Date: 2005-12-01 10:39:39 CET

On Wednesday 30 November 2005 14:46, tesh tesfaye wrote:
> Garrett,
>
> Thanks for pointing this subtle point. I did some more reading on
> http://svnbook.red-bean.com/ and your
> point was explained in detail that using BDB is bad with NFS :( I'm
> moving to FSFS and am running into
> weird problems trying to dump from BDB and get the error message:
>
> svnadmin: Berkeley DB error for filesystem /volume/projects/VOB/vobs1/db
> while opening environment:
> Resource temporarily unavailable
> svnadmin: bdb: unable to join the environment

tesh,

Did you change your original setup at all? Did you move your repository from
one machine to another? Had you been trying to use it via NFS?

There are a couple of things to realize about BDB. It's sensitive to version,
and platform. You can't just move your repository from one version to the
next without some additional work. And you can't move between cpu
architectures without a dump and load of the database. And as Garrett said,
you can't use it on an NFS mount.

If you changed versions of BDB in the process of trying to move things around,
you likely need to go through an upgrade process first, or you need to use
the original machine to dump the repository. Also, a good example of how to
do a catastrophic recovery can also be found in the FAQ:
  http://subversion.tigris.org/faq.html#bdb-recovery

I'd recommend that if you have a copy of the original broken repository,
before you ran all of these recover commands on it, that you start again with
that. If you haven't been doing this on the machine that originally held the
repository, I suggest you move back to the original machine and do the dump
there. If for some reason you can't do that, then use your new machine, but
run through the upgrade process. Normally, that means running svnadmin
recover. However, if the new machine has BDB 4.3.x, then you need to look at
this:
  http://subversion.tigris.org/faq.html#bdb43-upgrade

If you want to dump the data directly from BDB, you can also try the db_dump
command.

HTH.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 1 10:50:31 2005

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.