View Single Post
Old 01-24-2015, 07:53 PM   #27
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by A.T.E. View Post
@ davidfor:

Please find attached the log file of what happens in 1.48 when connecting the H2O.
Thanks, that gets added to my collection of Kobo related logs.
Quote:
Then I have installed your plugin driver: it works.
Thanks a lot!
If I will see any issue I will tell you.
That's very good to hear.
Quote:

@ eschwartz

I didn't know that the official FAQ discourages keeping the library on a networked filesystem. Good to know; I will think about it.

On the other hand I access the library as a single user, from the same OS (well in these days as I wrote I have tested the access from Linux), from the same calibre version 1.48, the NAS (QNAP TS-109 II) firmware is the same and it will not be upgraded. This to say that my home IT infrastructure is not very evolutive, so hardly new things happen.

Launching a rsync from it to the XP laptop where calibre is running and where the local library is? Using cygwin to do it the other way round? After all when I do the periodical backups from the NAS to an external HDD it's a rsync too, and in case of disaster I have the backup.

Finally what might happen? A corruption of the metadata.db file, I suppose. Or would the disaster affect the ebook files too? If it is only the metadata.db file, no big deal: I can re-import the books in calibre.
To me, this is one of those things that should just work. There are lots of complicated applications running that access the data on networked drives. But, the problems seem to be network performance related, so it probably means that if there are any issues with that, then the problems turn up. A lot of people who have problems say "but it's been working OK for years". That probably means something new was added to the network.

In the case of a low power NAS like yours, if someone accessed it and say copied a file at the wrong time, you might see a problem. I have a TS-209 II and we mainly use it as media store. It can play two or three movies to different devices in the house, but when starting a new movie, the others might stutter a little bit.

The problems seem to be mainly with database access. One of the solutions is to store the database locally and the books on the server. There's an environment variable that can be set to point to the database. You could write a script that wraps starting calibre and copies the database to and from the NAS. If you did, I'd suggest creating a file on the NAS to use as a check that calibre isn't running somewhere else.
davidfor is offline   Reply With Quote