Linux Access NFS Share on NAS locally
#1
Setup:
Linux Box with Software Raid (mdam Raid 5 volume) with all media
This is also the central mysql server.
This is also my office PC which I ocassionally watch stuff on.
I have a Pi connected to the TV and various laptops which all pull from the mysql server and that all works great.

Problem:
I have XBMC installed on the NAS/Office PC and it is pulling all the metadata with no issue as its connecting locally.
However no video will actually play as its trying to mount what it thinks is a remote nfs share but is actually local media.

Logs:

ERROR: NFS: Failed to mount nfs share: /storage (mount/mnt call failed with "RPC error: Mount failed with error MNT3ERR_ACCES(13) Permission denied(13)")
21:10:13 T:140025907889920 ERROR: CDVDPlayer::OpenInputStream - error opening [nfs://192.168.1.100/storage/Films/Confessions Of A Dangerous Mind/Confessions Of A Dangerous Mind.mkv]
21:10:13 T:140025907889920 NOTICE: CDVDPlayer::OnExit()
21:10:13 T:140025907889920 NOTICE: CDVDPlayer::OnExit() deleting input stream
21:10:13 T:140026814715840 ERROR: Playlist Player: skipping unplayable item: 104, path [nfs://192.168.1.100/storage/Films/Confessions Of A Dangerous Mind/Confessions Of A Dangerous Mind.mkv]
21:10:13 T:140026814715840 NOTICE: CDVDPlayer::CloseFile()
21:10:13 T:140026814715840 NOTICE: DVDPlayer: waiting for threads to exit
21:10:13 T:140026814715840 NOTICE: DVDPlayer: finished waiting

I have a feeling this may not be possible. Anyone ever tried to do this ? Any possible work arounds ?
Reply
#2
This should be possible. You need to ensure that the nfs server accepts connection from its own ip (so you basically can access nfs from the very same mashine). MNT3ERR_ACCES means that in your /etc/exports file the local ip is not allowed to connect.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#3
Thanks for the reply. That makes sense. I'll give it a go tonight.
Reply

Logout Mark Read Team Forum Stats Members Help
Access NFS Share on NAS locally0