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

Re: Problem: No locks on network drive

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2006-06-19 08:17:22 CEST

On Saturday 17 June 2006 13:45, Klaus Rogall wrote:
> I created a SVN repository on a network drive. When connecting with a
> client I get an error because SVN can't create a lock file. (Doing the
> same on a local drive works fine, so it's definitly the network drive).
> A possible solution would be to seperate the locks (and other
> administration files) from the repository data.

You mean, like every user has their own local directory where they put
lockfiles? The very idea of lockfiles is that they coordinate access to a
resource that can't be accessed concurrently. In order to do that in the most
secure way, these lockfiles must be on the very same disk that the locked
files are on, so while what you ask for is possible, it would break the
effectiveness of these lockfiles and the data integrity of Subversion.

> My Question: is there a possibility to tell the SVN server to put the
> lock files to a seperate place (on local drive). Or the other way: can I
> create a repository on a local file, but configure the SVN server or the
> repository in a way that the server expect the repository data files on
> another location (network drive)? Are there any parameters I can user or
> configurations I can do ("svnserve.conf" or anywhere else)?

The typical advise is to simply not do that. Instead of serving the repository
itself via a network filesystem, start svnserve to serve the repository via
the svn protocol.


Visit our website at <http://www.domino-printing.com/>
This Email and any files transmitted with it are intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any reading, redistribution, disclosure or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient please contact the sender immediately and delete the material from your computer.

E-mail may be susceptible to data corruption, interception, viruses and unauthorised amendment and Domino UK Limited does not accept liability for any such corruption, interception, viruses or amendment or their consequences.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 19 08:17:50 2006

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.