[snip]
> [73429.172707] BTRFS critical (device md0): corrupt leaf: root=2
> block=1894009225216 slot=30, unexpected item end, have 146075 expect 15003

Exact what we need.

Then please provide the following output:

# btrfs inspect dump-tree -t chunk /dev/md0
# btrfs inspect dump-tree -t extent /dev/dm0

The 2nd command would fail half way, but it should provide enough data
for me to craft the manual fix for you.

Thanks,
Qu

> [73429.176628] BTRFS critical (device md0): corrupt leaf: root=2
> block=1894009225216 slot=30, unexpected item end, have 146075 expect 15003
> [73429.177153] BTRFS error (device md0): failed to read block groups: -5
> [73429.197019] BTRFS error (device md0): open_ctree failed
> 
> 
>> contain the tree block bytenr, so that we can try to fix that offending
>> tree block manually.
>>
>> Thanks,
>> Qu
> 
> Should I try something alse?
> Thank you!
> Nik.
> -- 
>>
>>>
>>>>>> Latest kernel will report anything wrong pretty vocally, in that
>>>>>> case,
>>>>>> dmesg would include the bytenr of corrupted tree block.
>>>>>>
>>>>>> Then I could craft needed commands to further debug the fs.
>>>>>
>>>>> Ok, I will try to post more info tomorrow about this time.
>>>>>
>>>>> Nik.
>>>>> -- 
>>>>>
>>>>>> Thanks,
>>>>>> Qu
>>>>>>
>>>>>>>
>>>>>>> Thank you for trying to improve btrfs!
>>>>>>>
>>>>>>> Nik.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Qu
>>>>>>>
>>>>>>> You are not from the 007 - lab, are you? ;-)
>>>>>>>
>>>>>>>>>
>>>>>>>>> Kind regards,
>>>>>>>>>
>>>>>>>>> Nik.
>>>>>>>>
>>>>>>
>>>>
>>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to