Re: How to get autofs to use NFS v4?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2018-08-03 at 11:42 -0500, Patrick Goetz wrote:
> On 08/01/2018 09:27 PM, Ian Kent wrote:
> > Assuming that v4 is the default put (which should be set to match
> > the nfs-utils default):
> > 
> > mount_nfs_default_protocol = 4
> > 
> > into the "[ autofs ]" configuration section and see if that makes
> > the availability probe check v4 and mount ok (without using the
> > fstype option).
> > 
> 
> That solved the problem!  Thank you so much.  I guess I should have 
> thought to read carefully through the comments in /etc/autofs.conf (the 
> fact that mount_nfs_default_protocol defaults to 3 is mentioned there), 
> so really this is a case of RTFM, for which I apologize.
> 

That config option has been around for a while now.
It's probably long past time to change the default to 4.

Mind you the Ubuntu maintainers probably should set this
to 4 in the default installed autofs configuration because
they will know the nfs-utils package in their distribution
uses NFSv4 by default.

It would still work if I changed the package default.

Ian
--
To unsubscribe from this list: send the line "unsubscribe autofs" in



[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux