手动转储导出策略缓存 (vserver export-policy cache flush) 会删除可能已过时的信息,并强制 ONTAP 从适当的外部资源检索当前信息。这有助于解决与客户端访问 NFS 导出相关的各种问题。
导出策略缓存信息可能由于以下原因而过时:
要转储的内容 | 命令 |
---|---|
所有导出策略缓存(showmount 除外) | vserver export-policy cache flush -vserver vserver_name |
导出策略规则访问缓存 | vserver export-policy cache flush -vserver vserver_name -cache access 您可以包含可选的 -node 参数来指定要转储访问缓存的节点。 |
主机名缓存 | vserver export-policy cache flush -vserver vserver_name -cache host |
网络组缓存 | vserver export-policy cache flush -vserver vserver_name -cache netgroup 处理网络组会占用大量资源。仅当您尝试解决的客户端访问问题由过时的网络组引起时,才应转储网络组缓存。 |
showmount 缓存 | vserver export-policy cache flush -vserver vserver_name -cache showmount |
要转储的内容 | 命令 |
---|---|
导出策略规则访问缓存 | vserver export-policy cache flush -vserver vserver_name -cache access 您可以包含可选的 -node 参数来指定要转储访问缓存的节点。 |
主机名缓存 | vserver services name-service cache hosts forward-lookup delete-all |
网络组缓存 | vserver services name-service cache netgroups ip-to-netgroup delete-allvserver services name-service cache netgroups members delete-all 处理网络组会占用大量资源。仅当您尝试解决的客户端访问问题由过时的网络组引起时,才应转储网络组缓存。 |
showmount 缓存 | vserver export-policy cache flush -vserver vserver_name -cache showmount |