You are not logged in.
Could anyone suggest the best way to manage LUKS encrypted RAID arrays (RAID1) while managing operating systems. I have the following setup:
- Boot drive, non raided, not encrypted
- /home drive obviously with all user level config and data, I'd like to be RAID'ed across 2 drives, with a LUKS layer on top of an mdadm drive
Two questions really:
1. What do you do when you want to reinstall an operating system on such a setup. My main conceptual problem is how the new operating system knows about the user space without first decrypting the RAID drive. I tried installing a clean linux version over the old one where I setup an array and the system simply opens up a clean RAID'ed disk which appears to have nothing preserved on it from the older OS. It also quite surpisingly does not appear to be encrypted at all. It's just empty.
2. Does cloning such a system represent an impossible task, and if it's doable how one would go about this.
Many thanks!
Offline
1. What do you do when you want to reinstall an operating system on such a setup. My main conceptual problem is how the new operating system knows about the user space without first decrypting the RAID drive.
The new OS will need to decrypt the LUKS volume to discover its contents.
I tried installing a clean linux version over the old one where I setup an array and the system simply opens up a clean RAID'ed disk which appears to have nothing preserved on it from the older OS. It also quite surpisingly does not appear to be encrypted at all. It's just empty.
Was this new install of Arch linux? If so what commands did you use?
2. Does cloning such a system represent an impossible task, and if it's doable how one would go about this.
You can clone the disks without needing to have any knowledge as to what is stored on them.
You can also decrypt the LUKS volume and copy the filesystems using Rsync#Full_system_backup.
Offline