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

Converting BDB to FSFS on NFS & linux

From: Chris Beck <cbeck_at_gene.concordia.ca>
Date: 2004-08-18 00:19:59 CEST

Hi,

I have a local BDB repository that I want to convert to FSFS ... I am trying to do this using the dump & load procedure recommended
in the book for migrating between versions.

I am mounting my remote partion using the following entry in fstab:
192.168.101.12:/mnt/hd/home/svn /data/svn-nfs-repos nfs
user,nfsvers=3,rsize=8192,timeo=14,tcp,hard,lock,intr,wsize=8192,noauto,posix 0 0

I successfully run

{nfs} svnadmin create --fs-type=fsfs /data/svn-nfs-repos/go-dev
{local} svnadmin create --fs-type=fsfs /data/svn-local-repos/go-dev

and the repository skeletons appears.

I successfully dump my BDB repos:

        svnadmin dump /data/svn-repos/go-dev > go-dev.dmp
        * Dumped revision 0.
        * Dumped revision 1.
        <skipping>

Next I try to load a dump of the BDB repository to the local FSFS:

        /opt/svn/bin/svnadmin load /data/svn-local-repos/go-dev < go-dev.dmp
        <<< Started new transaction, based on original revision 1
                * adding path : trunk ... done.
                <skipping scads more output>

Next I try to load the dump into the nfs repos (which I successfully created)

        svnadmin load /data/svn-nfs-repos/go-dev < go-dev.dmp
        svn: Error opening db lockfile
        svn: Can't get shared lock on file '/data/svn-nfs-repos/go-dev/locks/db.lock': No locks available

Ooops. Can anyone tell me why it failed and how I can successfully convert from BDB to NFS+FSFS on linux? Is there an nfs trick I
am missing out on?

Cheers,
Chris

--
Chris Beck / Y.A.B.A. / Fungal Genomics / Concordia University / tel. ext. 5791
ACK and ye shall receive
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 18 00:20:31 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.