PowerScale:了解 NFSv4 非默认设置
Summary: 了解 NFSv4 非默认设置。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
有时,默认 NFSv4 设置会产生意外结果。可能会出现以下问题,并可根据需要进行调整。最佳实践建议避免使用非默认设置,因为它们通常会破坏 NFSv4 访问控制列表 (ACL) 支持。
- 未配置 NFSv4 域:Root 所有权显示为
nobody:nobody,而非 root 用户显示正确的user:group上下文。如果没有域信息,则不太可能在装载上支持 ACL。 -
NFSv4 域配置如下:Root 所有权显示为
root:wheel而不是root:root。如果 root 访问权限至关重要,请在 Isilon 区域或 Linux 客户端上设置根 GID。此选项与使用多个 NFSv4 分区的环境最相关。不建议编辑System分区。
为什么 root 显示为 root:wheel:NFSv4 从服务器返回 UID 和 GID 名称。在 OneFS 中, 0:0 映射到 root:wheel。Linux 系统可能缺少 wheel 分组或为其分配 GID 10。解决方法是为 NFSv4 分区使用本地提供程序文件,但不建议修改 System 分区。
另一个选项是编辑客户端文件,如知识库文章中所述:启用 no_root_squash 的 NFSv4 导出在 Linux 客户端上使用组滚轮,而不是使用组根。此方法将 root 添加到 /etc/group。
-
NFSv4 No Names设置为非默认值 YES:此设置发送 UID/GID 而不是
user@domain。Root 所有权显示为root:root,但 ACL 支持失败,因为协议需要user@domain每个 RFC 的语法。
上下文相关帮助中提供了 NFS 分区设置的技术详细信息。
CLUSTER# isi nfs settings zone modify -h
Description:
Change the default NFS zone options.
Required Privileges:
ISI_PRIV_NFS
Usage:
isi nfs settings zone modify
[--nfsv4-domain <string>]
[--revert-nfsv4-domain]
[--nfsv4-replace-domain <boolean>]
[--revert-nfsv4-replace-domain]
[--nfsv4-no-domain <boolean>]
[--revert-nfsv4-no-domain]
[--nfsv4-no-domain-uids <boolean>]
[--revert-nfsv4-no-domain-uids]
[--nfsv4-no-names <boolean>]
[--revert-nfsv4-no-names]
[--nfsv4-allow-numeric-ids <boolean>]
[--revert-nfsv4-allow-numeric-ids]
[--zone <string>]
[{--verbose | -v}]
[{--help | -h}]
Options:
--nfsv4-domain <string>
NFSv4 domain name.
--revert-nfsv4-domain
Set value to system default for --nfsv4-domain.
--nfsv4-replace-domain <boolean>
Replace owner/group domain with nfs domainname. (v4).
--revert-nfsv4-replace-domain
Set value to system default for --nfsv4-replace-domain.
--nfsv4-no-domain <boolean>
Send owners/groups without domainname (v4).
--revert-nfsv4-no-domain
Set value to system default for --nfsv4-no-domain.
--nfsv4-no-domain-uids <boolean>
Send UIDs/GIDs without domainname (v4).
--revert-nfsv4-no-domain-uids
Set value to system default for --nfsv4-no-domain-uids.
--nfsv4-no-names <boolean>
Always send owners/groups as UIDs/GIDs (v4).
--revert-nfsv4-no-names
Set value to system default for --nfsv4-no-names.
--nfsv4-allow-numeric-ids <boolean>
Send owners/groups as UIDs/GIDs when lookups fail or if no_names=1 (v4).
--revert-nfsv4-allow-numeric-ids
Set value to system default for --nfsv4-allow-numeric-ids.
--zone <string>
Access zone.
Display Options:
--verbose | -v
Display more detailed information.
--help | -h
Display help for this command.
命令行界面中的默认值:
CLUSTER# isi nfs settings zone view NFSv4 Domain: localhost NFSv4 Replace Domain: Yes NFSv4 No Domain: No NFSv4 No Domain UIDs: Yes NFSv4 No Names: No NFSv4 Allow Numeric IDs: Yes
WebUI 中的默认值:
Additional Information
Affected Products
IsilonProducts
IsilonArticle Properties
Article Number: 000023023
Article Type: How To
Last Modified: 27 Nov 2025
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.