Issue I'm having is similar to can't read superblock on /dev/mapper/veracrypt1 with the exception that mapper device cannot be read at all. Underlying physical disk can be read. I.e. Veracrypt can decrypt the encrypted container, but cannot return a single byte from it.
More specifically:
- Ubuntu server 18.04 with four disks fully encrypted with Veracrypt 1.23.
- One disk fails to mount after power loss.
- Unable to quickly figure out what is wrong with the failed disk, I re-create the veracrypt partition and re-copy the data on it.
- After second power loss two disks fail to mount. The same one as before, and another one.
- Of the two failing, first one has one encrypted partition and the other one is completely encrypted. (So they have different setup.)
- Veracrypt mount fails due to can't read superblock error.
- Mounting with
--filesystem=noneoption works and allows access to mapper device. - Resulting
/dev/mapper/veracrypt1cannot be inspected nor fixed with normal toolsmke2fs, e2fscksince it cannot be read at all. - Even
ddfrom/dev/mapper/veracrypt1fails. While trying syslog is populated withFAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,Sense Key : Medium Error [current]andAdd. Sense: Unrecovered read error - auto reallocate failedmessages. ddfrom underlying hard drive device/dev/sdeor/dev/sdb1works with no problems and allows reading of the whole disk in it's encrypted form.
I was suspecting some kind of a hardware failure but:
- SMART reports both failed disks have never had any issues. They can also be read as mentioned above.
- The failed disks are connected to different SATA cards and both are the only disk connected to their respective card.
I am mystified. Any ideas what might be going and what to try?