You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Klaus Rogall <kl...@web.de> on 2006/06/17 11:45:25 UTC

Problem: No locks on network drive

Hello,

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.

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)?

I'm working on WinXP with SVN 1.3, the network drive simply is a 
harddisk in a NAS unit.

Thanks for anyone who knows an answer.

Klaus Rogall,


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problem: No locks on network drive

Posted by Ulrich Eckhardt <ec...@satorlaser.com>.
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.

Uli

****************************************************
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