On 03/17/2016 04:24 PM, Jessica Hamilton wrote:
On 18 March 2016 at 04:52, Glenn Holmer <shadowm@xxxxxxxxxxxx> wrote:
On 02/02/2016 01:09 PM, François Revol wrote:
On 01/02/2016 15:23, Glenn Holmer wrote:
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
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
The nfs4 mount command uses quite an odd syntax :p You want something
along the lines of `mount -t nfs4 -p "server_address:path flags"
directory`
See
https://www.haiku-os.org/blog/pawe%C5%82_dziepak/2013-03-15_nfsv4_client_finally_merged
for all the details.
Yes, I have to search for the syntax every single time I want to try
use NFS4, which is sadly still very buggy in my experience.