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 網域未設定:
  • 已設定 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此超連結會帶您前往 Dell Technologies 以外的網站。 的語法。不建議將此設定作為永久因應措施,因為它會中斷 NFSv4 ACL 功能。

執行下列命令,即可取得 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,但應類似於較早版本:

 OneFS Web UI 

Additional Information

Affected Products

PowerScale OneFS

Products

Isilon
Article Properties
Article Number: 000023023
Article Type: How To
Last Modified: 16 Sep 2026
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.