btrfs(v0.20-rc1)检查树块失败


1

我正在尝试恢复一个btrfs文件系统并且已经死路一条

btrfs check --repair --init-csum-tree --init-extent-tree /dev/mapper/VG_00-LV_opt

enabling repair mode
Creating a new CRC tree`
Check tree block failed, want=20975616, have=0
Check tree block failed, want=20975616, have=0
Check tree block failed, want=20975616, have=0
Check tree block failed, want=20975616, have=0
Check tree block failed, want=20975616, have=0
read block failed check_tree_block
Couldn't read chunk root

你可以添加一些关于你做了什么的历史记录,以便它需要恢复吗?这可能有助于了解问题所在。
Aganju 2015年

Answers:


2

我为btrfs安装了最新的工具

git clone https://github.com/kdave/btrfs-progs.git

然后跑了:

btrfs rescue chunk-recover /dev/mapper/VG_00-LV_opt

修复它,服务器上的工具版本没有救援选项。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.