Dell Unity:NFSv4 无法装载到导出路径,但 NFSv3 成功。(用户可纠正)

Summary: 本文介绍了在尝试使用 NFSv4 装载时装载失败并显示“No such file or directory”(没有此类文件或目录)的原因之一。

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

当共享名称包含“/”字符时,具有导出路径的 NFSv4 装载失败。
mount -o vers=4 xx.xx.xx.xx:/<share name contains "/"> /mnt/nfsv4
mount.nfs: mounting xx.xx.xx.xx:/<share name contains "/"> failed, reason given by server: No such file or directory
尝试使用 NFSv3 装载到同一导出路径成功。

Cause

NFSv4 客户端无法装载包含“/”字符的共享名称。

Unisphere CLI 文档声明以下内容:
NFSv4 客户端不能使用包含“/”字符的名称装载共享。
相反,客户端必须使用共享路径。

Resolution

如果满足上述条件,请使用共享路径(本地路径)而不是共享名称(导出路径)进行装载。

Additional Information

以下是 NFS 共享名称包含“/”的示例。
这是 Unisphere UI 屏幕的示例,其中
在此示例中,如果文件系统下有一个名为“/AAA/CCC”的文件夹,则在尝试使用 NFSv4 装载该文件夹时会装载该文件夹。
如果文件系统下没有文件夹“/AAA/CCC”,则会显示“No such file or directory”错误。

使用 NFS 版本 3 通过“导出路径”装载
# mount -o vers=3 xx.xx.xx.xx:/AAA/CCC /mnt/nfsv3
使用 NFS 版本 4 通过“导出路径”装载
# mount -o vers=4 xx.xx.xx.xx:/AAA/CCC /mnt/nfsv4
mount.nfs: mounting xx.xx.xx.xx:/AAA/CCC failed, reason given by server: No such file or directory
使用 NFS 版本 4 通过“本地路径”装载
# mount -o vers=4 xx.xx.xx.xx:/testfs/AAA/BBB/CCC /mnt/nfsv4

Affected Products

Dell EMC Unity, Dell Unity 450F DC, Dell Unity 300, Dell Unity 300 DC, Dell EMC Unity 300F, Dell EMC Unity 350F, Dell Unity 350F DC, Dell EMC Unity XT 380, Dell EMC Unity XT 380F, Dell EMC Unity 400, Dell Unity 400 DC, Dell EMC Unity 400F , Dell EMC Unity 450F, Dell EMC Unity XT 480, Dell EMC Unity XT 480F, Dell EMC Unity 500, Dell EMC Unity 500F, Dell EMC Unity 550F, Dell EMC Unity 600, Dell EMC Unity 600F, Dell EMC Unity 650F, Dell EMC Unity XT 680, Dell EMC Unity XT 680F, Dell EMC Unity XT 880, Dell EMC Unity XT 880F, Dell EMC Unity Family |Dell EMC Unity All Flash, Dell EMC Unity Family, Dell EMC Unity Hybrid, Dell EMC UnityVSA Professional Edition/Unity Cloud Edition ...
Article Properties
Article Number: 000224159
Article Type: Solution
Last Modified: 06 Aug 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.