Dell Unity:如何在執行 OE 5.5 的 Unity 上將最高 NFS 版本從 4.2 降級至 4.1 (使用者可修正)
Summary: 本知識文章提供在執行 OE 5.5 的 Unity 上,將最高 NFS 版本從 4.2 降級至 4.1 的程序
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.
Symptoms
客戶可能會注意到他們的 Linux 用戶端透過 NFSv4.2 掛接 NFS 匯出,而非先前的 NFSv4.1。
Cause
從 Unity OE 5.5 版開始,將包含對 NFSv4.2 的支援。NFSv4.2 通訊協定支援帶來額外的安全性和效能,以及備援檔案和 NFS 安全性標籤的 NFS 屬性支援。
在 Unity OE 升級期間,當 SP 按順序重新開機時,支援 NFSv4.2 的 NFS 用戶端會自動使用 NFSv4.2 重新掛接匯出。
此自動通訊協定升級可能會導致非預期的問題,部分客戶可能會想要將 NFS 版本從 NFSv4.2 降級至 NFSv4.1 或更低版本。
Resolution
有兩種方法可以降級 NFS 協定版本:一種是在用戶端,另一種是在 Unity 端。
- 用戶端:
客戶可以在用戶端掛載期間顯式指定 NFS 協定版本。例如,若要強制執行 NFSv4.1:
[root@rhel8 tmp]# mount -o vers=4.1 5.6.7.196:/test /tmp/test
注意:用戶端掛接遭到變更時,不需要重新開機 SP。此特定命令是 Red Hat Linux 專用。 用戶端限制 NFS 版本的命令可能會有所不同。
- 團結方面
在 Unity 中,無法在 Unisphere 中指定 NFSv4 版本,但 Unity OE 5.5 中導入了一個 CLI 參數,可控制 Unity 可支援的最大 NFSv4 版本。
下列命令可用來列出 Unity NAS 伺服器支援的目前最大 NFSv4 版本。 「default_value = 2」和「current_value = 2」皆表示 Unity 支援 NFSv4.2。
06:59:09 service@unity spa:~/user# svc_nas ALL -param -facility nfsv4 -info maxMinorVersion -verbose
SPA :
param nfsv4.maxMinorVersion added into the list of visible params
name = maxMinorVersion
facility_name = nfsv4
default_value = 2
current_value = 2
configured_value =
param_type = global
user_action = reboot SP
change_effective = reboot SP
range = (0,2)
description = NA
test:
name = maxMinorVersion
facility_name = nfsv4
default_value = 2
current_value = 2
configured_value =
param_type = global
user_action = reboot SP
change_effective = reboot SP
range = (0,2)
description = NA
下列命令可用來將最大 NFSv4 版本從預設 4.2 降級至 4.1。
07:01:30 service@unity spa:~/user# svc_nas ALL -param -facility nfsv4 -modify maxMinorVersion -value 1
SPA : done
Warning 17716815750: SPA : You must reboot the SP for maxMinorVersion changes to take effect.
注意:SP 必須重新開機才能使變更生效。參數變更和 SP 重新開機後,用戶端掛接輸出中的「vers」應為 4.1。
Affected Products
PowerStoreArticle Properties
Article Number: 000328321
Article Type: Solution
Last Modified: 03 Jul 2025
Version: 5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.