On 2019/9/30 下午6:01, Andrey Ivanov wrote: > On 30.09.2019 11:59, Qu Wenruo wrote: >>>> Please prepare an environment to compile btrfs-progs (at least >>>> btrfs-corrupt-block) if you want to try. >>> >>> Great, I'm ready to do it. Environment is ready. >> >> Here it is. >> >> https://github.com/adam900710/btrfs-progs/tree/dirty_fix >> >> To use it: >> >> $ ./btrfs-corrupt-block -X /dev/sdc1 > > I had built and run it: > > # /home/andrey/devel/src/btrfs/btrfs-progs-dirty_fix/btrfs-corrupt-block > -X /dev/sdc1 > incorrect offsets 15223 15287 > Open ctree failed
That branch updated to skip the item offset check completely. But please keep in mind that, that check itself still makes sense, so please use the original "btrfs check" to check the fs. Thanks, Qu
signature.asc
Description: OpenPGP digital signature