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

Re: btrfs check Causes File Corruption



Thanks for your reply.

The disk is a 1TB Samsung SSD with less than 4TiB written, the SMART is completely normal with no errors. I suspect that this error may have been caused by random bit flipping in the memory (DDR4 non-ECC memory).

I just want to fix the checksum error (because the file with the checksum error is not important), so I used the command 'btrfs check --init-csum-tree'.

于 2023年8月20日 GMT+08:00 下午8:12:31, piorunz <piorunz@gmx.com> 写到:
>On 20/08/2023 12:11, Longhao.Chen wrote:
>> Thanks for your reply. I previously read in the btrfs documentation that "when repairing the file system, it is advisable to choose a newer kernel", so I used Ubuntu's livecd for the repair.
>
>First of all, did you found the cause of this unrepairable error?
>Is HDD failing? What SMART data say?
>You should not repair or use medium which is failing, it may cause
>further damage.
>
>--
>With kindest regards, Piotr.
>
>⢀⣴⠾⠻⢶⣦⠀
>⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
>⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
>⠈⠳⣄⠀⠀⠀⠀
>


Reply to: