[haiku] Re: NFS issue

  • From: Glenn Holmer <shadowm@xxxxxxxxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Thu, 17 Mar 2016 10:52:16 -0500

On 02/02/2016 01:09 PM, François Revol wrote:

On 01/02/2016 15:23, Glenn Holmer wrote:
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)

You will want to try using NFS4 instead, mount_nfs is only for the
antique NFS2 client.

You need to use mount -t nfs4 but I don't remember the exact syntax.

~> mount -t nfs4 greyhand:/mnt/common gcommon
mount: No such file or directory

~> mount greyhand:/mnt/common gcommon
mount: No such file or directory

~> man mount
No manual entry for mount

What does he mean by "No such file or directory"? ./gcommon (in current
directory, /boot/home) exists.

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

Other related posts: