Article 52GT0 How does online re-encryption work in LUKS2 ?

How does online re-encryption work in LUKS2 ?

by
sreyan32
from LinuxQuestions.org on (#52GT0)
I just learnt that you can re-encrypt your LUKS2 partition with cryptsetup reencrypt and whats more is that you can do it online while using the data.

I would like to know how that actually works, mainly where is the intermediate data stored ?

If the disk is 80% full then how does online re-encryption happens ?

Here in this video the creator of this feature says that it is done through creating a number of devices in the kernel, but that still does not explain where the data is stored.

Its like its defying the laws of physics !

Or I am just too dumb to understand it.

Thanks.latest?d=yIl2AUoC8zA latest?i=V-KQ-Sc45c0:dUhj8NUAj_E:F7zBnMy latest?i=V-KQ-Sc45c0:dUhj8NUAj_E:V_sGLiP latest?d=qj6IDK7rITs latest?i=V-KQ-Sc45c0:dUhj8NUAj_E:gIN9vFwV-KQ-Sc45c0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments