File system loop detected

General support questions
playak
Posts: 1
Joined: 2012/03/01 08:04:42

File system loop detected

Postby playak » 2012/03/01 08:19:10

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: Select all

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

User avatar
TrevorH
Forum Moderator
Posts: 16236
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: File system loop detected

Postby TrevorH » 2012/03/01 18:02:51

Do

Code: Select all

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.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

File system loop detected

Postby pschaff » 2012/03/03 18:19:50

Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

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.

gulikoza
Posts: 181
Joined: 2007/05/06 20:15:23

Re: File system loop detected

Postby gulikoza » 2012/03/04 20:45:40

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.

bassi
Posts: 1
Joined: 2012/03/05 12:50:51
Contact:

Re: File system loop detected

Postby bassi » 2012/03/05 13:06:45

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

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: File system loop detected

Postby pschaff » 2012/03/05 18:52:25

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.

wclark
Posts: 5
Joined: 2009/09/19 02:33:37

Re: File system loop detected

Postby wclark » 2012/03/23 12:44:41

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

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: File system loop detected

Postby pschaff » 2012/03/23 14:11:35

Second hijack and the OP has never returned. This thread is now locked. Please start your own topic for any new questions.


Return to “CentOS 6 - General Support”

Who is online

Users browsing this forum: Google [Bot] and 0 guests