PowerScale:瞭解 NFSv4 非預設設定
Summary: 瞭解 PowerScale 叢集上的 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 網域未設定:
- 根帳戶擁有權顯示為
nobody:nobody,而非 root 使用者顯示正確user:group上下文。若無網域資訊,則不可能在掛接上提供 ACL 支援。如需詳細資訊 ,請參閱 PowerScale: NFSv4 用戶端無法存取資源,導致擁有者/群組列為無主體/無群組。
- 根帳戶擁有權顯示為
- 已設定 NFSv4 網域:
- 根帳戶擁有權顯示為
root:wheel而不是root:root。 發生這種情況是因為 NFSv4 會從伺服器傳回 UID 和 GID 名稱。在 OneFS 中,UID 0 和 GID 0 對應至root:wheel.Linux 系統可能缺少輪組或為其指派 GID 10。可能的因應措施是將 root 新增至 Linux 用戶端上的輪群組。這將需要更改每個用戶端,但可避免伺服器端配置更改。叢集端的替代方案是設定nfsv4-no-names是的,但這有警告。
- 根帳戶擁有權顯示為
- NFSv4 無名稱設定為非預設為 「是」:
- 此設定會傳送 UID/GID,而不是
user@domain.根帳戶擁有權顯示為root:root,但 ACL 支援失敗,因為協定要求user@domain每個 RFC的語法。不建議將此設定作為永久因應措施,因為它會中斷 NFSv4 ACL 功能。
- 此設定會傳送 UID/GID,而不是
執行下列命令,即可取得 NFS 區域設定的技術詳細資料:
# 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.
命令行介面的預設值:
# 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
預設值為在 OneFS WebU 中,此映像來自 OneFS 9.13 WebUI,但應類似於較早版本:
Additional Information
Affected Products
PowerScale OneFSProducts
IsilonArticle Properties
Article Number: 000023023
Article Type: How To
Last Modified: 16 أيلول 2026
Version: 5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.