Re: corrupt leaf; unaligned key offset for csum item

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

 



On Sat, Jun 9, 2018 at 7:56 PM, Qu Wenruo <quwenruo.btrfs@xxxxxxx> wrote:
>
> Indeed, the corrupted bytenr is 0x4bc98004.
> Looks pretty like a bit flip in the 3rd lowest bit.
>
> It can be fixed by manually patching the corrupted leaf to get rid of
> the bitflip.
> I could provide a special branch of btrfs-progs to fix it easily.
>
> But before that, it's better to do a scrub to see if there is other
> similar problems, so I could fix them all.
>

Do you think Simon should try -o ro and -o ro,norecovery and see if he
can update backups the easy way first? And then use the offline scrub
to check for additional problems?

Simon, the offline scrub is done unmounted with 'btrfs check
--check-data-csum <dev>' and it is a read-only check.


-- 
Chris Murphy
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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