Isilon:如何配置 macOS NFSv4 客户端以使用数字 ID

Summary: macOS 上的简单配置更改可以更改其在 NFSv4 装载上的行为,以使用 UID 和 GID,而不是user@nfsdomain 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

在 Mac 客户端上,打开终端应用程序并运行以下命令:

sudo sysctl vfs.generic.nfs.client.idmap_ctrl=2

将 NFSv4 导出重新装载到 Mac 上,然后再次测试。

作,如 chmod, chgrp, or chown 现在将使用 UID 和 GID 而不是 NFSv4 主体名称 (user@nfsdomain) 来完成。

 

提醒:通过使用以下各项,无法使此更改在重新启动后继续有效: /etc/sysctl.conf,由于 macOS 的系统完整性保护 (SIP) 系统施加的限制。网上提供了各种指南,其中详细介绍了此限制的解决方法,例如使用 LaunchDaemon 在引导时设置 sysctls。对这些解决方法的讨论超出了本知识库文章的范围。

 

Affected Products

Isilon, PowerScale, Isilon Gen6.5, Isilon Gen6, PowerScale OneFS
Article Properties
Article Number: 000343792
Article Type: How To
Last Modified: 14 Jul 2025
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.