I would like to install Ubuntu on a two-disk RAID 1 with dm-integrity and LUKS2-encryption.
不幸的是,Ubiquiti和textmode-installer都不提供这样的解决方案。
However, this seems simple enough to execute: Formatting both drives with "physical partitions for encryption" in gparted
and then calling cryptsetup luksFormat --type luks2 --integrity sha256 <device>
for either drive as a basis to create the RAID device, LVM and filesystem on top of in the manual installer.
这种方法有什么需要考虑的吗? Ubuntu是否需要某些LUKS参数,或者为此特别建议使用某些参数?
在启动安装程序之前是否需要以任何特定方式“打开”设备,和/或是否必须将它们手动添加到文件中以在启动时进行解密?
这甚至是最好的方法,还是有另一种方法可以做到这一点? (不包括Btrfs / ZFS文件系统的使用)
并且,还有一个相关的疑问,在这种情况下,即使不使用RAID功能,Btrfs文件系统在数据完整性方面是否还会具有其他价值,而不是Ext4?