循環目錄結構

循環目錄結構

我的 CentOS 伺服器上du產生的循環目錄結構警告有問題。find

我有兩台 FreeNAS 伺服器,透過 NFS 匯出多個資料集,這些資料集以分層結構安裝在 CentOS 伺服器上。例如:

FreeNAS datasets: 
  u, home, user1, user2
CentOS file hierarchy:
  /u
  /u/home
  /u/home/user1
  /u/home/user2

當我跑到dufind棵樹中的任何地方時,他們會感到不安並告訴我有一個循環文件結構。

find: File system loop detected; './u/home/user1' is part of the same file system 
loop as '/u/home'.

du: WARNING: Circular directory structure.
This almost certainly means that you have a corrupted file system.
NOTIFY YOUR SYSTEM MANAGER.
The following directory is part of the cycle:
'./u/home/user1'

我認為發生此警告是因為每個資料集的掛載點都具有相同的索引節點號。不過,我認為這不是問題,因為每個都是它自己的檔案系統。

我是正確的還是這裡實際上存在問題?如果出現問題,我該如何解決?如果沒有,我可以告訴find並且du不報告這些警告嗎?

相關內容