Results 1 to 6 of 6

Thread: How to solve a File System Loop

  1. #1

    Default How to solve a File System Loop

    I was finding a particular file whose location was known to me. So I used the console for searching the file. But it came out with an error saying "File system loop detected..."

    When I checked it in the location specified in the error message, the root files where replicated in the said location as well.

    So I created a "Test File.txt" in root folder (/test file.txt). And then went to the other location where I could find the same file also. Needless to say, when I deleted it in one location it deleted it from the other location as well.

    So the contents of /* where the same as /.snapshots/1/snapshot/*

    Please help me as to how to solve this system loop and also inform me if this loop might create problems if not solved.

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,148

    Default Re: How to solve a File System Loop

    Quote Originally Posted by meetvekaria View Post
    I was finding a particular file whose location was known to me. So I used the console for searching the file. But it came out with an error saying "File system loop detected..."
    Telling stories is a way to annotate the facts. But we need the facts. So: how did you search? Best is copy/past from your terminal window between CODE tags in a post. You get the CODE tags by clicking on the # button in the post editor. Please copy complete: prompt, command, output, next prompt. Only then we will see the same as you see and it will provide us with which user did what and from where and what the output was.
    Henk van Velden

  3. #3

    Thumbs down Re: How to solve a File System Loop

    Quote Originally Posted by hcvv View Post
    Telling stories is a way to annotate the facts. But we need the facts. So: how did you search? Best is copy/past from your terminal window between CODE tags in a post. You get the CODE tags by clicking on the # button in the post editor. Please copy complete: prompt, command, output, next prompt. Only then we will see the same as you see and it will provide us with which user did what and from where and what the output was.
    Telling stories you yourself as well instead of simply saying "please attach the exact input and output done by you".

    Input:
    Code:
    linux-ouxy:~ # find / -name "name.jpg"
    Output:
    Code:
    find: File system loop detected; ‘/.snapshots/1/snapshot’ is part of the same file system loop as ‘/’.
    Without any next "linux-ouxy:" prompt.

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,838
    Blog Entries
    15

    Default Re: How to solve a File System Loop

    Quote Originally Posted by meetvekaria View Post
    Telling stories you yourself as well instead of simply saying "please attach the exact input and output done by you".
    Hi
    A word to the wise, remember not all users on the Forum's first language is English, so sometimes things can get lost and misconstrued in both directions.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: How to solve a File System Loop

    Quote Originally Posted by meetvekaria View Post
    Telling stories you yourself as well instead of simply saying "please attach the exact input and output done by you".

    Input:
    Code:
    linux-ouxy:~ # find / -name "name.jpg"
    Output:
    Code:
    find: File system loop detected; ‘/.snapshots/1/snapshot’ is part of the same file system loop as ‘/’.
    Without any next "linux-ouxy:" prompt.
    sounds like you are using btrfs this should be expected nothing wrong there
    https://en.opensuse.org/SDB:BTRFS
    https://en.wikipedia.org/wiki/Btrfs

  6. #6
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,847
    Blog Entries
    14

    Default Re: How to solve a File System Loop

    Have a look at the mlocate package. It holds the 'locate' command, run 'updatedb' once as root and it's much faster (and smarter) than find.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •