LUKS LVM 作为新计算机上的外部 USB 卷

LUKS LVM 作为新计算机上的外部 USB 卷

我正在尝试从新计算机读取我的旧加密硬盘(应该是整个原始 LVM 分区)。

我已经脱离了之前的案例,并将硬盘放在了 USB 读卡器上。

输入正确的关键字后我得到:

Error mounting /dev/dm-3 at /media/XXXX/multidata: Command-line `mount -t "ext4" -o "uhelper=udisks2,nodev,nosuid" "/dev/dm-3" "/media/XXXX/multidata"' exited with non-zero exit status 32: mount: wrong fs type, bad option, bad superblock on /dev/mapper/luks-a78ea70e-7a04-4a43-bc85-f85913759553,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

dmesg | tail

[ 5155.229650] EXT4-fs (dm-3): bad geometry: block count 488378126 exceeds size of device (488378125 blocks)

sudo lsblk说:

sudo lsblk
NAME                                                 MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda                                                    8:0    0   477G  0 disk  
├─sda1                                                 8:1    0   512M  0 part  /boot/efi
├─sda2                                                 8:2    0   244M  0 part  /boot
└─sda3                                                 8:3    0 476,2G  0 part  
  └─sda3_crypt (dm-0)                                252:0    0 476,2G  0 crypt 
    ├─mint--vg-root (dm-1)                           252:1    0 468,3G  0 lvm   /
    └─mint--vg-swap_1 (dm-2)                         252:2    0   7,9G  0 lvm   [SWAP]
sdb                                                    8:16   0   1,8T  0 disk  
└─sdb1                                                 8:17   0   1,8T  0 part  
  └─luks-a78e170e-7a04-4a43-bc85-f85913759553 (dm-3) 252:3    0   1,8T  0 crypt 

sudo tune2fs -l /dev/mapper/luks-a78ea70e-7a04-4a43-bc85-f85913759553

tune2fs 1.42.9 (4-Feb-2014)
Filesystem volume name:   multidata
Last mounted on:          /media/XXXX/multidata
Filesystem UUID:          e6e63e8c-4b33-4f7f-8ccf-38bc91d7e771
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags:         signed_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              122101760
Block count:              488378126
Reserved block count:     24418906
Free blocks:              239441082
Free inodes:              121146669
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      907
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
Flex block group size:    16
Filesystem created:       Tue Jun 11 17:51:45 2013
Last mount time:          Tue Mar 14 09:17:58 2017
Last write time:          Tue Mar 14 16:21:29 2017
Mount count:              493
Maximum mount count:      -1
Last checked:             Tue Jun 11 17:51:45 2013
Check interval:           0 (<none>)
Lifetime writes:          1289 GB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:           256
Required extra isize:     28
Desired extra isize:      28
Journal inode:            8
Default directory hash:   half_md4
Directory Hash Seed:      58a0d9bc-ec39-4af4-8a79-59d386a867ba
Journal backup:           inode blocks

看来磁盘没有问题,但我仍然无法读取它。有什么建议吗?

相关内容