On 12/01/2015 06:43 AM, Roberto Ragusa wrote:
> ... should note that you'll have to shrink at least one of
your volumes, though. The encrypted PV that you create will be slightly smaller than it
was, before encryption. As a result, there won't be enough extents to move all of the
volumes off and then back.
The PV is used in multiple of the segment size, so, depending on rounding errors you may
have some free blocks.
Sounds right. "pvdisplay" will print information about unusable space
in the "PV Size" line. As long as that's larger than the LUKS header
(2MiB, I believe) you should be able to do a live migration to an
encrypted PV using a second disk.
Interesting.