Answer the question
In order to leave comments, you need to log in
Du reports a looped path and a 'corrupted file system'. How to check if everything is in order?
Hello.
The server has bind installed from the bind-chroot package (CentOS 6). Today I accidentally discovered that "du" complains about a looped path.
# du -ch --max-depth=1
...
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:
`./named/chroot/var/named'
14M ./named
...
# pwd
/var/named/chroot/var/named/chroot/var/named
# ls -lah
drwxr-x--- 2 root named 4.0K Jun 7 19:40 .
drwxr-x--- 6 root named 4.0K Jun 10 00:56 ..
Answer the question
In order to leave comments, you need to log in
> /var/named/chroot/var/named/chroot/var/named
hmm, well, if this is definitely not a looped path, then you don’t have to worry, a false alarm.
But I am somehow confused by the explicit repetition of "/var/named", well, "du" thinks the same way, because it is looking for a repetition of the path, and here it repeats already three times.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question