Page 1 of 1

NFS sharing

Posted: Tue Jul 01, 2014 2:51 pm
by modem7
I know this has been discussed quite a bit, but just wanted some clarification:

After reading https://wiki.amahi.org/index.php/NFS I'm assuming if I wish to keep my SAMBA shares, it won't be a problem, and all I need to do to enable NFS for XBMC on my Pi is add my current folders in the exports file like so:

nano -w /etc/exports

content:

/var/hda/files/Movies *(rw,insecure,all_squash,async,anonuid=48,anongid=48)
/var/hda/files/TV *(rw,insecure,all_squash,async,anonuid=48,anongid=48)
/var/hda/files/Anime *(rw,insecure,all_squash,async,anonuid=48,anongid=48)

then do:

chkconfig nfs on
service nfs start


Would this be correct?

Thanks!

Re: NFS sharing

Posted: Tue Aug 12, 2014 4:00 pm
by bigfoot65
Did you try this? If so, did it work? Please feel free to update the wiki if needed as well.

Re: NFS sharing

Posted: Wed Aug 13, 2014 9:20 am
by modem7
Did you try this? If so, did it work? Please feel free to update the wiki if needed as well.
Literally just tried it, and it seems to work like a treat!

Re: NFS sharing

Posted: Wed Aug 13, 2014 1:46 pm
by bigfoot65
Awesome! Does the wiki need any updates? If not, then we can mark this one as working with Amahi 7.

Re: NFS sharing

Posted: Wed Aug 13, 2014 2:00 pm
by modem7
Awesome! Does the wiki need any updates? If not, then we can mark this one as working with Amahi 7.
Nope, seems all good!

Re: NFS sharing

Posted: Wed Aug 13, 2014 2:07 pm
by bigfoot65
Great to hear. I will ensure it reflects as working with Amahi 7. Thanks for the feedback.

Re: NFS sharing

Posted: Fri May 15, 2015 5:48 pm
by Tomithy83
When I attempt to run this I get the following:
[root@h103 ~]# vi /etc/exports
[root@h103 ~]# chkconfig nfs on
Note: Forwarding request to 'systemctl enable nfs.service'.
Failed to issue method call: No such file or directory
[root@h103 ~]# service nfs start
Redirecting to /bin/systemctl start nfs.service
[root@h103 ~]# chkconfig nfs on
Note: Forwarding request to 'systemctl enable nfs.service'.
Failed to issue method call: No such file or directory
any advice?

Re: NFS sharing

Posted: Fri May 15, 2015 6:18 pm
by bigfoot65
You can try this as root user:

Code: Select all

systemctl daemon-reload; systemctl enable nfs-server.service; systemctl start nfs.service;
Also we have an NFS app that you can test. If interested, please PM me your amahi.org user ID.