Albumroot on remote filesystem

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Albumroot on remote filesystem

Morten Winkler Jørgensen-2
Hi all.

When starting digikam for the first time, Digikam requests me to enter the
albumroot - and displays a note to "not use mounted path hosted by a rmote
computer".

Why? What is the problem? If it is only network traffic, it's no problem
to me.
Has anyone ever tried with success?

I just moved my entire album root to a samba server and wanted to use the
mounted smb partition for album root, so I am a little nervous to just
try...

Best regards and thanks in advance,
   Morten

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Albumroot on remote filesystem

Chris Green
On Sun, Mar 09, 2008 at 10:56:18AM +0100, Morten Winkler J?rgensen wrote:

> Hi all.
>
> When starting digikam for the first time, Digikam requests me to enter the
> albumroot - and displays a note to "not use mounted path hosted by a rmote
> computer".
>
> Why? What is the problem? If it is only network traffic, it's no problem
> to me.
> Has anyone ever tried with success?
>
> I just moved my entire album root to a samba server and wanted to use the
> mounted smb partition for album root, so I am a little nervous to just
> try...
>
I think there are some issues if you use an NFS remote file system,
I'm not sure if they apply to smb as well.

--
Chris Green
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Albumroot on remote filesystem

Marcel Wiesweg
In reply to this post by Morten Winkler Jørgensen-2
> Hi all.
>
> When starting digikam for the first time, Digikam requests me to enter the
> albumroot - and displays a note to "not use mounted path hosted by a rmote
> computer".
>
> Why? What is the problem? If it is only network traffic, it's no problem
> to me.
> Has anyone ever tried with success?

See here, section 6.0, third paragraph:
http://www.sqlite.org/lockingv3.html

SQLite is operating on a file on disk, and, as a database featuring concurrent
access (and digikam using this), has to use file locking. Someone said it
worked with NFSv4; I dont know about SMB.

>
> I just moved my entire album root to a samba server and wanted to use the
> mounted smb partition for album root, so I am a little nervous to just
> try...
>
> Best regards and thanks in advance,
>    Morten
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Albumroot on remote filesystem

Andreas Weigl
Hi

Am Sunday 16 March 2008 schrieb Marcel Wiesweg:

> > Why? What is the problem? If it is only network traffic, it's no problem
> > to me.
> > Has anyone ever tried with success?
>
> See here, section 6.0, third paragraph:
> http://www.sqlite.org/lockingv3.html
>
> SQLite is operating on a file on disk, and, as a database featuring
> concurrent access (and digikam using this), has to use file locking.
> Someone said it worked with NFSv4; I dont know about SMB.

Well, it depends. If you know, that you will access the SQLite database only
from one host (start digikam only on one host) then it isn't a problem. In
this case I would recommend to set the nfs option "nolock". In this case the
lock isn't distributed to the nfs server and works reliable. The lock is only
set on the local system.

We have big oracle databases ( > 1TB ) running on nfs in our company. Oracle
uses locking on the data files. Oracle recommends to use the nolock option.

Andreas

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users