跳转到主内容

如何在NetApp NFS导出上配置all_squash等效项

Views:
195
Visibility:
Public
Votes:
0
Category:
data-ontap-8
Specialty:
nas
Last Updated:

适用场景

  • Data ONTAP 8.2 7-模式
  • Data ONTAP 8.1 7-模式
  • Data ONTAP 8 7-模式
  • Data ONTAP 7及更早版本

问题描述

本文介绍如何在NetApp NFS导出上配置all_squash等效项。

有时、用户更喜欢 all_squash 在网络文件系统(NFS)导出中使用选项。在Linux NFS服务器(而不是Data ONTAP)上、此 all_squash 选项会使服务器忽略传入的NFS用户标识符/组标识符(UID/GID)、并允许在导出中设置服务器。如果 all_squash 使用此选项、则会强制执行特定导出的所有客户端以同一用户身份进行读写。

all_squash 存储系统上未使用此选项。但是、 sec=noneanon=(uid) 可以使用和选项。有关详细信息,请参见以下知识库文章: How to configure NO_ROOT_squash on ONTAP 7 mode and集群模式Data ONTAP

[1] 
有关详细信息、请参见TR-4067:《NFS最佳实践和实施指南》(第4.8节:将所有UID映射到单个UID (squash_all))。有关如何 在集群模式Data ONTAP:如何在集群模式Data ONTAP中启用all_squash等效项中执行此操作的详细信息

TSAP讨论了问题描述与所有可使用两台Linux计算机复制的较新NFS客户端(而不是存储系统)一起使用。sec=none 导出中的命令和 -o sec=none 挂载中的命令使用了两个Debian框、但它们失败了。

sec=noneanon=(uid) 在存储系统上通过NFSv3使用命令和命令失败、并在控制台上记录以下消息:

Client <IP>, is send the NULL reply

尝试挂载时、客户端将返回类似于以下内容的错误输出:

配置NetApp NFS导出上的all_squash等效项

 尝试挂载时、存储系统将返回类似于以下内容的错误输出:

配置NetApp NFS导出上的all_squash等效项

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.