Re: Local Mount Options

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

 



On Wed, 2013-03-06 at 12:55 -0800, Tim Gustafson wrote:
> > The "-fstype=nfs4" option is parsed by the automounter, which turns
> > it into "-t nfs4". LDAP map example showing how I think it should
> > work (untested):
> 
> As I said earlier, I can't do this in my LDAP server because the other OSs
> that use the maps don't understand those options.  I want my LDAP automount
> maps to not have any options at all, and all OS-specific mount options to
> be specified in the local machine configuration.  So, I'm looking to find a
> place to specify those local mount options in (for example)
> /etc/sysconfig/autofs.
> 

I think Leonardo is correct here.

You should be able to specify the fstype autofs pseudo option as a -o
option and you should be able to specify vers=4 or similar (it might be
nfsvers=4 but I don't have a rhel-5 vm available right now to check), as
required for rhel-5. If those options aren't being passed through, as
Leonardo mentioned might be the case, and you have a rhel subscription
you should log a call and have it fixed.

You should be able to put this in the /etc/sysconfig/autofs OPTIONS
entry (something like OPTIONS="-O fstype=nfs4") or in the master
map, /etc/auto.master.

Be aware that using something like vers=4 or nfsvers=4 is not treated
the same way as fstype=nfs4 is some cases.

Ian

--
To unsubscribe from this list: send the line "unsubscribe autofs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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