NFS fstab issues with haneWIN

Hi,

I’m new to this forum and just started using OSMC
I’m trying to setup my nfs shares from windows 10 to RPi and followed all your steps.
I have several shares and most of them are mounting ok following instructions of this post
My fstab files is like this

192.168.1.100:/Filmes /mnt/Filmes nfs noauto,x-systemd.automount 0 0
192.168.1.100:/Filmes2 /mnt/Filmes2 nfs noauto,x-systemd.automount 0 0
192.168.1.100:/Fotos /mnt/Fotos nfs noauto,x-systemd.automount 0 0
192.168.1.100:/musica /mnt/musica nfs noauto,x-systemd.automount 0 0
192.168.1.100:/addons /mnt/addons nfs noauto,x-systemd.automount 0 0
192.168.1.100:/TvSeries /mnt/TvSeries nfs noauto,x-systemd.automount 0 0

However, two of the shares (muscia and TvSeries) are not acessible when connecting to Rpi through ssh. I get this erro when trying do cd into them:

osmc@osmc:/mnt/addons$ cd /mnt/musica
-bash: cd: /mnt/musica: No such device

I believe I followed the exact steps for these shares as for all the rest of them but the fact is that they are not also accessible when trying to add them as sources into OSMC.

Thanks for your help

Mario

What does showmount -e 192.168.1.100 give you when run on the Pi?

1 Like

Hi fzinken,
First of all thank you for helping.

I get this when running taht command

Export list for 192.168.1.100:
/musica -public
/Filmes -public
/TVSeries -public
/Filmes2 -public
/Fotos -public
/addons -public

edit: I am using Hanewin NFS Server for exports

Looks all correct, so suggest to check permissions on the server and maybe logs what goes wrong.

I’ve checked all permissions and everything seems to be ok.
Concerning logs I’m not sure how to to get them…
Could you please point me some document where I can learn?

thanks once again

I don’t know about Hanewin logs, you would need to check Hanewin documentation.
On OSMC you can check sudo journalctl -f and then remount and check if any errors pop up.

I’ve checked the Hanewin logs and they look like this. Seem to be ok

2020-05-14 16:20:07 unmount 192.168.1.150:e:\Filmes
2020-05-14 16:20:11 unmount 192.168.1.150:f:\Filmes
2020-05-14 16:20:11 unmount 192.168.1.150:f:\Fotos
2020-05-14 17:00:51 haneWIN NFS Server 1.2.45
2020-05-14 17:00:51 nfsd file handle cache size 24
2020-05-14 17:00:51 nfsd client charset UTF-8
2020-05-14 17:00:51 nfsd maximum data size 32768
2020-05-14 17:00:51 nfsd client root mapped to root
2020-05-14 17:00:51 nfsd NTFS hardlinks supported
2020-05-14 17:00:51 nfsd hardlinks by copy enabled

------ Exported file systems ------
I:\mp3 -name:musica -public
E:\Filmes -name:Filmes -public
E:\Filmes\Series -name:TVSeries -public
F:\Filmes -name:Filmes2 -public
F:\Fotos -name:Fotos -public
F:\Transferências\Raspberry\addons -name:addons -public

2020-05-14 17:00:51 mountd started on 1058
2020-05-14 17:00:51 nfsd started on 2049, 4 udp threads

When I try to run sudo journalctl -f I get this

– Logs begin at Thu 2016-11-03 17:16:43 WET. –
May 14 16:59:27 osmc sudo[1775]: pam_unix(sudo:session): session opened for user root by osmc(uid=0)
May 14 16:59:27 osmc sudo[1775]: pam_unix(sudo:session): session closed for user root
May 14 16:59:37 osmc sudo[1786]: osmc : TTY=pts/0 ; PWD=/home/osmc ; USER=root ; COMMAND=/bin/mount -a
May 14 16:59:37 osmc sudo[1786]: pam_unix(sudo:session): session opened for user root by osmc(uid=0)
May 14 16:59:37 osmc sudo[1786]: pam_unix(sudo:session): session closed for user root
May 14 16:59:41 osmc sudo[1789]: osmc : TTY=pts/0 ; PWD=/home/osmc ; USER=root ; COMMAND=/bin/journalctl -f
May 14 16:59:41 osmc sudo[1789]: pam_unix(sudo:session): session opened for user root by osmc(uid=0)
May 14 17:00:05 osmc sudo[1789]: pam_unix(sudo:session): session closed for user root
May 14 17:03:43 osmc sudo[1883]: osmc : TTY=pts/0 ; PWD=/home/osmc ; USER=root ; COMMAND=/bin/journalctl -f
May 14 17:03:43 osmc sudo[1883]: pam_unix(sudo:session): session opened for user root by osmc(uid=0)

Here you have used a capital ‘V’ and a small ‘v’ ?

1 Like

Did you tried to unmount and remount the shares when looking at the logs?

Also @JimKnopf already spotted the mistake in TVShows, correct that and try again

I’ve moved this issue into a seperate topic to avoid cluttering the wiki article. :+1:t2:

1 Like

After checking and rechecking syntax in all commands, it seems to be working now.

Thank you so much for your help!

Yes,

that was one of my errors.

Thanks

Did you figured out why musica didn’t worked?

I believe it had something to do with a mismatch in shares and folder names.
I intended to share my whole music library from windows but the folder ir referred to was named mp3 and I had a share in NFS server with the same and also one named musica.
That was causing some kind of confusion withi NFS server.
So I cleaned all shares, redid them and them it worked

Is there a wiki for hanewin recommended settings with Vero 4K+?

Not that I’m aware of. But if you’d like to try my settings, they’re listed here: