Setting up a btrfs storage layout

Hi, I’m playing around maas to simplify our life. I found it somewhat of a challenge to template a custom storage layout used on our servers … its always 2 nvmes

  • efi
  • boot
  • root - luks2 encrypted with dropbear on grub - sporting btrfs
  • both btrfs devices in a native btrfs raid1 setup
  • subvolumes for @home and @var

any help would be really appreciated
best, Pavel

Hi @kirru ,

can you share what your custom storage script looks like currently?