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

svnadmin create over CIFS mount.

From: Terry Dooher <Terry.Dooher_at_naturalmotion.com>
Date: Fri, 9 Jul 2010 18:16:03 +0100

Hi all,

I'm currently re-working a backup script to use svnsync instead of hotcopy due to the amount of time the latter is taking.

My svn server is Debian etch running svn 1.6.11 (from source), which mounts a Windows Server 2003 share using the CIFS driver (v. 1.45). I've been successfully running hotcopies over the same share for some time.

The script will try to create and initialise a destination if one doesn't already exist. This part seems to break on the command:
       svnadmin create /mnt/svnbackup/repo

I've tried it manually and every time it pauses for about 10 seconds before returning:
       svnadmin: database is locked
       
...after which it has created the following files:
        repo
        repo/db
        repo/locks
        repo/locks/db-logs.lock
        repo/locks/db.lock
        repo/README.txt

I can work around this by creating/initialising it locally and moving it into place, but this is less than ideal. Does 'svnadmin create' do anything interesting or expect some kind of behaviour from the filesystem it's writing to?

Cheers,

Terry.
Received on 2010-07-09 19:17:06 CEST

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.