Skip to content

Instantly share code, notes, and snippets.

View MaxXor's full-sized avatar
🍕
Off to new adventures

MaxXor

🍕
Off to new adventures
View GitHub Profile
@MaxXor
MaxXor / gpu-passthrough.md
Last active November 7, 2026 17:51
Arch GPU Passthrough Summary
@MaxXor
MaxXor / btrfs-guide.md
Last active November 7, 2026 18:14
Btrfs guide to set up an LUKS-encrypted btrfs raid volume with included maintenance & recovery guide

Encrypted Btrfs storage setup and maintenance guide

Initial setup with LUKS/dm-crypt

This exemplary initial setup uses two devices /dev/sdb and /dev/sdc but can be applied to any amount of devices by following the steps with additional devices.

Create keyfile:

dd bs=64 count=1 if=/dev/urandom of=/etc/cryptkey iflag=fullblock
chmod 600 /etc/cryptkey