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(而不是以前的 NFSv4.1)从 Unity 装载 NFS 导出。
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 端
在 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.