[haiku] Re: NFS issue

  • From: "Jay F. Shachter" <jay@xxxxxxxxxxxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Mon, 1 Feb 2016 09:46:39 -0600 (CST)


Centuries ago, Nostradamus predicted that Glenn Holmer would write on Mon Feb  
1 08:23:33 2016:


I have an interesting NFS issue: my main desktop machine normally runs
Fedora Linux, and I have a second test machine with Haiku installed (on
bare metal). Both of these machines have several operating systems on them.

If I try to mount an NFS export from Haiku on the test machine with the
main machine as the server, there's a long pause followed by "mount
failed (No route to host)". I can, however, ping greyhand from Haiku.
The command line is:

mount_nfs greyhand:/mnt/common gcommon 1002 10002

Now interestingly, if I reboot the main machine to Ubuntu Studio (which
is Debian-based), the NFS mount from Haiku works just fine. Also, with
the main machine running Fedora and the test machine running any of
several Linux flavors, the NFS mount works as well.

Anybody have any ideas why this particular combination (Fedora 23 as NFS
server and Haiku as NFS client) isn't working for me? The entry in the
exports file is the same for both Fedora and Ubuntu Studio:

/mnt/common 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check)

Haiku was just updated to hrev50067 using "pkgman full-sync".

-- 
Glenn Holmer (Linux registered user #16682)
"After the vintage season came the aftermath -- and Cenbe."


Is the Haiku client using NFS3 or NFS4?  Prior to NFS4, NFS was an RPC
service, meaning that you didn't know in advance what ports would be
used for communication.  This is unworkable on Fedora, which, by
default, comes not only with a restrictice firewall, but also with
SELinux enabled.  The firewall blocks traffic on unknown ports, and
the SELinux policy prohibits the NFS server from binding sockets to
those ports even if the firewall is turned off.  If the firewall is
turned off, and SELinux is turned off (and, of course, if the
portmapper is running) then a Fedora NFS server should be able to
handle NFS3 clients, otherwise it can only handle NFS4 clients.

Please forgive me if I am telling you things you already know, or
things that are irrelevant because Haiku uses NFS4.


                        Jay F. Shachter
                        6424 N Whipple St
                        Chicago IL  60645-4111
                                (1-773)7613784   landline
                                (1-410)9964737   GoogleVoice
                                jay@xxxxxxxxxxxxxxxx
                                http://m5.chicago.il.us

                        "Quidquid latine dictum sit, altum videtur"


Other related posts: