Page 1 of 1

File system loop detected

Posted: 2012/03/01 08:19:10
by playak
I have no idea how to solve this. Google didn't really help either, except that I know now that directory hard links are not allowed,
yet this must be a hard link:

[code]
find: File system loop detected; `/var/named/chroot/var/named' is part of the same file system loop as `/var/named'.

[root@rhine chroot]# ll /var/named/chroot/
total 16K
drwxr-xr-x 2 root root 4.0K Feb 17 15:12 dev
drwxr-xr-x 3 root root 4.0K Feb 29 12:21 etc
drwxr-xr-x 4 root root 4.0K Feb 17 15:12 usr
drwxr-xr-x 4 named named 4.0K Feb 26 00:32 var

No symbolic links here, right?

[root@rhine chroot]# cd /var/named/chroot/var/named/chroot
[root@rhine chroot]# pwd
/var/named/chroot/var/named/chroot
[/code]

No idea where this loop came from, or how to remove it, but I sure know I don't like it...

Any help or hint would be appreciated a lot!

Cheers,
Jeroen
PS. System: Dedicated hosting box with Centos 6: /boot/vmlinuz-2.6.32-131.17.1.el6.x86_64

Re: File system loop detected

Posted: 2012/03/01 18:02:51
by TrevorH
Do

[code]
ls -ldi /var/named/chroot/var/named/ /var/named
[/code]

and see if the inode numbers are the same (they shouldn't be). If they are then you need to remove the /var/named/chroot/var/named/ hard link and recreate it as a directory.

File system loop detected

Posted: 2012/03/03 18:19:50
by pschaff
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

[quote]
playak wrote:
...
No symbolic links here, right?

[root@rhine chroot]# cd /var/named/chroot/var/named/chroot
[root@rhine chroot]# pwd
/var/named/chroot/var/named/chroot
[/quote]
To see if you have followed a symbolic link use [b]/bin/pwd[/b] rather than the shell built-in.

Re: File system loop detected

Posted: 2012/03/04 20:45:40
by gulikoza
Bind in Centos6 uses mount --bind to move files to chroot. These are not links but really same files mounted twice. Find messages would thus seem to be correct, but totally harmless.

Re: File system loop detected

Posted: 2012/03/05 13:06:45
by bassi
I have exact same issue on a new centos 6 server loaded with plesk and atomic linux. Did you find a solution to this ? Rgds Bassi

Re: File system loop detected

Posted: 2012/03/05 18:52:25
by pschaff
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

After reading those links you should realize why you should not hijack threads as you have done. Please start a new Topic for your issue to get the attention you need, providing a link to this one if required for context. There has been no previous mention of Plesk nor Atomic in this thread, but before starting your own Topic please read [url=http://wiki.centos.org/AdditionalResources/OtherVoices]Other Voices[/url] and [url=http://wiki.centos.org/AdditionalResources/OtherSpins]When CentOS Is Not CentOS[/url] and realize that if you choose to use those any support from here will be minimal at best, and that Plesk support is likely your best avenue to getting help.

Re: File system loop detected

Posted: 2012/03/23 12:44:41
by wclark
OK, here is another reply that DOES mention plesk and ASL. I have the EXACT same issue.
Perhaps the first poster also has plesk and ASL, but did not realize it, or did not mention it.

Has anyone found a cure yet?

find: File system loop detected; `/var/named/chroot/var/named' is part of the same file system loop as `/var/named'.

I believe a Plesk auto-update started the issue. My /var tree is 100%. Something filled the file system. When I try to find it, I get the above error.

[root@impress-dev named]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md1 3.7G 699M 3.0G 19% /
/dev/mapper/vg00-usr 3.9G 1.8G 2.0G 47% /usr
/dev/mapper/vg00-var 3.9G 3.8G 0 100% /var
/dev/mapper/vg00-home
3.9G 140M 3.6G 4% /home
none 6.0G 16K 6.0G 1% /tmp

Re: File system loop detected

Posted: 2012/03/23 14:11:35
by pschaff
Second hijack and the OP has never returned. This thread is now locked. Please start your own topic for any new questions.