View Single Post
Old 01-18-2017, 03:23 PM   #9
gpm
Member
gpm began at the beginning.
 
gpm's Avatar
 
Posts: 12
Karma: 40
Join Date: Jan 2017
Device: Pocketbook, Tolino, Sony
Thumbs up

Actually, I had the very same problem.

I was able to solve it with the mount option "nobrl"

Quote:
Calibre does not take libraries on network drives. It will throw "Database locked" errors when you try.
But we can avoid this error by mounting the volume with nobrl option.

From the manual:
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).

So in the /etc/fstab:

Code:
//server/nas /home/nas cifs nobrl,user=uid,password=xxx,uid=1001,gid=1001 0 0
Then you can use the calibre libraries on this volume without errors.
Source: https://coderwall.com/p/zrxobw/calibre-libraries-on-nas

I know this is a rather old thread, but I thought I put in the information anyways, as someone might stumble in from the search function.
gpm is offline   Reply With Quote