由于错误 /dev/mapper/backup--mint--vg-root:无法读取超级块,无法安装第二个硬盘

由于错误 /dev/mapper/backup--mint--vg-root:无法读取超级块,无法安装第二个硬盘

我正在尝试安装第二个硬盘。我不知道我哪里错了。首先,我使用 cryptsetup 设置一个分区:

sudo cryptsetup open /dev/sdb5 backup
sudo vgdisplay

根据这个建议,我得到了两个相同的 vg 名称https://askubuntu.com/questions/110226/how-do-you-mount-a-lvm-patition-that-has-the-same-vg-name-as-my-current-partitio 我将备份源重命名为:

vgrename M06MX4-J1Uc-ezEw-H0VQ-lXSQ-alDr-wTn623 backup-mint-vg

sudo lvscan显示一个非活动状态backup-mint-vg,在 后变为活动状态sudo vgchange -ay,但我无法安装它:

sudo mount /dev/backup-mint-vg/root sdb5

和:

sudo mount /dev/dm-4 sdb5
mount: /dev/mapper/backup--mint--vg-root: can't read superblock

有很多错误:

$ sudo pvdisplay 
  /dev/mapper/backup: read failed after 0 of 4096 at 0: errors/IO
  /dev/mapper/backup: read failed after 0 of 4096 at 119774576640:
  [skip next 30 lines of same errors]
  --- Physical volume ---
  PV Name               /dev/mapper/backup
  VG Name               backup-mint-vg
  PV Size               111,55 GiB / not usable 2,00 MiB
  Allocatable           yes (but full)
  PE Size               4,00 MiB
  Total PE              28556
  Free PE               0
  Allocated PE          28556
  PV UUID               EQRjEE-D5jq-RVyo-bhUC-1Fp1-udWK-KG7Mdb

  --- Physical volume ---
  PV Name               /dev/mapper/sda5_crypt
  VG Name               mint-vg
  PV Size               148,57 GiB / not usable 3,00 MiB
  Allocatable           yes 
  PE Size               4,00 MiB
  Total PE              38033
  Free PE               6
  Allocated PE          38027
  PV UUID               Z3hkoa-ACP3-GqDb-qvTu-gZqL-S90M-cWQ0sW

我该如何纠正这些问题?我想我应该以fsck -cck /dev/backup-mint-vg/root某种方式?

UPD1:Q 涉及正在运行的系统 sudo uname -srvmpio Linux 4.15.0-43-generic #46~16.04.1-Ubuntu SMP Fri Dec 7 13:30:54 UTC 2018 i686 i686 i686 GNU/Linux lsb_release -a No LSB modules are available. Distributor ID: LinuxMint Description: Linux Mint 18.3 Sylvia Release: 18.3 Codename: sylvia

UPD2 在重命名操作后,我设法在 livecd(mint 安装介质)的帮助下解决了问题,但我仍然需要fsck -cck重命名的卷。这在运行系统中是不可能的,但在 livecd 中是不可能的

相关内容