This is my first time attempting to do this with Linux, and I wasn't following a particular guide, just figuring it out as I go... perhaps I should have... but here's the situation. I have an old computer I use as a VMware ESXi 3.5 server. It's known working and I've been running other VMs in it for a while. I've decided I want to add an Ubuntu server to the mix, mostly as a learning experience and for possible use in a production environment later.
I have two physical hard drives in the ESX server. Since I have no redundancy at the hardware level in this old rig, I want to set up software RAID. For learning purposes, I also would like to encrypt everything to the extent possible (I understand /boot cannot be encrypted). I've given the VM two hard drives, one stored on each physical hard drive. The first one looks like this:
- 100MB used as RAID
- 20.4GB used as RAID
- 1GB used as RAID
The second virtual drive has an identical size and layout. RAID volumes are configured as follows:
- 100MB used as RAID1 EXT4 mounted as /boot
- 20.4GB used as RAID1 for encryption
- 1GB used as RAID0 for encryption
After setting up encryption on the latter two RAID volumes, the 20.4GB is used as EXT4 and mounted as /. The last one is used as SWAP.
As I'm leaving the partitioner during setup, I get this error:
What was my mistake here?The attempt to mount a file system with type swap in Encrypted volume (md2_crypt) at none failed.
You may resume partitioning from the partitioning menu.
Do you want to resume partitioning?
<Go Back> <Yes> <No>