清空导出策略高速缓存
清空导出策略高速缓存可手动(vserver export-policy cache flush)删除可能已过时的信息,并强制 ONTAP 从相应的外部资源检索最新信息。这样有助于解决多种与客户端访问 NFS 导出相关的问题。
关于本任务
以下原因可能导致导出策略高速缓存信息过时:
最近更改了导出策略规则
最近更改了名称服务器中的主机名记录
最近更改了名称服务器中的 netgroup 条目
从网络中断状态恢复正常,阻止完全加载 netgroup
- 如果没有启用名称服务高速缓存,请在高级权限模式下执行以下操作之一:
如果要清空... 请输入命令... 所有导出策略高速缓存(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 netgroup 高速缓存 vserver export-policy cache flush -vserver vserver_name -cache netgroup 处理 netgroup 会占用大量资源。只有在尝试解决由过时的 netgroup 导致的客户端访问问题时,才应清空 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 netgroup 高速缓存 vserver services name-service cache netgroups ip-to-netgroup delete-all vserver services name-service cache netgroups members delete-all 处理 netgroup 会占用大量资源。只有在尝试解决由过时的 netgroup 导致的客户端访问问题时,才应清空 netgroup 高速缓存。
showmount 高速缓存 vserver export-policy cache flush -vserver vserver_name -cache showmount
提供反馈