[OpenAFS] berkeley-db, svn and afs

Lars Schimmer schimmer@cg.cs.tu-bs.de
Thu, 03 Feb 2005 11:02:50 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Derrick J Brashear schrieb:
| On Wed, 2 Feb 2005, Hendrik Hoeth wrote:
|
|> Hi,
|>
|> I'd like to use subversion, but it uses berkeley-db for the repository.
|> Since berkeley-db uses mmap for locking (right?), in the svn
|> documentation they write
|>
|>  "As opposed to CVS, subversion is not based on RCS, but rather on the
|>   Berkeley Database. Make sure not to install a repository on remote
|>   file systems, like NFS, AFS, or Windows SMB. The database requires
|>   POSIX locking mechanisms, which these file systems do not support."
|
|
| well, you should be able to use the fsfs baackend instead of the
| berkeley db backend, i believe starting with svn 1.10

Right. We use it here, but we've got some problems.
Debian Sarge kernel 2.6.9, OpenAFS 1.3.74-1 from the experimental source, and
subversion *** 1.1.3-1 0, Apache2 and libapache2-svn in the same version.
For every repository I setup another AFSvolume RW by everyone (don't know how to
~ let svn get tokens to write on that).
On first test setup I used an other version ob subversion (for hell, I don't
know the version or where I got it from, far ago). With that I setup the whole
with fsfs reps.
To set this in production I setup the above system and it works so far.
BUT If I setup a new rep with the above configuration in fsfs, and $user tries
to use it over apache2, subversion first hits errors:

[Wed Dec 22 12:02:13 2004] [error] [client 134.169.cx.xc] Could not fetch
resource information.  [403, #0]
[Wed Dec 22 12:02:13 2004] [error] [client 134.169.cx.xc] (2)No such file or
directory: The URI does not contain the name of a
repository.  [403, #190001]
[Wed Dec 22 13:08:56 2004] [error] [client 134.169.cx.xc] Could not create
activity /private/MeshSerialize/!svn/act/26845af9-e3
18-4549-9b42-f6b4a6a09ce8.  [500, #0]
[Wed Dec 22 13:08:56 2004] [error] [client 134.169.cx.xc] could not close dbm
files.  [500, #89022]
[Wed Dec 22 13:08:56 2004] [error] [client 134.169.cx.xc] Can't close activity
db: Error string not specified yet  [500, #89022
]

But this is ONLY on the new created subs, and on a second or third retry, it
works without the errors.
I'm kinda helpless :-|

Cya
Lars
- --
- -----------------------------------------------------------------
Technische Universität Braunschweig, Institut für Computergraphik
Tel.: +49 531 391-2109            E-Mail: schimmer@cg.cs.tu-bs.de
PGP-Key-ID: 0xB87A0E03


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCAfbKVguzrLh6DgMRAo30AKDL2VNUSkbHti1ZnyjQXBUhPdaUKwCeOu+V
ZMolD+dNIL001iP0Wt0fpgE=
=q8C+
-----END PGP SIGNATURE-----