I found the following in the Arch wiki (bless the Arch wiki, best wiki ever for usage with any distro):
Warning: In any scenario, never use file system repair software such as fsck directly on an encrypted volume, or it will destroy any means to recover the key used to decrypt your files. Such tools must be used on the decrypted (opened) device instead.
Does that mean I am just one accidental fsck away from losing all my data?

Originally posted here: #189422
I just tested it out:
I made a luks usb, put a test file on it and ran fsck on the actual drive partition. The decrypted device is still fine and the test file is accessible!
Still though you should not run fsck on the encrypted partition.
// Test of code markdown package main import ( "fmt" ) func main() { for i := 0; i < 4000000000000; i++ { fmt.Println("Money printer go burrrrrrrrrrrrrr") } }
reply
Thanks for testing!
reply