我尝试使用 LVM gui 将 dev/sda3 分区中的根逻辑卷的大小减少 1GB,以便腾出更多空间来增加太小的启动分区的大小。现在我无法启动,也无法恢复根分区上的数据。以下是几个诊断:如果有人能帮助我回到可以获取根分区数据的位置,我将不胜感激。
PVS 提供
ubuntu@ubuntu:/$ sudo pvs --segments /dev/sda3
PV VG Fmt Attr PSize PFree Start SSize
/dev/sda3 ubuntu-vg lvm2 a-- 930.53g 1.00g 0 235939
/dev/sda3 ubuntu-vg lvm2 a-- 930.53g 1.00g 235939 257
/dev/sda3 ubuntu-vg lvm2 a-- 930.53g 1.00g 236196 2020
e2fsk 给我
ubuntu@ubuntu:/$ sudo e2fsck -f dev/sda3
e2fsck 1.42.13 (17-May-2015)
ext2fs_open2: Bad magic number in super-block
e2fsck: Superblock invalid, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open dev/sda3
The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or e2fsck -b 32768 <device>
感谢您的帮助