NFS sharing

modem7
Posts: 215
Joined: Tue Mar 20, 2012 6:00 pm

NFS sharing

Postby modem7 » Tue Jul 01, 2014 2:51 pm

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!

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: NFS sharing

Postby bigfoot65 » Tue Aug 12, 2014 4:00 pm

Did you try this? If so, did it work? Please feel free to update the wiki if needed as well.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

modem7
Posts: 215
Joined: Tue Mar 20, 2012 6:00 pm

Re: NFS sharing

Postby modem7 » Wed Aug 13, 2014 9:20 am

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!

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: NFS sharing

Postby bigfoot65 » Wed Aug 13, 2014 1:46 pm

Awesome! Does the wiki need any updates? If not, then we can mark this one as working with Amahi 7.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

modem7
Posts: 215
Joined: Tue Mar 20, 2012 6:00 pm

Re: NFS sharing

Postby modem7 » Wed Aug 13, 2014 2:00 pm

Awesome! Does the wiki need any updates? If not, then we can mark this one as working with Amahi 7.
Nope, seems all good!

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: NFS sharing

Postby bigfoot65 » Wed Aug 13, 2014 2:07 pm

Great to hear. I will ensure it reflects as working with Amahi 7. Thanks for the feedback.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Tomithy83
Posts: 1
Joined: Fri May 15, 2015 5:46 pm

Re: NFS sharing

Postby Tomithy83 » Fri May 15, 2015 5:48 pm

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?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: NFS sharing

Postby bigfoot65 » Fri May 15, 2015 6:18 pm

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 19 guests