Autofs can mount NFS folder which shouldn't be mounted, and can't access it

Hi to all!

My NFS client use autofs to mount the folder shared by NetApp storage. And there are some problems,

On the NetApp NFS server, I restrict what ip can mount a folder, named "folderA"

NFS client not in the ip range, but I can mount folderA by using autofs, strictly speaking, I can see folderA.

When I access folderA, it will be not responding and the dmesg will show "WARNING: autofs_trigger_one: request for /net/folderA completed with error 5"

But when I use mount_nfs command to mount folderA, it will show "Permmission denied"

Because our have several servers, we want have a single autofs map, all server use the map

The NFS server control which one can mount which folders

In our environment, there are Arch, CentOS both can't see folderA

Is there any method to solve the problem? Thanks!
 
Back
Top