Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have mounted a share on my Ubuntu machine. I am unable to checkout a subversion working copy onto this share. When I try to do so, I get an error message:

svn: E200033: database is locked, executing statement 'CREATE TABLE REPOSITORY...

However,
1) I am able to check out the same repository in a local directory.
2) My colleague on a mac is able to check the repository to the shared directory.

Here are my specs:
Ubuntu 12.04
svn 1.7.5
mount.cifs version: 5.1

//scorpio-dev/iemav_dev$    /home/selah/Shares/iemav_dev        cifs noauto,credentials=/etc/cifspw,uid=1000,dir_mode=0777,file_mode=0666 0 0
share|improve this question

1 Answer 1

up vote 3 down vote accepted

You need to set the NOBRL option when mounting the CIFS share. Apparently this is a problem with apps that use SQLite - SVN 1.7 and Firefox come to mind.

Here is the reference for NOBRL

NOBRL - Do not send byte range lock requests to the server. This is necessary for certain applications that break with cifs style mandatory byte range locks (and most cifs servers do not yet support requesting advisory byte range locks).

share|improve this answer
    
I tried this and now my WC is hosed, it's giving svn: E200030: sqlite: database disk image is malformed –  Matt McHenry Mar 5 '13 at 19:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.