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

svnadmin hotcopy never ends

From: Eliop <igtorque.eliop_at_googlemail.com>
Date: Fri, 1 May 2015 14:21:31 +0200

svnadmin 1.8.13
Server: Centos 7 64-bit
Repo in local xfs disk
Backups in remote cifs share

This operation works without problems:
$ svnadmin hotcopy /path/to/repo /local/path/to/dest
With a small repo, it takes just a few seconds

But this one does not:
$ svnadmin hotcopy /path/to/repo /remote/path/to/dest

where /remote/path/to/dest is located on a remote cifs share.

Before detailing the problem, let me tell you that this problem did not
happen until I upgraded my server from Centos 5.5 & Subversion 1.6.16 &
local repository over ext3 to the configuration described above. (The
remote cifs share for backups is the same).

Now, the symptons are these: when I launch the hotcopy operation, I can see
that the repo is completely copied to the destination in a few seconds,
except for 3 files. After several minutes (even hours), ps ux shows that
svnadmin hotcopy is still active, but waiting for something that never
happens... No error or warning message is shown.

The three files are:
/path/to/repo/format
/path/to/repo/db/format
/path/to/repo/db/fs-type

It seems to me that these are the last files to be recreated in hotcopy
operations, but I do not really know.

The fact that the operation does succed on a local destination hints to
some problem with permissions, different filesystems, or who knows.

Here are the relevant parts of /etc/fstab, if they are needed:

LABEL=repoxfs /opt/csvn/data/repositories xfs defaults 1 2
//srvr/bkps /home/csvn/mnt/hotcopies cifs
username=csvn,domain=*,password=*,rw,uid=csvn,gid=csvn,dir_mode=0755,file_mode=0755
0 0

Any suggestions?

Thanks a lot.
Received on 2015-05-01 14:37:53 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.