You are not logged in.
Hi,
I've made some backups on an external hard disk. The partition is opened with cryptsetup, but I can't mount it. I have important data on it, and I would like to restore it.
Following errors messages:
$ sudo cryptsetup open /dev/sda1 crypt-usb
$ sudo mount /dev/mapper/crypt-usb /mnt/usb1
mount: /mnt/usb1: impossible de lire le superbloc à l’adresse /dev/mapper/crypt-usb.
dmesg(1) peut avoir plus d'informations après un échec de l'appel système du montage.
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 465,8G 0 disk
└─sda1 8:1 0 465,8G 0 part
└─crypt-usb 253:3 0 465,7G 0 crypt
nvme0n1 259:0 0 232,9G 0 disk
├─nvme0n1p1 259:1 0 1G 0 part /boot
├─nvme0n1p2 259:2 0 32G 0 part
│ └─root 253:0 0 32G 0 crypt /
├─nvme0n1p3 259:3 0 4G 0 part
│ └─swap-crypt 253:1 0 4G 0 crypt [SWAP]
└─nvme0n1p4 259:4 0 195,9G 0 part
└─home-crypt 253:2 0 195,9G 0 crypt /home
$ sudo dmesg
....
[80050.540062] sd 4:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=9s
[80050.540084] sd 4:0:0:0: [sda] tag#0 Sense Key : Hardware Error [current]
[80050.540095] sd 4:0:0:0: [sda] tag#0 Add. Sense: No additional sense information
[80050.540105] sd 4:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 1d 16 d4 98 00 00 08 00
[80050.540110] I/O error, dev sda, sector 488035480 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[80050.540193] JBD2: Failed to read block at offset 149907
[80050.540210] JBD2: journal recovery failed
[80050.540217] EXT4-fs (dm-3): error loading journalOffline
smartctl -a /dev/sda?
If the drive is failing but you still need data on it - next step would be ddrescue to another drive.
Offline