Profiles on nfs

  • Hi all,

    i try set up two raspberry pi with shared profile.

    I have defined nfs mount in ./config/system.d/ it is mounted

    in .kodi/userdata/profiles/

    This work fine, but if i try set new profile it creates

    directory structure on nfs mountpoint, but after

    switch to new profile it freeze.

    There is no weird lines in kodi.log.

    NFS is mounted, directories are accessible, readable

    and writeable.

    This is my exports setting on linux server:

    Code
    /media/home/kodi           192.168.1.0/255.255.255.0(rw,all_squash,insecure)

    This is my mountpint settings on libreelec:

    So please do you have an idea what I am doing wrong?

    Thanks for any ideas. :)

  • Hi,

    finally i realize there is problem wit SQLlite and NFS:

    Quote

    SQLite uses POSIX advisory locks to implement locking on Unix. On Windows it uses the LockFile(), LockFileEx(), and UnlockFile() system calls. SQLite assumes that these system calls all work as advertised. If that is not the case, then database corruption can result. One should note that POSIX advisory locking is known to be buggy or even unimplemented on many NFS implementations (including recent versions of Mac OS X) and that there are reports of locking problems for network filesystems under Windows. Your best defense is to not use SQLite for files on a network filesystem.

    So, I will try to set up databases in MySQL.