> > > > Ref:
> > > > Beyond LinuxR From Scratch - Version 2016-04-10
> > > > Chapter 15. Networking Programs
> > > > 
> > > > NFS-Utils-1.3.3
> > > > 
> > > > Compiling with "--disable-nfsv4" has no effect:
> > > > 
> > > > $ sudo mount.nfs -v localhost:/mnt/nfs nfs_test
> > > > ...
> > > > mount.nfs: trying text-based options
> > > > 'vers=4.2,addr=127.0.0.1,clientaddr=127.0.0.1'
> > > > 
> > > I have seen the need to specify the version when mounting from a
> > > distro, but on the BLFS 7.9 machine I am currently using I compiled
> > > with --disable-gss --disable-nfsv4 --without-tcp-wrappers
> > > --disable-ipv6 and my nfs v3 mounts work fine using just 'nfs' as
> > > the fstype in /etc/fstab (and variously _netdev or noauto or
> > > noauto,user in the options).
> > >
> > This was mounting a share on the server from the server as a test using
> > nfs-utils-1.3.3 compiled as per blfs
> > 
> > If the first thing tried is "vers=4.2", something would seem to be
wrong?
> > 
> It sounds wrong, but I have never tried that - call me old-fashioned,
> but I mount from a separate machine.
> 
> The mount program has been mount.nfs4 for some time, so it does not
> surprise me that passing --disable-nfsv4 does not disable all of it.
> 
> After a quick test running configure *without* disabling nfsv4, the
> configure fails because libnfsidmap is not present.  So arguably the
> explanation could be more specific.
> 
> I see that we mention a lot of optional dependencies: of those, I
> only build sqlite.  I think I used to build libevent, but have you
> installed any of the other optional deps ?  If so, perhaps they
> change how much of nfs4 gets built.
>
The reason I was test mounting a share on the server is that I could not
mount the share from inside a qemu-2.5.1 vm on the same machine - as soon as
I specified "nfsvers=3" then the vm mount also worked fine.

I did not compile against any of the blfs optional dependencies only
libtirpc and I aslo tried with and without the "mount.nfs4" symlink.

John
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to