VNX:Control Stationで「find」を実行中にファイルシステムのループが検出される

Summary: VNX:Control Stationで「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にマウントされたファイル システム内でファイルを検索するときに、Control Stationで実行します。

Linuxを実行しているときに「Filesystem loop detected」エラーが表示される find コマンドをrootユーザーとして実行し、Control Stationのルート 「/」 ディレクトリからファイルの検索を試みます。

find: Filesystem loop detected; `/nasmcd/quota/slot_7/fs03group61/mail/61'" は、ファイルシステム階層の 3 つ上のレベルにあるディレクトリと同じデバイス番号と inode を持ちます。

スクリプト「 find Control Stationでコマンドを実行すると、コマンドが応答を停止する。

 

Cause

使用する場合 find コマンドをVNXまたはCelerra Control Stationのrootユーザーとして、rootの 「/」 ディレクトリーから実行します。 find システム全体で指定したキーワードを検索します。これには、Data Moverにマウントされているすべてのお客様のファイル システムが含まれます(例: "/nas/quota/slot_2/fs_name/")。Control Stationのディレクトリ構造は、Data Moverにマウントされているお客様のファイル システムとは異なる物理ファイル システムであるためです。これら2つのファイル システムは、それぞれ同じinode番号を共有できます。

このとき、 find コマンドが、以前に検索したディレクトリーと同じinode番号を検出すると、エラーが表示され、コマンドが応答を停止することがあります。
このシナリオでは、Control Stationのディレクトリー構造とお客様のディレクトリー構造が別々の物理ファイル システム上にあるため、エラーを無視できます。

「ls -ial」コマンドを使用すると、2つの異なるファイル システム間のinode #をチェックし、inode番号が重複していることを確認できます
次の例では、「ls -ial」出力の左側の列にinode #が表示されています。

Example:

[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 つ上のレベルにあるディレクトリと同じデバイス番号と inode を持ちます。

3 レベル上のディレクトリ構造を比較すると、「 .」「99」 という名前の 2 つのファイルが同じ 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

これは故障/修理の問題ではありません。報告されたエラーは、コマンドの予期された動作です。Control Stationは、/nas/quota/の下にあるマウントされたData Moverファイル システムにアクセスできるため、 find コマンドは、異なるファイル システムがマウントされているため、inodeループを検出する可能性があります。

実行中 find コマンドは本番環境を停止させないため、Control Stationの「/」または「/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.