Yast NFS confusion

Hi all,

So I’ve come over to OpenSUSE from Fedora. I’m enjoying it so far, except that networking seems more difficult to get things connected. Someone helped me figure out the firewall setup (mostly) but I’m having trouble detecting NFS shares on my local NAS.

Here’s where I’m at:

  • I have downloaded Yast NFS Client (because apparently it isn’t included by default with Tumbleweed)
  • I can connect fully manually by adding an NFS share with ip address and folder. But I’d rather not have to do this manually on every PC. YaST is supposed to make this easier, right?
  • The “CHOOSE” option (below, in the Add menu) comes up empty, blaming the firewall. This happens even if I turn the firewall off on this PC, and the NAS doesn’t have one running.
    image
    image
  • The “NFS Settings” tab shows the following, despite the firewall being installed and turned on?
    image

And I should note, back on Fedora, the same NFS folder was visible within the “Network/Network Services/WebDAV” folder in Discover. So it is definitely discoverable. If I could get this functionality back, that would also be nice, but having YaST detect NFS shares is primary concern.

Anyone have any resources or ideas?

I fail to see how starting YaST2 is easier than adding a line to /etc/fstab, but whatever …

I thought that your primary concern was adding NFS mounts to your system. Can you mount exported resource manually?

Because I am fairly new to linux, and especially to NFS, and do not know the fstab syntax.

I can enter the info manually through YaST, yes. So getting a single NFS share mounted is fine. My question, though, is how to get the detection working so I can (for example) create a new NFS share and easily mount it (or direct someone less tech savvy to mount it).

The secondary question (displaying NFS shares in the Network section of Discover) is so I can browse shares that may not be mounted to the current computer. If I can’t do that, it’s fine, I’m just trying to figure out what Fedora does differently that allows it.

Show full output on your NFS client of

rpcinfo -p Address-of-your-NFS-server

Please paste computer text as preformatted (button </> in editor).

In the NFS server or hostname just add the address of the server manually. I use a static address for my server. Once you tell the client where to look it will show the exported directories in the next field.

rpcinfo -p 192.168.100.250
   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
    100005    1   udp  58514  mountd
    100005    1   tcp  38931  mountd
    100005    2   udp  37128  mountd
    100005    2   tcp  57025  mountd
    100005    3   udp  54306  mountd
    100005    3   tcp  40869  mountd
    100024    1   udp  49920  status
    100024    1   tcp  37805  status
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100227    3   tcp   2049  nfs_acl
    100003    3   udp   2049  nfs
    100227    3   udp   2049  nfs_acl
    100021    1   udp  45905  nlockmgr
    100021    3   udp  45905  nlockmgr
    100021    4   udp  45905  nlockmgr
    100021    1   tcp  37197  nlockmgr
    100021    3   tcp  37197  nlockmgr
    100021    4   tcp  37197  nlockmgr

Mine is static as well, and I can add it that way. I’m just trying to figure out why dynamic detection isn’t working.

OK, what is the output of

rpcinfo -b mountd 1

Runs, does nothing, and ends.

Is firewall active? Try with firewall stopped

systemctl stop firewalld

Same result. (Firewall should be pretty open right now regardless, but same with it off.)

Then there is nothing that can be done from openSUSE side. This is the command YaST uses to query for NFS servers and your NFS server does not respond to it. You may want to contact support of your NAS device.

Interesting. Alright, that makes some more sense then! Thanks.

I guess there are other commands that other distros might use? Hmm. I’ll need to look into what they are, then.

If you find out what others use successfully, you may consider submitting bug report to openSUSE bugzilla (https://bugzilla.opensuse.org, same user/password as here).

I’ve not seen it work in years. :frowning: