2022-08-26 10:50:52 +00:00
|
|
|
{
|
2022-08-29 09:45:19 +00:00
|
|
|
disk = {
|
2022-08-26 10:50:52 +00:00
|
|
|
vdb = {
|
2022-08-29 09:45:19 +00:00
|
|
|
type = "disk";
|
|
|
|
device = "/dev/vdb";
|
|
|
|
content = {
|
|
|
|
type = "table";
|
|
|
|
format = "gpt";
|
|
|
|
partitions = [
|
|
|
|
{
|
|
|
|
type = "partition";
|
|
|
|
start = "0%";
|
|
|
|
end = "100%";
|
|
|
|
name = "primary";
|
|
|
|
bootable = true;
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "ext4";
|
|
|
|
mountpoint = "/";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
2022-08-26 10:50:52 +00:00
|
|
|
};
|
|
|
|
vdc = {
|
2022-08-29 09:45:19 +00:00
|
|
|
type = "disk";
|
|
|
|
device = "/dev/vdc";
|
|
|
|
content = {
|
|
|
|
type = "zfs";
|
|
|
|
pool = "zroot";
|
|
|
|
};
|
2022-08-26 10:50:52 +00:00
|
|
|
};
|
2022-08-29 09:45:19 +00:00
|
|
|
};
|
|
|
|
zpool = {
|
2022-08-26 10:50:52 +00:00
|
|
|
zroot = {
|
|
|
|
type = "zpool";
|
2022-08-29 09:45:19 +00:00
|
|
|
datasets = {
|
|
|
|
zfs_fs = {
|
|
|
|
zfs_type = "filesystem";
|
2022-08-26 10:50:52 +00:00
|
|
|
mountpoint = "/zfs_fs";
|
|
|
|
options."com.sun:auto-snapshot" = "true";
|
2022-08-29 09:45:19 +00:00
|
|
|
};
|
|
|
|
};
|
2022-08-26 10:50:52 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|