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";
|
||||
}
|
||||
{
|
||||
name = "test";
|
||||
name = "default";
|
||||
driver = "btrfs";
|
||||
config.source = "/dev/zvol/zspeed/test";
|
||||
config.source = "/dev/zvol/zspeed/default";
|
||||
}
|
||||
];
|
||||
|
||||
profile = {
|
||||
name = "default";
|
||||
name = "postgres";
|
||||
devices = {
|
||||
"eth0" = {
|
||||
name = "eth0";
|
||||
|
@ -38,6 +38,12 @@
|
|||
size = "8GiB";
|
||||
type = "disk";
|
||||
};
|
||||
"db" = {
|
||||
path = "/var/lib/postgresql/16/";
|
||||
pool = "postgres";
|
||||
source = "db";
|
||||
type = "disk";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue