Add postgres btrfs zvol

This commit is contained in:
Sam 2024-07-05 18:57:17 +01:00
parent fc2f6f4ca3
commit c9ee7c7e80
1 changed files with 4 additions and 7 deletions

View File

@ -53,14 +53,11 @@
postgres = { postgres = {
type = "zfs_volume"; type = "zfs_volume";
size = "10G -s"; size = "10G -s";
options = { content = {
"com.sun:auto-snapshot:daily" = "true"; type = "filesystem";
"volblocksize" = "8k"; format = "btrfs";
mountpoint = "/postgres";
}; };
};
lxc = {
type = "zfs_volume";
size = "10G -s";
options = { options = {
"com.sun:auto-snapshot:daily" = "true"; "com.sun:auto-snapshot:daily" = "true";
"volblocksize" = "8k"; "volblocksize" = "8k";