Hi there,
It seems like a have a problem with data recovery:
In /dev/sdb2 is cryptocontainer with LVM:
I can open that, in the /dev/mapper I have:
However, I can't mount anything:
e2fsck doesn't help as well.
Is there anyway to mount/recover data? Thank you very much in advance!
It seems like a have a problem with data recovery:
fdisk -l /dev/sdb
Disk /dev/sdb: 58.24 GiB, 62537072640 bytes, 122142720 sectors
Disk model: STORAGE DEVICE
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: C73D9BDC-1302-4608-9F55-D34ED890F3D2
Device Start End Sectors Size Type
/dev/sdb1 2048 999423 997376 487M Linux filesystem
/dev/sdb2 999424 122140671 121141248 57.8G Linux filesystem
In /dev/sdb2 is cryptocontainer with LVM:
sudo cryptsetup luksDump /dev/sdb2
LUKS header information
Version: 2
Epoch: 3
Metadata area: 16384 [bytes]
Keyslots area: 16744448 [bytes]
UUID: a5f102e6-6066-4f4d-9e12-bb9a59141e86
Label: (no label)
Subsystem: (no subsystem)
Flags: (no flags)
Data segments:
0: crypt
offset: 16777216 [bytes]
length: (whole device)
cipher: aes-xts-plain64
sector: 512 [bytes]
Keyslots:
0: luks2
Key: 512 bits
Priority: normal
Cipher: aes-xts-plain64
Cipher key: 512 bits
PBKDF: argon2id
Time cost: 4
Memory: 121927
Threads: 4
Salt: 35 79 11 3e b9 a0 65 fc ae 8e fc 9d bd a2 bc 23
ae 70 f0 c6 48 9c eb 7c eb a7 a1 74 6d 1b b0 25
AF stripes: 4000
AF hash: sha256
Area offset:32768 [bytes]
Area length:258048 [bytes]
Digest ID: 0
Tokens:
Digests:
0: pbkdf2
Hash: sha256
Iterations: 36207
Salt: d6 33 fe e0 00 94 9f 96 63 f8 89 9e 02 46 d5 27
c6 dc 00 38 2d ec 93 0c 7e 3c 5f 44 67 45 88 d0
Digest: 6d 93 0a ec b7 69 97 d5 76 72 5e ab 34 c8 17 32
94 43 bd 09 84 d4 29 a4 d0 8b 77 0c 9d d2 40 56
I can open that, in the /dev/mapper I have:
sudo ls /dev/mapper | grep pbp
pbp--vg-home
pbp--vg-root
pbp--vg-swap_1
pbp--vg-tmp
pbp--vg-var
However, I can't mount anything:
sudo mount /dev/mapper/pbp--vg-home /mnt
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/mapper/pbp--vg-home, missing codepage or helper program, or other error.
sudo fsck.ext4 /dev/mapper/pbp--vg-home
e2fsck 1.46.2 (28-Feb-2021)
ext2fs_open2: Bad magic number in super-block
fsck.ext4: Superblock invalid, trying backup blocks...
fsck.ext4: Bad magic number in super-block while trying to open /dev/mapper/pbp--vg-home
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>
e2fsck doesn't help as well.
Is there anyway to mount/recover data? Thank you very much in advance!