Re: filesystem corrupt - error -117
From: Qu Wenruo <hidden>
Date: 2021-10-25 11:19:08
On 2021/10/25 19:14, Qu Wenruo wrote:
On 2021/10/25 19:13, Mia wrote:quoted
Hi Qu, thanks for your response. Here the output of btrfs check: https://gist.github.com/lynara/1c613f7ec9448600f643a59d22c1efb2Unfortunately it's not full, and it's using an old btrfs-progs which can cause false alert.
My bad, gist is folding the output. It shows no corruption for the extent tree, thus I guess the transaction abort has prevented COW from being broken.
Please use latest btrfs-progs v5.14.2 to re-check.
In that case, a newer btrfs-progs is only going to remove the false alerts. Any clue on the workload causing the abort? For now, I can only recommend to use newer kernel (v5.10+ I guess?) to see if you can reproduce the problem. Thanks, Qu
Thanks, Ququoted
Thanks, Mia ------ Originalnachricht ------ Von: "Qu Wenruo" [off-list ref] An: "Mia" [off-list ref]; linux-btrfs@vger.kernel.org Gesendet: 25.10.2021 12:55:46 Betreff: Re: filesystem corrupt - error -117quoted
On 2021/10/25 18:53, Qu Wenruo wrote:quoted
On 2021/10/25 16:46, Mia wrote:quoted
Hello, I need support since my root filesystem just went readonly :( [641955.981560] BTRFS error (device sda3): tree block 342685007872 owner 7 already locked by pid=8099, extent tree corruption detectedThis line explains itself. Your extent tree is no corrupted, thus it allocated a new tree blockI missed the "w" for the word "now"...quoted
which is in fact already hold by other tree. This means your metadata is no longer protected properly by COW. "btrfs check" is highly recommended to expose the root cause.quoted
root@rx1 ~ # btrfs fi show Label: none uuid: 21306973-6bf3-4877-9543-633d472dcb46 Total devices 1 FS bytes used 189.12GiB devid 1 size 319.00GiB used 199.08GiB path /dev/sda3 root@rx1 ~ # btrfs fi df / Data, single: total=194.89GiB, used=187.46GiB System, single: total=32.00MiB, used=48.00KiB Metadata, single: total=4.16GiB, used=1.65GiB GlobalReserve, single: total=380.45MiB, used=0.00B root@rx1 ~ # btrfs --version :( btrfs-progs v4.20.1 root@rx1 ~ # uname -a Linux rx1 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/LinuxThis is a little old for btrfs, but I don't think that's the cause. Thanks, Ququoted
Hope someone can help. Regrads Mia