You are not logged in.

#1 2014-06-30 21:34:19

shelbydz
Member
Registered: 2014-03-16
Posts: 58

[solved] NFS broke since update. OpenElec can't see shares

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

#2 2014-06-30 21:37:15

Markus.N2
Member
From: Germany
Registered: 2013-08-22
Posts: 100

Re: [solved] NFS broke since update. OpenElec can't see shares

Offline

#3 2014-06-30 21:41:27

shelbydz
Member
Registered: 2014-03-16
Posts: 58

Re: [solved] NFS broke since update. OpenElec can't see shares

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

#4 2014-06-30 22:38:13

Markus.N2
Member
From: Germany
Registered: 2013-08-22
Posts: 100

Re: [solved] NFS broke since update. OpenElec can't see shares

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

#5 2014-07-01 00:40:41

shelbydz
Member
Registered: 2014-03-16
Posts: 58

Re: [solved] NFS broke since update. OpenElec can't see shares

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

Board footer

Powered by FluxBB