I am stuck trying to get a NAS directory to show all its media files on my OSMC Kodi on a Pi3+… I am a newbie and haven’t any experience programming.
I have followed the instructions on this page “Configuring fstab based share mounts” by Wuschel_Wuschel (Configuring fstab based NFS share mounts) and it works well up to the point where I use:
cd /mnt/Server_Movies (in my case “cd/mnt/Filmer”)
and then listing the content (ls)…
I am in the directory but it shows up as empty. I also tried the suggested following:
sudo mount /mnt/Server_Movies (in my case “sudo mount /mnt/Filmer”) but no change.
In “reality” the directory Filmer contains about 280 sub directories with movies in each of them, but no directory show.
I also tried to put a file directly in the directory Filmer but that doesn’t show up either. I have used samba and it finds all the movies, but someone told me that NFS would be more reliable and faster, that’s why I am attempting this…
systemd-1 on /mnt/Filmer type autofs (rw,relatime,fd=27,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
192.168.0.105:/i-data/923cadb3/nfs/Filmer on /mnt/Filmer type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.0.105,mountvers=3,mountport=40524,mountproto=udp,local_lock=none,addr=192.168.0.105)
systemd-1 on /mnt/MoviesGurresta type autofs (rw,relatime,fd=54,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
192.168.0.105:/i-data/923cadb3/nfs/Filmer on /mnt/MoviesGurresta type nfs
You seem to be trying to mount the same share to 2 different mount points, could you please provide the urls for the following:
It’s from a NAS, the Zyxel NAS326. There is a directory there (under root) called ‘video’. There I have some movies in different directories.
I have specified a network share - enabled a NFS share of the directory ‘video’ with the * as user (meaning that it will allow all users within the network to have Read/Write access.
The NAS software gives - for that directory - the names:
It’s really strange - I tried to enable the share of another folder on my NAS - a directory called "nfs’. I put just a document in it and made the same settings for that on the NAS settings. Then I mounted it in the /etc/fstab exactly as the previous one, but of course with reference to nfs instead of video. And that worked…
I’m restarting from the beginning now, with a clean install of OSMC and Kodi and I will try again…
Well I can’t explain it, but I restarted from the beginning and found one solution working…
On the NAS, I had to enable NFS sharing but not specifying any directory to share in the NFS service, only as a shared folder.
Then for some reason only one directory worked with content and that was one called nfs (directly in root). When I moved all movies (and sub directories) there it works.