I AM STILL ABLE TO OPEN and MOUNT a luksFormat .img that I made several weeks ago (May 9, specifically).
However, I cannot MOUNT any luksFormat .img that I now make using cryptsetup. I consistently get a "bad magic number" error on these.
E.g.,
Code: Select all
alan@harrisons-lenovo:~$ sudo mount /dev/mapper/Documentsvault Documents
mount: /home/alan/Documents: wrong fs type, bad option, bad superblock on /dev/mapper/Documentsvault, missing codepage or helper program, or other error.
Code: Select all
alan@harrisons-lenovo:~$ sudo fsck /dev/mapper/Documentsvault
fsck from util-linux 2.34
e2fsck 1.45.5 (07-Jan-2020)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/mapper/Documentsvault
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>
Again, the OLD .img still will open and mount.
Thoughts?
Edit to add: I am having this problem on both laptops with new .img. I haven't tried copying the old .img from one laptop to the other bc it is pretty big (90G). The newer ones are smaller, and I have learned from making test .imgs that luksFormat has a minimum size it can work with - not sure what, but it's more than 10M.