You are not logged in.
Hi all,
I cant figure out how to resolve the upgrade to NFS since the recent update. The service seems to be running just fine, but i can't get OpenElec on my Raspberry Pi to see the shares. In my export file on Arch I have
/mnt/hdd/Music 192.168.1.0/24(rw,all_squash,insecure,anonuid=0,anongid=0)
# this hasnt changed.
generally, i can use the OpenElec UI to browse through and see all the mount points and what not. But its not working. I ssh'd into the pi and tried to mount that with
$ mount -t nfs 192.168.1.141:/mnt/hdd/Music /music
returns
mount: RPC Remote system error - Connection refused
mount: mounting 192.168.1.141:/mnt/hdd/Music on /music failed: Bad file descriptor
running rpcinfo from the pi gives me:
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 3 tcp 2049 nfs_acl
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100227 3 udp 2049 nfs_acl
100021 1 udp 33094 nlockmgr
100021 3 udp 33094 nlockmgr
100021 4 udp 33094 nlockmgr
100021 1 tcp 59494 nlockmgr
100021 3 tcp 59494 nlockmgr
100021 4 tcp 59494 nlockmgr
100024 1 udp 39249 status
100024 1 tcp 48364 status
So it looks like the ports open, but i cant get through. This WORKED until i did the update, so there are no firewalls or anything. Must be some config changes or a missing service or something.
Thanks,
Last edited by shelbydz (2014-07-01 00:41:10)
Offline
I had a similar issue. See https://bbs.archlinux.org/viewtopic.php?id=183608
Offline
i saw that post. im not able to run mount-nfs[4] on OpenElec. But, i wonder if theres another way to specify the filesystem.
I already fixed the nfs services in systemctl. I also had some orphaned rpc services there. i think now, the issue on my side is rpc.
Offline
Probably it is
mount.nfs4
But the important hing in my thread is the solution. :-)
On my server, the systemd configuration for the nfs service was corrupted by the update. And by the 4 commands, I could fix that.
Offline
Yup. that did it. to reiterate for future peeps. Totally stopping, disabling, enabling and restarting the service was the key:
systemctl stop nfs-server.service
systemctl disable nfs-server.service
systemctl enable nfs-server.service
systemctl start nfs-server.service
Thanks,
Offline