Permanently remove encryption on Luks partitions?

The title pretty much states my question. These are my drives and I do have the passwords. Is it possible to completely remove encryption on Linux partitions without losing the data? I have 3 large encrypted drives that I want to permanently decrypt. If there is no way to decrypt on the fly, I would be forced to transfer all data to other drives and then format, which would take a very long time. Yast partitioner will apparently only remove encryption during a format. gparted shows no option, but shows all 3 drives to be luks partitions.

After reading luksipc page, I suspect you can simply copy over from unlocked device onto the underlying device thus effectively removing encryption. But test before doing :slight_smile:

https://johannes-bauer.com/linux/luksipc/

Thanks for the response. I found my own answer and will place it here in case anyone else has a similar problem.

cryptsetup-reencrypt --decrypt /dev/"my partition"

The only prerequisite is that you umount the partition prior to the command.

I am currently in the process of decryption. I am given a running ETA by the system as the process continues.

Interesting. Thanks.

Personally, I think I would backup to an external drive, reformat and then restore from the backup. But it is interesting that you can do it directly (though perhaps with risk).

I chose that route because of the time it would take to transfer 8TB from drive to drive. But in the end, it took 7 hours to decrypt a 1TB drive. I doubt that I gained much. At least I know now that it is possible.