Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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


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.