-2

我尝试缩小一个btrfs lvm分区为另一个新分区腾出空间。我用过fdisk。我删除并重新创建了 btrfs 分区。令我失望的是,btrfs 分区现在是无类型的。我试过了

$ sudo btrfs restore /dev/sda6 /mnt/sda6/
No valid Btrfs found on /dev/sda6
Could not open root, trying backup super
No valid Btrfs found on /dev/sda6
Could not open root, trying backup super
No valid Btrfs found on /dev/sda6
Could not open root, trying backup super

$ sudo btrfs rescue chunk-recover /dev/sda6
read super block error
recover prepare error
Chunk tree recovery failed

$ sudo btrfs rescue super-recover /dev/sda6
No valid Btrfs found on /dev/sda6
Usage or syntax errors
4

1 回答 1

-1

使用 parted 我首先减小了前一个分区的大小。/dev/sda5现在我能够mkpart使用已删除分区的旧起始扇区。瞧!恢复所有文件完好无损的已删除分区。

于 2019-04-09T18:00:32.817 回答