Remove zfs from busch btrfs raid and add zramswap
btrfs doesn't allow having swap subvol on raid devices.
This commit is contained in:
parent
dd07cccf69
commit
d4cc7f893e
2 changed files with 5 additions and 4 deletions
|
|
@ -71,6 +71,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
memoryPercent = 50;
|
||||
};
|
||||
|
||||
networking.useDHCP = false;
|
||||
|
||||
systemd.network = {
|
||||
|
|
|
|||
|
|
@ -91,10 +91,6 @@
|
|||
mountOptions = [ "compress=zstd" ];
|
||||
mountpoint = "/var/lib/pve-cluster";
|
||||
};
|
||||
"/swap" = {
|
||||
mountpoint = "/.swapvol";
|
||||
swap.swapfile.size = "32G";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue