about summary refs log tree commit diff
path: root/tvix/castore
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2023-11-25T19·04+0100
committersterni <sternenseemann@systemli.org>2023-11-25T22·55+0000
commit825b6ac65f69737bbcba99058433e0af3fcc33b7 (patch)
tree895adc431d2a410561cb10737bcaf71083867a95 /tvix/castore
parentb91f4e89ab7af350f775185d8c381d921b636d19 (diff)
feat(sterni/machines/ingeborg): boot-strap r/7069
Network configuration and initrd setup is basically the same as with
edwin, but we are using md for Software RAID this time as well as LVM
over two partitions with LUKS:

- sda2 <-- RAID1 --> sdb2 (boot-raid)
  └ boot partition, ext4 (encrypted-container-raid)
- sda3 <-- RAID1 --> sdb3
  └ LUKS container
    └ Volume Group vgmain
      ├ Logical Volume vgmain/swap
      │ └ swap
      └ Logical Volume vgmain/root
        └ btrfs

So we no longer rely on btrfs raid1 due to question marks over its
reliability (I personally did not have any problems though). This also
means that we have less LUKS containers we need to unlock when
booting (kind of neglible improvement). The biggest improvement is that
we have redundancy for the swap, so a disk failure shouldn't cause
memory corruption/loss.

Change-Id: I14f065b659857415917d9a60a7ec019e687f8d1c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10127
Tested-by: BuildkiteCI
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: tazjin <tazjin@tvl.su>
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'tvix/castore')
0 files changed, 0 insertions, 0 deletions