Synology NAS and NFS usage on Win7? [SOLVED]
#1
Hi there.

CIFS (samba) shares are working great, but there is much protocol overhead, hence NFS would be quicker and better. NFS does not have user/password structure like Samba...ok..

I have Synology NAS device that has NFS server naturally but I havn't got it to work on Win7_x64 XBMC. "Add video"with NFS sees the share but can't open it. Synology has Client = *, Ready-only, Root Squash =No, Async = on.

Is there something that needs to be done on Win side? Does anyone else got NFS to work with Synology products?

Debug,while opening..

Code:
ERROR: NFS: Failed to mount nfs share: /volume1/Storage (mount/mnt call failed with "RPC error: Mount failed with error MNT3ERR_ACCES(13) Permission denied(13)")

...
18:09:21 T:3912   DEBUG: CGUIMediaWindow::GetDirectory (nfs://192.168.0.253/)
18:09:21 T:3912   DEBUG:   ParentPath = [sources://video/]
18:09:21 T:3528   DEBUG: Thread Background Loader start, auto delete: 0
18:09:21 T:3528   ERROR: Failed to open(//) opendir call failed with "Server responded: Program not available"
18:09:21 T:3528   ERROR: XFILE::CDirectory::GetDirectory - Error getting nfs://192.168.0.253/volume1/Storage/
18:09:21 T:3528   DEBUG: Thread Background Loader 3528 terminating
18:09:24 T:3912   DEBUG: SDLKeyboard: scancode: 1c, sym: 000d, unicode: 000d, modifier: 0
18:09:24 T:3912   DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
18:09:24 T:3912   DEBUG: CGUIMediaWindow::GetDirectory (nfs://192.168.0.253/volume1/Storage/)
18:09:24 T:3912   DEBUG:   ParentPath = [nfs://192.168.0.253/]
18:09:24 T:2448   ERROR: Failed to open(//) opendir call failed with "Server responded: Program not available"
18:09:24 T:3912   ERROR: XFILE::CDirectory::GetDirectory - Error getting nfs://192.168.0.253/volume1/Storage/
18:09:24 T:3912   ERROR: CGUIMediaWindow::GetDirectory(nfs://192.168.0.253/volume1/Storage/) failed
18:09:24 T:3912   DEBUG: CGUIMediaWindow::GetDirectory (nfs://192.168.0.253/)
18:09:24 T:3912   DEBUG:   ParentPath = [sources://video/]
18:09:24 T:972   DEBUG: Thread Background Loader start, auto delete: 0
18:09:24 T:972   ERROR: Failed to open(//) opendir call failed with "Server responded: Program not available"
18:09:24 T:972   ERROR: XFILE::CDirectory::GetDirectory - Error getting nfs://192.168.0.253/volume1/Storage/
18:09:24 T:972   DEBUG: Thread Background Loader 972 terminating
Reply
#2
This could be a shot in the dark, but does connecting to your NFS share work outside of XBMC on the same Windows 7 computer?

Perhaps you need to install the Client for NFS (Control Panel / Programs and Features / "Turn Windows features on or off", then you'll see it under Services for NFS). It isn't installed by default. From what I remember, it also requires Windows 7 Enterprise or Ultimate (perhaps Professional too).

Maybe XBMC has a built-in NFS client, which would bypass the need for Client for NFS. That's why I said it is a shot in the dark.
Reply
#3
Thanx for the shot, seems reasonable actually, going to test this.
I was under the impression that XBMC has it's own NFS implementation and does not rely on OS's services.
Synology NAS NFS share works perfectly with my Linux DreamBox. It does not ask any users grants...just shows..
Smile

EDIT: I turned on the "Client for NFS" under windows Features, rebooted but XBMC still can't open the just created new Fns share.. Same "Program not available" error in the debug log..
Reply
#4
Did you follow the last few steps of the steps for Synology here: http://wiki.xbmc.org/index.php?title=NFS#Synology where you are change insecure_locks to just insecure in the exports file?

Looks like your other settings are correct. You mentioned it works fine on your Linux DreamBox, so maybe you already did follow those steps or they aren't required for Linux.
Reply
#5
What Robotic says. Missing insecure is most likly the problem. And XBMC doesn't rely on the OS NFS functions - it brings its own client.
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
#6
(2012-04-23, 10:45)Memphiz Wrote: What Robotic says. Missing insecure is most likly the problem. And XBMC doesn't rely on the OS NFS functions - it brings its own client.

Great, that was my notion also about the OS service not being the issue.
I really don't want to "hack" my commercial NAS device in order to make NFS to work in XBMC.. The NAS NFS works already as is with DreamBox..
What is "insecure" anyhow? What can I do, instead to hacking my Very vital storage device.. Really don't want to rattle the device in any means..
Reply
#7
If the only way to get nfs to work is to make the above change, and you're unwilling to do it, you can use samba which you mentioned works.
Reply
#8
Well.. I did it.. I pulled my self together and "hacked"my Synology 409 NAS.
I followed the export instruction and... VOILA! It works!!

Thank you ALL for helping me on this!
Reply

Logout Mark Read Team Forum Stats Members Help
Synology NAS and NFS usage on Win7? [SOLVED]0