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

question regarding shared locks on Files in NFS mounts

From: Jaya Gopalakrishnan (jgopalak) <jgopalak_at_cisco.com>
Date: Mon, 14 Apr 2008 22:12:40 -0700

Hi All,

  We are trying to use NFS/NAS for storing our SVN repositories. But
when I tried to run the SVN commands on the repositories which are in
NFS, I get the following errors. The same thing works great if it is in
any other location other than NFS mounted directories.


The command that I tried to run :

opt/CollabNet_Subversion/bin/svnadmin hotcopy
/mvn-repo/svn/repositories/cisco.repo /tmp/18794/cisco.repo


The error that I am getting:

svnadmin: Can't get shared lock on file
'/mvn-repo/svn/repositories/cisco.repo/locks/db-logs.lock': No locks


I found some solutions on the mailer list from the earlier posting..


"...changed the NFS mount option from default to
"hard,intr,bg,nolock,rw" and remount the nfs directory to my local mount



Any suggestion/solution on the above problem...?


Thanks and Regards,


Received on 2008-04-15 07:13:06 CEST

This is an archived mail posted to the Subversion Users mailing list.