CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 6 - General Support
  File system loop detected

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  playak
      playak
File system loop detected
#1
Newbie
Joined: 2012/3/1
From
Posts: 1
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:

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


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
Posted on: 2012/3/1 8:19
Create PDF from Post Print
Top
  •  TrevorH
      TrevorH
Re: File system loop detected
#2
Moderator
Joined: 2009/9/24
From Brighton, UK
Posts: 6372
Do

ls -ldi /var/named/chroot/var/named/ /var/named


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.
_________________
Linux/VoIP Systems Administrator
Posted on: 2012/3/1 18:02
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: File system loop detected
#3
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
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

To see if you have followed a symbolic link use /bin/pwd rather than the shell built-in.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/3/3 18:19
Create PDF from Post Print
Top
  •  gulikoza
      gulikoza
Re: File system loop detected
#4
Regular Board Member
Joined: 2007/5/6
From
Posts: 87
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.
Posted on: 2012/3/4 20:45
Create PDF from Post Print
Top
  •  bassi
      bassi
Re: File system loop detected
#5
Newbie
Joined: 2012/3/5
From
Posts: 1
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
Posted on: 2012/3/5 13:06
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: File system loop detected
#6
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
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 Other Voices and When CentOS Is Not CentOS 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.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/3/5 18:52
Create PDF from Post Print
Top
  •  wclark
      wclark
Re: File system loop detected
#7
Newbie
Joined: 2009/9/19
From
Posts: 5
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
Posted on: 2012/3/23 12:44
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: File system loop detected
#8
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Second hijack and the OP has never returned. This thread is now locked. Please start your own topic for any new questions.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/3/23 14:11
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You cannot view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com