Re: problem with newer kernels

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

 




On 2020/3/6 上午8:36, Arun Persaud wrote:
> Hi
> 
>> [...]
>>>>> BTRFS critical, corrupt leaf...
>>>>
>>>> Complete dmesg is needed, thanks.
>>>
>>> dmesg is attached
>>
>> It's inode generation underflow, caused by some older kernel.
>>
>> It can be fixed by v5.4 btrfs-progs, by running btrfs check --repair.
>>
>> Thanks,
>> Qu
> I just tried running
> 
> btrfs check --repair /dev/sda2
> 
> However, it didn't fix the problem.
> 
> I also tried it with the --mode=lowmem option, but no change
> 
> I then ran the same again to generate logs which are attached. Also
> attached a dmesg from the reboot after calling the repair function.
> 
> Arun
> 

That's strange.
As btrfs check selftest can detect such inode generation mismatch and
repair it.

If btrfs-progs failed to repair it, you can delete that inode manually
using older kernel.

`find -inum 131072` can locate that inode.

But before you delete it, please provide the following dump for us to
further debug the problem.

# btrfs ins dump-tree -b 14720090112 /dev/sda2

Please note that, the dump will contain filenames, feel free to remove
such filenames.

Thanks,
Qu

Attachment: signature.asc
Description: OpenPGP digital signature


[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