PowerScale:如何强制所有 NFS 客户端使用别名而不是完整路径访问 NFS 导出
Summary: PowerScale (Isilon) 群集提供配置更改,以显示和仅允许访问 NFS 别名,而不是 /ifs 中的完整路径。
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
PowerScale (Isilon) 群集提供使用别名共享 NFS 导出的功能。这允许客户端使用别名装载,而不是使用完整的 /ifs 路径。
在默认配置中,可以使用配置的别名或 NFS 导出的路径装载群集。
本文显示仅允许使用别名进行访问的配置更改。
此配置更改需要重新启动 NFS 服务,这可能是某些 NFS 客户端的颠覆性更改。此配置更改也适用于所有访问分区。
之前,显示别名(/网络组和多个导出):
之后,仅显示别名:
访问未配置别名的 NFS 导出会导致客户端出现权限拒绝错误。
在默认配置中,可以使用配置的别名或 NFS 导出的路径装载群集。
本文显示仅允许使用别名进行访问的配置更改。
此配置更改需要重新启动 NFS 服务,这可能是某些 NFS 客户端的颠覆性更改。此配置更改也适用于所有访问分区。
实现
- 运行此命令可更改配置:
isi_gconfig注册表。Services.lwio.Parameters.Drivers.nfs.MountdMustUseAlias=1 - 使用以下命令重新启动 NFS 服务:
/usr/likewise/bin/lwsm restart onefs_nfs
更多信息
之前,显示别名(/网络组和多个导出):
$ showmount -e 192.168.1.31 Export list for 192.168.1.31: /netgroup (everybody) /ifs/data/netgroup (everybody) /ifs/data (everybody)
之后,仅显示别名:
$ showmount -e 192.168.1.31 Export list for 192.168.1.31: /netgroup (everybody)
访问未配置别名的 NFS 导出会导致客户端出现权限拒绝错误。
$ mount -t nfs -o "vers=3" 192.168.1.31:/ifs/data /mnt/test mount.nfs: access denied by server while mounting 192.168.1.31:/ifs/data
Affected Products
Isilon, Isilon, Isilon A100, Isilon A200, Isilon A2000, Isilon F800, Isilon F810, Isilon Gen6.5, Isilon Gen6, Isilon H400, Isilon H500, Isilon H5600, Isilon H600, Isilon HD400, Isilon ICH-DEEP Chassis, Isilon ICH-NORM Chassis, Isilon NL400
, Isilon NL410, PowerScale OneFS, Isilon S200, Isilon S210, Isilon X200, Isilon X210, Isilon X400, Isilon X410, PowerScale Archive A300, PowerScale Archive A3000, PowerScale B100, PowerScale Deep Chassis, PowerScale F200, PowerScale F600, PowerScale F900, PowerScale Hybrid H700, PowerScale Hybrid H7000, PowerScale Normal Chassis, PowerScale P100
...
Article Properties
Article Number: 000214653
Article Type: How To
Last Modified: 09 Oct 2023
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.