VNX:在控制台上运行“find”时检测到文件系统循环

Summary: VNX:在控制台上运行“find”时检测到的文件系统循环。

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

用户正在运行 find 在 Data Mover 上装载的文件系统中查找文件时,控制台上的命令。

用户在运行 linux 时收到“Filesystem loop detected”(检测到文件系统循环)错误 find 以 root 用户身份从控制台的根 “/” 目录发出命令,以尝试搜索文件。

find: Filesystem loop detected; `/nasmcd/quota/slot_7/fs03group61/mail/61'“具有与文件系统层次结构中高三级的目录相同的设备编号和索引节点。

find 在控制台上运行命令时,该命令停止响应。

 

Cause

使用 find 命令,以根用户身份从根 “/” 目录发出, find 搜索整个系统以查找指定的关键字,这包括安装在 Data Mover 上的所有客户文件系统(例如:“/nas/quota/slot_2/fs_name/”)。因为控制台目录结构与 Data Mover 上装载的客户文件系统是不同的物理文件系统。这两个文件系统中的每一个都可以共享相同的索引节点编号。

在清除 find 命令从先前已搜索到的目录中检测到相同的信息节点编号,显示错误,并且命令可能会停止响应。
在这种情况下,由于控制台目录结构和客户目录结构位于单独的物理文件系统上,因此可以忽略此错误。

使用 “ls -ial” 命令,我们可以检查两个不同文件系统之间的索引节点 #,并确认索引节点编号是重复的。
在下面的示例中, 索引节点 # 显示在 “ls -ial” 输出的左列中。

示例:

[root@VNX001 /]# find / -name rpt_file
/nasmcd/quota/slot_7/fs03install/.etc/rpt_file
/nasmcd/quota/slot_7/fs03db99/.etc/rpt_file
/nasmcd/quota/slot_7/fs03sub/.etc/rpt_file
/nasmcd/quota/slot_7/fs03audit/.etc/rpt_file
/nasmcd/quota/slot_7/fs03group99/.etc/rpt_file    <<<<<Filesystem loop detected here

find: Filesystem loop detected; `/nasmcd/quota/slot_7/fs03group61/dir/99'“具有与文件系统层次结构中高三级的目录相同的设备编号和索引节点。

请注意,将目录结构向上比较 3 级,名为 “.”“99” 的两个文件共享相同的索引节点 #。

[root@VNX001 slot_7]# ls -ial /nasmcd/quota/slot_7/
total 552
                   2 drwxr-xr-x  37 root root  2048 Aug 10  2015 .   <<<inode # is 2
                5695 drwxr-xr-x  17 root root     0 Jul 15 01:00 ..
                   4 dr-xr-xr-x  13 root bin   2048 Apr 16  2015 .etc
18446744071562067968 drwxr-xr-x   6 root root  1024 Sep  8  2013 .etc_common
                   3 drwxr-xr-x   2 root root  8192 Sep  8  2013 lost+found
....(output omitted)....
[root@VNX001 slot_7]#

[root@VNX001 slot_7]# ls -ial /nasmcd/quota/slot_7/fs03group99/mail/      <<<Note different directory
total 2448
   75 drwxrwx--- 102 103 101  4096 Oct 10  2013 .
   95 drwxrwx---   7 103 101  1024 Sep 12  2013 ..
....(output ommited)...
    2 drwxrwx--- 301 103 101 25600 Jul 26 20:24 99    <<<inode # is 2
....(output ommited)...
[root@VNX001 slot_7]#

 

Resolution

这不是中断/修复问题。报告的错误是命令的预期行为。Control Station 有权访问 /nas/quota/ 下装载的数据移动器文件系统,因此 find 命令可能会找到索引节点循环,因为装载了不同的文件系统。

在运行 find 命令不会中断生产环境,建议不要在控制台的“/”或“/nas”目录级别运行命令 root。

 

Affected Products

VNX1 Series

Products

Celerra, VNX VG10, VNX VG2, VNX VG50, VNX VG8, VNX1 Series, VNX2 Series
Article Properties
Article Number: 000052326
Article Type: Solution
Last Modified: 20 Oct 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.