I have a site that is currently using NFS4 for most of its traffic. We have a mix of autofs4 and autofs5 clients. The following map is used to provide access to host filing system exports

Auto.master:

/hosts     auto.hosts

auto.hosts

*       -fstype=nfs4,tcp,rsize=32768,wsize=32768,hard,intr,nodev,nosuid &:/

This works fine in both autofs4 and autofs5 if the client is not the server (i.e. loopback ...) However with autofs5 this returns the root of the local file system not the exported nfs4 root.

Is there a map syntax that would work round this? Ideally I would like the map to be the same on all hosts, I can have different maps on the autofs4 and autofs5 hosts easily but would not want to have a separate map per host.
--
Signature

Howard Wilkinson

Phone:

+44(20)76907075

Coherent Technology Limited

Fax:

 

23 Northampton Square,

Mobile:

+44(7980)639379

United Kingdom, EC1V 0HL

Email:

howard@cohtech.com