Something messed up while trying to fix the current grub issue, now my encrypted BTRFS volume is broken. On startup after entering the passphrase it enters grub rescue with
error: file /0/boot/grub/x86_64-efi/normal.mod' not found.
Load the live usb back up, go through the same steps:
sudo cryptsetup open /dev/nvme0n1p2 mycryptdevice
enter in my passphrase and then
sudo mount /dev/mapper/mycryptdevice /mnt -o subvol=@
which errors
mount: /mnt: can't read superblock on /dev/mapper/mycryptdevice. dmesg(1) may have more information after failed mount system call.
I’ve tried running sudo btrfs rescue super-recover
but it says All supers are valid, no need to recover
dmesg gives
BTRFS critical (device dm-0): corrupt leaf:
root=1 block=30408704 slot=0, invalid root generation, have 104979
expect (0, 104977] [ 263.013964] BTRFS error (device dm-0):
block=30408704 read time tree block corruption detected [ 263.014256]
BTRFS critical (device dm-0): corrupt leaf: root=1 block=30408704
slot=0, invalid root generation, have 104979 expect (0, 104977] [
263.014258] BTRFS error (device dm-0): block=30408704 read time tree
block corruption detected [ 263.014261] BTRFS warning (device dm-0):
failed to read fs tree: -5 [ 263.014962] BTRFS error (device dm-0):
open_ctree failed
I run sudo btrfs check --repair /dev/mapper/mycryptdevice
and get
Opening filesystem to check...
parent transid verify failed on 30408704 wanted 3228 found 104979
parent transid verify failed on 30408704 wanted 3228 found 104979
parent transid verify failed on 30408704 wanted 3228 found 104979
Ignoring transid failure
Checking filesystem on /dev/mapper/mcd
UUID: ****
[1/7] checking root items
parent transid verify failed on 36814848 wanted 104553 found 104980
parent transid verify failed on 36814848 wanted 104553 found 104980
parent transid verify failed on 36814848 wanted 104553 found 104980
Ignoring transid failure
parent transid verify failed on 155385856 wanted 104835 found 104982
parent transid verify failed on 155385856 wanted 104835 found 104982
parent transid verify failed on 155385856 wanted 104835 found 104982
Ignoring transid failure
parent transid verify failed on 111853568 wanted 104831 found 104981
parent transid verify failed on 111853568 wanted 104831 found 104981
parent transid verify failed on 111853568 wanted 104831 found 104981
Ignoring transid failure
ERROR: child eb corrupted: parent bytenr=101308071936 item=81 parent level=1 child bytenr=111853568 child level=1
ERROR: failed to repair root items: Input/output error
I really don’t know what else to do at this point? Is there any way of getting my data back?