Remove zfs from busch btrfs raid and add zramswap

btrfs doesn't allow having swap subvol on raid devices.
This commit is contained in:
JuliusFreudenberger 2026-06-10 22:42:13 +02:00
parent dd07cccf69
commit d4cc7f893e
2 changed files with 5 additions and 4 deletions

View file

@ -71,6 +71,11 @@
};
};
zramSwap = {
enable = true;
memoryPercent = 50;
};
networking.useDHCP = false;
systemd.network = {

View file

@ -91,10 +91,6 @@
mountOptions = [ "compress=zstd" ];
mountpoint = "/var/lib/pve-cluster";
};
"/swap" = {
mountpoint = "/.swapvol";
swap.swapfile.size = "32G";
};
};
};
};