2024-03-16, 00:28
Hi there,
I'm a CoreELEC user and have using mySQL/MariaDB to share Kodi library database for a while. I recently moved to NFSv4, with following exports:
I changed to NFS4 (as opposed to default v3) in the settiing and since it’s NFS4, the sources (in sources.xml) are basically like this now:
But when it rebuilds the DB, it’s getting all the path wrong:
It’s adding NFSv3 style `/exPort` after the nfs-server IP, which is the actual root directory for NFSv4 now and shouldn’t be in the path. Not sure how it's figuring out the server-side physical path but its invalid to a NFSv4 client, hence failling to payback any media at all.
Is it a bug or am I doing something wrong here? Any help will be really appreciated.
-S
I'm a CoreELEC user and have using mySQL/MariaDB to share Kodi library database for a while. I recently moved to NFSv4, with following exports:
Code:
nu22xj:~ # showmount -e 10.1.20.62
Export list for 10.1.20.62:
/nfs4_exports 10.1.20.0/27
/nfs4_exports/mMusic 10.1.20.8,10.1.20.7
/nfs4_exports/mShows 10.1.20.8,10.1.20.7
/nfs4_exports/mMovie 10.1.20.8,10.1.20.7
/nfs4_exports/4kHDR 10.1.20.8,10.1.20.7
I changed to NFS4 (as opposed to default v3) in the settiing and since it’s NFS4, the sources (in sources.xml) are basically like this now:
Code:
<source>
<name>Movies</name>
<path pathversion="1">nfs://10.1.20.62/mMovie/Action_Adventure/</path>
<path pathversion="1">nfs://10.1.20.62/mMovie/Charlie_Chaplin/</path>
.......
.......
<path pathversion="1">nfs://10.1.20.62/mMovie/Western/</path>
<allowsharing>true</allowsharing>
</source>
But when it rebuilds the DB, it’s getting all the path wrong:
Code:
MariaDB [(none)]> SELECT idPath,strPath,strContent FROM MyVideos131.path LIMIT 3 \G;
*************************** 1. row ***************************
idPath: 1
strPath: nfs://10.1.20.62/exPort/mMovie/Action_Adventure/
strContent: movies
*************************** 2. row ***************************
idPath: 2
strPath: nfs://10.1.20.62/exPort/mMovie/Bollywood/
strContent: movies
*************************** 3. row ***************************
idPath: 3
strPath: nfs://10.1.20.62/exPort/mMovie/Charlie_Chaplin/
strContent: movies 3
rows in set (0.001 sec)
It’s adding NFSv3 style `/exPort` after the nfs-server IP, which is the actual root directory for NFSv4 now and shouldn’t be in the path. Not sure how it's figuring out the server-side physical path but its invalid to a NFSv4 client, hence failling to payback any media at all.
Is it a bug or am I doing something wrong here? Any help will be really appreciated.
-S