[haiku] Re: NFS issue

  • From: pete.goodeve@xxxxxxxxxxxx
  • To: haiku@xxxxxxxxxxxxx
  • Date: Mon, 21 Mar 2016 11:55:12 -0700

On Mon, Mar 21, 2016 at 06:45:29PM +0100, Humdinger wrote:

Hi!

On 21 March 2016 at 18:27, François Revol <revol@xxxxxxx> wrote:
In theory, NFSv4 publishes a single virtual hierarchy where you can
mount from what you want, hence the full path to the exported mountpoint.

Not sure I understand this completely. :)
In any case, for me this works:
mount -t nfs4 -p "192.168.178.3:volume1" /DiskStation

while this:
mount -t nfs4 -p "192.168.178.3:/mnt/volume1" /DiskStation
results in:
mount: Invalid Argument


That seems contrary to my experience!  Maybe /mnt is special?

For me, it seems one should normally specify full path for both the remote
directory and the local mountpoint.  As I mentioned previously, I created 
/var/shared
as the directory to be shared on my Pi, and I have a /boot/home/sharedpi
mountpoint.  Those are both exactly what I provide in my mount command:

  mount -t nfs4 -p "192.168.1.8:/var/shared /boot/home/sharedpi

I imagine that if I was doing the mount from ~, I could just give the basename.
Probably that's what Glenn is doing...

        -- Pete --

Other related posts: