Recovering a LUKS volume

Running fsck on a LUKS encrypted partition


    1.    Decrypt the partition at the command line, for example:

sudo cryptsetup luksOpen /dev/md0 crypt-part

    2.    Run fsck on the unlocked volume:

 sudo fsck.ext4 -f /dev/mapper/crypt-part


Comments