[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-btrfs
Subject: Re: CPU: 6 PID: 13386 at fs/btrfs/ctree.h:1593 btrfs_update_device.cold+0x10/0x1b [btrfs]
From: Qu Wenruo <quwenruo.btrfs () gmx ! com>
Date: 2019-11-05 1:06:45
Message-ID: 95982a1f-68dd-092a-3a47-3b8a6ffe67b3 () gmx ! com
[Download RAW message or body]
[Attachment #2 (multipart/mixed)]
On 2019/11/5 上午9:03, Tomasz Chmielewski wrote:
> On 2019-11-05 09:52, Qu Wenruo wrote:
>
>>> Now let's try to unmount and see what "btrfs rescue fix-device-size"
>>> shows again - I'd expect "No device size related problem found",
>>> correct?
>>>
>>>
>>> # umount /home
>>>
>>> # btrfs rescue fix-device-size /dev/sda4
>>> parent transid verify failed on 265344253952 wanted 42646 found 46119
>>> parent transid verify failed on 265344253952 wanted 42646 found 46119
>>> parent transid verify failed on 265344253952 wanted 42646 found 46119
>>
>> This is not correct. What happened during your /home mount and unmount?
>>
>> The fs looks already screwed up.
>
> Nothing happened - it normally mounts/unmounts without errors.
>
> Also scrub works without issues (a few days ago):
>
> # btrfs scrub status /home
> UUID: c94ea4a9-6d10-4e78-9b4a-ffe664386af2
> Scrub started: Sat Nov 2 01:14:17 2019
> Status: finished
> Duration: 0:55:23
> Total to scrub: 1.17TiB
> Rate: 368.41MiB/s
> Error summary: no errors found
>
>
> It also no longer shows "parent transid verify failed" after a few more
> cycles like this:
>
> # umount /home
>
> # btrfs rescue fix-device-size /dev/sda4
> parent transid verify failed on 265344253952 wanted 42646 found 46119
> parent transid verify failed on 265344253952 wanted 42646 found 46119
> parent transid verify failed on 265344253952 wanted 42646 found 46119
> Ignoring transid failure
> Fixed super total bytes, old size: 7901711842304 new size: 7901711835136
> Fixed unaligned/mismatched total_bytes for super block and device items
When this transid mismatch happens, it's highly recommended to do a
btrfs check on it.
I won't be surprised by some error.
>
> # btrfs rescue fix-device-size /dev/sda4
> No device size related problem found
>
> # mount /home ; sync ; umount /home
>
> # btrfs rescue fix-device-size /dev/sda4
> parent transid verify failed on 265344253952 wanted 42646 found 46119
> parent transid verify failed on 265344253952 wanted 42646 found 46119
> parent transid verify failed on 265344253952 wanted 42646 found 46119
> Ignoring transid failure
> Fixed super total bytes, old size: 7901711842304 new size: 7901711835136
> Fixed unaligned/mismatched total_bytes for super block and device items
>
> # mount /home ; sync ; umount /home
>
> # btrfs rescue fix-device-size /dev/sda4
> No device size related problem found
>
> # btrfs rescue fix-device-size /dev/sda4
> No device size related problem found
>
> # mount /home ; sync ; umount /home
>
> # btrfs rescue fix-device-size /dev/sda4
> No device size related problem found
>
> # btrfs rescue fix-device-size /dev/sdb4
> No device size related problem found
>
> # mount /home
>
> # date > /home/date.txt
>
> # umount /home
>
> # btrfs rescue fix-device-size /dev/sdb4
> No device size related problem found
And that kernel warning still exists?
Thanks,
Qu
>
>
>
> Tomasz Chmielewski
> https://lxadm.com
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic