Re: btrfs check Causes File Corruption

2023-08-20 Thread piorunz
On 20/08/2023 18:31, Longhao.Chen wrote: Only one file was erroneous, but now it's not just the erroneous file that has disappeared, over eight thousand other files have disappeared as well. The disappeared files seem to be those that were recently modified or newly created. I create a

Re: btrfs check Causes File Corruption

2023-08-20 Thread Longhao.Chen
Only one file was erroneous, but now it's not just the erroneous file that has disappeared, over eight thousand other files have disappeared as well. The disappeared files seem to be those that were recently modified or newly created. I create a snapshot every day, and each snapshot is kept for

Re: btrfs check Causes File Corruption

2023-08-20 Thread piorunz
Ok. You said file with error has disappeared from the system. Is that still the case? If there anything you need to "recover"? If file with error is already gone, then you should have no more errors while reading the drive to backup it. On 20/08/2023 13:24, Longhao.Chen wrote: Thanks for your

Re: btrfs check Causes File Corruption

2023-08-20 Thread Longhao.Chen
>Why not btrfs check? 'btrfs check' also reported a checksum error. >As already suggested, you might do better looking elsewhere for help. >Perhaps the linux-btrfs mailing list? Thank you for your suggestion, I am preparing to seek help from linux-btrfs mailing list. On August 20, 2023

Re: btrfs check Causes File Corruption

2023-08-20 Thread debian-user
"Longhao.Chen" wrote: > Hello everyone, I use Btrfs as the file system on my laptop. > Yesterday, I was preparing to backup a snapshot to an external hard > drive using btrfs send, and the following error occurred: > > ERROR: send ioctl failed with -5: Input/Output error I use btrfs but don't

Re: btrfs check Causes File Corruption

2023-08-20 Thread Longhao.Chen
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

Re: btrfs check Causes File Corruption

2023-08-20 Thread piorunz
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

Re: btrfs check Causes File Corruption

2023-08-20 Thread Longhao.Chen
I'm sorry, because a long time after I sent the first email, I didn't see it in the web archive. I suspected there was a problem during the sending process, so I sent a second one. I apologize for my mistake. >Hello everyone, I use Btrfs as the file system on my laptop. Yesterday, I was

Re: btrfs check Causes File Corruption

2023-08-20 Thread Longhao.Chen
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. >On 20 Aug 2023 17:42 +0800, from longhao.c...@outlook.com (Longhao.Chen): >> LiveCD information: >> >>

Re: btrfs check Causes File Corruption

2023-08-20 Thread Brad Rogers
On Sun, 20 Aug 2023 18:28:56 +0800 "Longhao.Chen" wrote: Hello Longhao.Chen, >Hello everyone, Please be patient. Waiting less that an hour before reposting a question gains you little. This is a users mailing list, not a paid for support forum. Anyone here is volunteering their time. Users

Re: btrfs check Causes File Corruption

2023-08-20 Thread Michael Kjörling
On 20 Aug 2023 17:42 +0800, from longhao.c...@outlook.com (Longhao.Chen): > LiveCD information: > > Linux ubuntu 6.2.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC > Thu Jul 13 16:27:29 UTC 2 x86_64 x86_64 x86_64 GNU/Linux This mailing list is for users of Debian, where current stable ships