btrfs / btrfs-todo

An issues only repo to organize our TODO items
21 stars 2 forks source link

error: "Assertion `key.type == BTRFS_FREE_SPACE_EXTENT_KEY` failed" when `rescue chunk-recover` #48

Open tribbloid opened 1 year ago

tribbloid commented 1 year ago

Log:

root@pop-os:/home/repair# btrfs rescue chunk-recover /dev/nvme0n1p7 -y
Scanning: DONE in dev0                        
kernel-shared/free-space-tree.c:706: remove_free_space_extent: Assertion `key.type == BTRFS_FREE_SPACE_EXTENT_KEY` failed, value 0
btrfs(+0x185e9)[0x561562bfa5e9]
btrfs(+0x1a0bf)[0x561562bfc0bf]
btrfs(+0x1a0d3)[0x561562bfc0d3]
btrfs(remove_from_free_space_tree+0x16e)[0x561562c0eb74]
btrfs(btrfs_run_delayed_refs+0x456)[0x561562c0f13d]
btrfs(btrfs_commit_transaction+0x3f)[0x561562c16cb7]
btrfs(btrfs_recover_chunk_tree+0x1f4e)[0x561562c54a8a]
btrfs(+0x72e83)[0x561562c54e83]
btrfs(main+0x328)[0x561562bf9ee8]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f4a14829d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f4a14829e40]
btrfs(_start+0x25)[0x561562bf9f25]
Aborted (core dumped)

No instruction on how to set key.type == BTRFS_FREE_SPACE_EXTENT_KEY is reported