Re: NFS server caches client mount permissions?

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

 



On Tue, 01 Jul 2014 15:03:41 +0200 Rik Theys <Rik.Theys@xxxxxxxxxxxxxxxx>
wrote:

> Hi,
> 
> We use NFS4 to export data to other clients. The exports file has the 
> directories exported to netgroups, for example:
> 
> /export		@nfs(rw,async,no_subtree_check,fsid=0)
> /export/data1	@nfs(rw,async,no_subtree_check)
> /export/data2	@nfs(rw,async,no_subtree_check)
> 
> If we forget to add a new client to the netgroup, the server rejects the 
> mount from the client (as it should). But when we then add the client to 
> the netgroup it can take up to 15 minutes for the server to accept the 
> new client.
> 
> Using 'getent netgroup nfs' on the server immediately shows the new 
> entry of the client.
> 
> Running exportfs -rv to reload the exports also doesn't help.
> 
> Does nfsd cache mount access (rejections) somewhere? How can I 
> flush/tune this cache? Preferably without restarting the NFS server as 
> that causes a 90s interruption due to the grace period.

Does
  exportfs -f

help?  It flushes the cache (which is normally updated ever 15 minutes).

NeilBrown

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux