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

svnadmin hotcopy problem - file being used by another process

From: Sam Duncan <sam.duncan_at_andromeda-telematics.com>
Date: 2007-05-10 19:50:57 CEST

Hi

I am running subversion server version 1.4.3 (r23084) on WinXP
Professional. I have a repository that is approximately 5GB. When I
attempt to peform a hotcopy using the command "svnadmin hotcopy
/path/to/repo path/to/backup", the backup process fails midway with an
error "svnadmin: Can't move /path/to/backup/db/revs/444.tmp to
/path/to/backup/db/revs/444 : The process cannot access the file because
it is being used by another process".

I don't understand why there should be any other processing accessing
this file as it is a file created by the hotcopy (i.e. the access
contention is not occurring over a file that is part of the repository).
The particular file that it fails on (444.tmp) is approx. 210 MB, so the
issue may be related to file size. There is approximately 40GB of free
space on the server, so overall disk space is not an issue. I am
running the hotcopy with administrative privileges, so access
permissions shouldn't be an issue.

Although it shouldn't be necessary, I have tried stopping the SVNServe
service before running the hotcopy. However, the same error occurs. I
have also tried doing "svadmin recover /path/to/repos" before the
hotcopy, again with no success.

I have also tried dumping the whole repository ("svnadmin dump
/path/to/repos > dump.txt") and then loading it into a newly created
repository. However, I get the following error, also pertaining to the
same rev (444) that gives an error as follows:

<<< Started new transaction, based on original revision 444
     * editing path : xx/xxx/xx/xx.cpp ... done.
     * adding path : xx/xxx/xx/xx.cpp ... done.
svnadmin: Can't open file
'c:\SvnRepo_new\db\transactions\443-1.txn\rev-lock':
The process cannot access the file because it is being used by another
process.

Any help in solving this would be much appreciated.

Regards
Sam Duncan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 10 19:51:27 2007

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.