How to use calibre with a network drive? With NFS!
April 18, 2015 Leave a comment
calibre is not exactly the program that will win a beauty contest, but functionally it is ok.
My library is pretty large, and keeping it entirely on my laptop is not reasonable. This led to the necessity of storing the library on a file server, and accessing it from my laptop.
Network drives are problematic
The calibre FAQ page clearly states:
Do not put your calibre library on a networked drive. … bad things will happen.
Well, I tested this myself and with AFP shares, bad things did happen :-(
But, with a little help from my friends (thank you, Bogdan!), I migrated the calibre library to a NFS share, and had no problems since.
NFS stands Network File System and is the venerable protocol protocol used by Unix. It might not be very efficient, but was designed with many great features, including exhaustive locking mechanisms, which the newer protocols compromise for speed.
I tried with two NFS servers, one on a Synology drive (Linux based), and the second on a Mac OS X Server (originally a BSD variant), and both worked without problems.