我尝试缩小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
答案 0 :(得分:0)
分开后,我首先减小了前一个分区的大小。 /dev/sda5
,现在我可以mkpart
使用已删除分区的旧启动扇区。瞧!取回已删除的分区并保留所有文件。