VNX:在控制站上執行「尋找」時偵測到檔案系統迴圈

Summary: VNX:在控制站上執行「find」時偵測到檔案系統迴圈。

Ez a cikk a következő(k)re vonatkozik: Ez a cikk nem vonatkozik a következő(k)re: Ez a cikk nem kapcsolódik egyetlen konkrét termékhez sem. Ez a cikk nem azonosítja az összes termékverziót.

Symptoms

使用者正在執行 find 在安裝在資料移動者上的檔案系統中尋找檔案時,控制站上的命令。

使用者在執行 linux 時收到「Filesystem loop detected」錯誤 find 以根使用者身份從控制站 的根「/」 目錄嘗試搜尋檔案的命令。

find: Filesystem loop detected; `/nasmcd/quota/slot_7/fs03group61/mail/61'」具有與目錄相同的裝置編號和 inode,在檔案系統層級中上層級更高三層。

可使用 find 在控制站上執行命令時停止回應。

 

Cause

使用 find 在 VNX 或 Celerra Control Station 上從根「 /」 目錄的根使用者身分執行命令, find 在整個系統中搜尋指定的關鍵字,這包括安裝在資料移動器上的所有客戶檔案系統 (例如:「/nas/quota/slot_2/fs_name/」)。因為控制站目錄結構與安裝在數據移動器上的客戶文件系統是不同的物理文件系統。這兩個檔案系統中的每一個都可能共用相同的索引節點編號。

find 命令從先前已搜尋過的目錄中偵測到相同的 inode 編號,錯誤隨即顯示,且命令可能會停止回應。
在這種情況下,由於控制站目錄結構和客戶目錄結構位於不同的物理文件系統上,因此可以忽略此錯誤。

使用 「ls -ial」 命令,我們可以檢查兩個不同檔案系統之間的 inode #,並確認 inode 編號是否重複。
在以下範例中, inode # 會顯示在 「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'」具有與目錄相同的裝置編號和 inode,在檔案系統層級中上層級更高三層。

請注意,將目錄結構向上比較 3 級,名為 “.”“99” 的兩個文件共用相同的 inode #。

[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

這不是損壞/修復問題。報告的錯誤是命令的預期行為。控制站可存取 /nas/quota/ 下掛接的資料移動者檔案系統,因此 find 命令可能會發現 inode 循環,因為掛載了不同的檔案系統。

執行 find 命令不會中斷生產環境,不建議在控制站的「/」或「/nas」目錄層級中執行命令根。

 

Érintett termékek

VNX1 Series

Termékek

Celerra, VNX VG10, VNX VG2, VNX VG50, VNX VG8, VNX1 Series, VNX2 Series
Termék tulajdonságai
Article Number: 000052326
Article Type: Solution
Utoljára módosítva: 20 okt. 2025
Version:  5
Választ kaphat kérdéseire más Dell-felhasználóktól
Támogatási szolgáltatások
Ellenőrizze, hogy a készüléke rendelkezik-e támogatási szolgáltatással.