Create db storage pool in postgres profile
This commit is contained in:
parent
9f593876ab
commit
044b04752f
|
@ -17,14 +17,14 @@
|
||||||
config.source = "/dev/zvol/zspeed/postgres";
|
config.source = "/dev/zvol/zspeed/postgres";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "test";
|
name = "default";
|
||||||
driver = "btrfs";
|
driver = "btrfs";
|
||||||
config.source = "/dev/zvol/zspeed/test";
|
config.source = "/dev/zvol/zspeed/default";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
profile = {
|
profile = {
|
||||||
name = "default";
|
name = "postgres";
|
||||||
devices = {
|
devices = {
|
||||||
"eth0" = {
|
"eth0" = {
|
||||||
name = "eth0";
|
name = "eth0";
|
||||||
|
@ -38,6 +38,12 @@
|
||||||
size = "8GiB";
|
size = "8GiB";
|
||||||
type = "disk";
|
type = "disk";
|
||||||
};
|
};
|
||||||
|
"db" = {
|
||||||
|
path = "/var/lib/postgresql/16/";
|
||||||
|
pool = "postgres";
|
||||||
|
source = "db";
|
||||||
|
type = "disk";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue