[Digikam-users] Some questions re collection on Network Share

Simon Cropper simoncropper at fossworkflowguides.com
Mon Feb 9 22:23:05 GMT 2015


On 10/02/15 05:05, Marcel Wiesweg wrote:
>
> As Andrew pointed out, using SQLite via a network file system is not
> guaranteed to be safe as the situation regarding file locks may be somewhat
> undefined. Nonetheless, if you dont put the shared file under concurrent use,
> things should work.
>
> If you have the collection as a local collection on one machine, and as a
> remote collection on the other, digikam cannot know it's the same.
>
> For a quick solution how to use simply the mount path as collection
> identifier, provided there's the same mount path on all machines, see the
> (undocumented, unofficial, but inofficially supported) procedure described
> somewhere here:
> https://bugs.kde.org/show_bug.cgi?id=175923
>
>
>> I keep my Digikam images on my desktop machine in /home/chris/pictures.
>>
>> I have exported /home/chris/pictures as an NFS share so that I can see
>> the pictures on my laptop too.  If I run Digikam on my laptop and
>> specify the NFS /home/chris/pictures directory (wherever it's mounted
>> on the laptop) as a "Collection on a Network Share" will the laptop's
>> Digikam use the same database as the desktop one?
>>
>> At present the laptop seems to be re-scanning all the pictures in
>> /home/chris/pictures and that's not what I want really, it will take a
>> *very* long time and it's pointless anyway as the work has already
>> been done by my desktop and put into the Digikam database.  Can't I
>> tell the laptop to se the already existing database file?
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>

I agree with Marcel. The idea is to have both machines appear like the 
NFS share is actually on the same machine. Both desktop and laptop 
should appear as a local repository despite one or both actually being a 
network based share. The point with NFS is that the end product is an 
integrated directory that software is unable *and have no need* to 
distinguish from the native filesystem (except when the directory is not 
mounted).

I use Ubuntu and seamlessly mount several linux (NFS exports) and 
windows (CIFS/Samba Shares) machines to my local filesystem and use 
rsync to sync my 'local' directories. This is a lot simpler than setting 
up rsync to do this task.

-- 
Cheers Simon

    Simon Cropper - Open Content Creator

    Free and Open Source Software Workflow Guides
    ------------------------------------------------------------
    Introduction               http://www.fossworkflowguides.com
    GIS Packages           http://www.fossworkflowguides.com/gis
    bash / Python    http://www.fossworkflowguides.com/scripting



More information about the Digikam-users mailing list