Friday, January 31, 2020

Re: Recovering corrupted encrypted partition

On Jan 31 18:25:45, int1931@airmail.cc wrote:
> Hello,
> Recently my 6.6-stable machine lost power while on, which aparently
> corrupted a softraid crypto partition (not a boot partition) that was
> mounted. Trying to decrypt it with the same bioctl command i usually
> use fails with the error:
> softraid0: invalid metadata format

What bioctl command is that?

> After searching all over the mailing list archives, I couldn't find a
> solution that didn't destroy data. Some people suggested zeroing the
> first megabyte and reconfiguring the disklabel, but I'm not sure if that
> would overwrite my existing data.

Recreate the softraid crypto partition
and restore the data from backups.

No comments:

Post a Comment