All of lore.kernel.org
 help / color / mirror / Atom feed
From: k g <klimaax@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: Files/Folders invisibles with 'ls -a' but can 'cd' to folder
Date: Wed, 4 Aug 2021 15:19:37 +0200	[thread overview]
Message-ID: <94bf3fad-fd41-ecc0-404c-ccd087fca05d@gmail.com> (raw)

Hi


As I say in my subject, I'm facing a weird problem with my btrfs
partition (I already sent this message on reddit /r/btrfs/ )

It's in fact a btrfs partition in a raid5 synology system.



3 days ago, the volume 'crashed' (synology terms) ,however SMART data is
ok and I don't have sector relcocation errors or CRC.... I rebooted
several times , and after dozen of reboots my partition shows up , but 3
TB of 10 TB are missing, I made a scrub but it did made my missing files
appears.



desperately I made a 'cd xyz' in a directory (I remember some of the
folder names) and it works ; and inside this folder I can do "ls" and
all files and subfolders appears .

I made a copy elsewhere of some files and these ones are not corrupted
or bit roted.



I don't want to make a btrfs check --repair of course.



Is there a way to "relink" indexes/root or whatever it is called to
bring back these files/folder visible and accessible with a safe command ?

I'm planning to backup all , is 'btrfs restore' will access to these
"non visible" directories ?



"I saw similar case here : The Directory Who Wasn't There : btrfs
(reddit.com) , but I can't find a reply that solve the problem"



cdly


             reply	other threads:[~2021-08-04 13:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-04 13:19 k g [this message]
2021-08-04 22:55 ` Files/Folders invisibles with 'ls -a' but can 'cd' to folder Qu Wenruo
2021-08-11 21:54   ` k g
2021-08-12  1:23     ` Qu Wenruo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=94bf3fad-fd41-ecc0-404c-ccd087fca05d@gmail.com \
    --to=klimaax@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.