嘿,在更新过程中冻结后,我的btrfs分区无法挂载。我尝试了所有从Archlinux和BTRFSWiki我可以找到,但这是不够的。
我的尝试和输出:
$ sudo装载-t btrfs /开发/sda 3/mnt
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sda3, missing codepage or helper program, or other error.
$ sudo btrfs救援超级恢复/dev/sda 3
parent transid verify failed on 204229967872 wanted 182262 found 182259
parent transid verify failed on 204229967872 wanted 182262 found 182259
Ignoring transid failure
parent transid verify failed on 204229853184 wanted 182261 found 182259
parent transid verify failed on 204229853184 wanted 182261 found 182259
Ignoring transid failure
leaf parent key incorrect 204229853184
Failed to recover bad superblocks
double free or corruption (fasttop)
Aborted
$ sudo btrfsck -修复/开发/sda 3
enabling repair mode
parent transid verify failed on 204229967872 wanted 182262 found 182259
parent transid verify failed on 204229967872 wanted 182262 found 182259
Ignoring transid failure
parent transid verify failed on 204229853184 wanted 182261 found 182259
parent transid verify failed on 204229853184 wanted 182261 found 182259
Ignoring transid failure
leaf parent key incorrect 204229853184
ERROR: cannot open file system
$ sudo btrfs救援零日志/dev/sda 3
parent transid verify failed on 204229967872 wanted 182262 found 182259
parent transid verify failed on 204229967872 wanted 182262 found 182259
Ignoring transid failure
parent transid verify failed on 204229853184 wanted 182261 found 182259
parent transid verify failed on 204229853184 wanted 182261 found 182259
Ignoring transid failure
leaf parent key incorrect 204229853184
ERROR: could not open ctree
$ sudo btrfs检查--修复--初始化扩展区树--初始化csum树/dev/sda 3
enabling repair mode
Creating a new CRC tree
parent transid verify failed on 204229967872 wanted 182262 found 182259
parent transid verify failed on 204229967872 wanted 182262 found 182259
Ignoring transid failure
Checking filesystem on /dev/sda3
UUID: 4951455b-7883-46a3-a878-d6347f852867
repair mode will force to clear out log tree, are you sure? [y/N]: y
Unable to find block group for 0
Unable to find block group for 0
Unable to find block group for 0
extent-tree.c:2764: alloc_tree_block: BUG_ON `ret` triggered, value -28
btrfs(+0x1fe10)[0x55e6ed511e10]
btrfs(+0x1fe80)[0x55e6ed511e80]
btrfs(+0x1fe93)[0x55e6ed511e93]
btrfs(btrfs_alloc_free_block+0x83)[0x55e6ed51621c]
btrfs(__btrfs_cow_block+0xfe)[0x55e6ed50a7fc]
btrfs(btrfs_cow_block+0xc5)[0x55e6ed50ada1]
btrfs(commit_tree_roots+0x56)[0x55e6ed52f844]
btrfs(btrfs_commit_transaction+0xb9)[0x55e6ed52fb18]
btrfs(cmd_check+0x757)[0x55e6ed545686]
btrfs(main+0x143)[0x55e6ed509847]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb)[0x7f47c685f09b]
btrfs(_start+0x2a)[0x55e6ed50988a]
Aborted
1条答案
按热度按时间nue99wik1#
我想你可以试试这个:
将子卷名称更改为您尝试装入的实际子卷。@是/,而root下的任何其他装入点,例如/home是@home等等。您可以忽略大多数装入选项,但
subvol
是必需的。