Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Subversion: file locking problem over nfs

NicovanVlietDec 21 2010 — edited Dec 21 2010
Hi,

I have a Solaris 10 server with a svn repository on a nfs export (/home/t4)
This export is mounted on several Linux machines (ubuntu, opensuse and more)

Whenever I try to commit changes from the Linux clients to the repository I get:

svn commit Makefile
svn: Commit failed (details follow):
svn: Can't get exclusive lock on file '/home/t4/repos/feature/db/txn-current-lock': No locks available
svn: Your commit message was left in a temporary file:
svn: '/home/t4/nico/Adapt_Crunch/CruncH/feature/trunk/svn-commit.tmp'

Note that the commit works perfectly from a Solaris nfs client.

With Google I found that mounting on Linux with the 'nolock' option would help (did not try it yet).
But if so, would that be safe and prevent multiple concurrent commits from different clients?

Is this locking problem with subversion and linux normal?

Thanks,
Nico
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 18 2011
Added on Dec 21 2010
2 comments
1,800 views