Skip to content

Instantly share code, notes, and snippets.

@varuzhnikov
Created September 24, 2025 12:12
Show Gist options
  • Select an option

  • Save varuzhnikov/fd45a3b38c7cbdeae6b059e336f5737c to your computer and use it in GitHub Desktop.

Select an option

Save varuzhnikov/fd45a3b38c7cbdeae6b059e336f5737c to your computer and use it in GitHub Desktop.
hetzner_ex44_raid_0_lvm.txt
# Disks
DRIVE1 /dev/nvme0n1
DRIVE2 /dev/nvme1n1
# Software RAID
SWRAID 1
SWRAIDLEVEL 0 # 0 = RAID0 (speed/space), use 1 for RAID1 (redundancy)
HOSTNAME kube-lab
# Partitions
PART /boot/efi esp 256M
PART /boot ext4 512M
# LVM
PART lvm vg0 all
# Logical Volumes
LV vg0 root / ext4 50G
LV vg0 swap swap swap 8G
# <-- Do not define LV data here! leave the remaining space free in the VG -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment