On Mon, Dec 18, 2017 at 3:28 PM, Gordon Messmer gordon.messmer@gmail.com wrote:
On 12/18/2017 06:14 AM, Michael Cronenworth wrote:
Everything possible even on the / filesystem while the system runs normally.
All of what you describe is possible without LVM, too.
Including moving the filesystem while the system using it is live? I'm not aware of a non-LVM way to do that.
Btrfs does, but in the context of the current thread it's out of scope because it also assumes the file system you want to encrypt is already Btrfs. If so, it's pretty simple:
cryptsetup luksFormat /dev/B cryptsetup open /dev/B newroot btrfs dev add /dev/mapper/newroot / btrfs dev rem /dev/A /