Re: (One more) BTRFS damaged FS... Any hope ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 6, 2020 at 10:05 AM Swâmi Petaramesh <swami@xxxxxxxxxxxxxx> wrote:
>
> Hi Chris, and thanks for your help,
>
> Please see below...
>
> Le 02/03/2020 à 07:43, Chris Murphy a écrit :
> >
> > The transids are close so it might work to try -o usebackuproot. If
> > not what do you get for:
> Unfortunately not...
> > btrfs insp dump-t -b 8176123904 /dev/
>
> btrfs-progs v4.15.1

That's too old to really be helpful these days. It's not something
most anyone on an upstream list is keeping track of anymore, what it
can and can't do, what bugs are fixed, etc.


>
> parent transid verify failed on 8176123904 wanted 183574 found 183573
>
> parent transid verify failed on 8176123904 wanted 183574 found 183573
>
> Ignoring transid failure
>
> leaf 8176123904 flags 0x1(WRITTEN) backref revision 1
>
> fs uuid (blah)
>
> chunk uuid (bloh)
>
> item 0 key (TREE_LOG ROOT_ITEM 258) itemoff 15844 itemsize 439
>
> generation 183573 root_dirid 0 bytenr 8176107520 level 0 refs 0
>
> lastsnap 0 byte_limit 0 bytes_used 0 flags 0x0(none)
>
> uuid (bunch of zeroes)
>
> drop key (0 UNKNOWN.0 0) level 0

That's it? Is this trimmed? This block is for an empty tree log leaf,
and it's not failing csum but transid match. Was there a crash or
power failure? What do you get for:

btrfs insp dump-s /dev/




>
> >
> > btrfs-find-root /dev/
> Command not found
> >
> > btrfs check /dev/
>
> Unhappy
>
> Reports transid failure, then :
>
> check/main.c:3654: check_owner_ref: BUG_ON `rec->is_root` triggered, value 1
>
> Then eventually aborts.
>
> >
> > btrfs check -b /dev/
> >
> VERY unhappy with lots of verbosity
>
> (Sorry, the machine isn't booted, I have to type everything by hand...
>
> ...any clue ?

No there really isn't enough information, there's too much trimmed
away. The best bet is to always provide too much information and let
devs filter it themselves. Otherwise they have to spend time asking
for more information, and then context switch. And also the
btrfs-progs is too old I think for this list. I mean, maybe someone
could make heads or tails out of it, but the upstream list tends to be
pretty much active development. And older versions are the
responsibility of the downstream distribution.


-- 
Chris Murphy




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux