encrypted (luks) partition had some damage – any chance?

inger asked:

I was trying to run Debian installer on top of an already luks-encrypted partition (I tried to do use cryptsetup in the console).

I don’t remember ever saying “yes, destroy” data, but what I see now, is that encrypted turned into a PV (LVM).

Do I have any chance to restore the original?

I don’t know the PV format vs the encrypted partition, so wondering if maybe no real damage was done, or if there is way to partially restore anything.

My answer:

Debian still hasn’t fixed this bug? I lost data to this five years ago.

Yes, it’s a bug. No, it isn’t fixed. Yes, you’re going to have to restore from backups, and I hope to Gawd you actually have them.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.