2023-07-15 18:42:37 +00:00
|
|
|
{
|
2023-03-03 07:09:13 +00:00
|
|
|
disko.devices = {
|
|
|
|
disk = {
|
|
|
|
one = {
|
|
|
|
type = "disk";
|
2023-07-15 18:42:37 +00:00
|
|
|
device = "/dev/sda";
|
2023-03-03 07:09:13 +00:00
|
|
|
content = {
|
2023-07-15 18:42:37 +00:00
|
|
|
type = "gpt";
|
|
|
|
partitions = {
|
|
|
|
boot = {
|
2023-09-27 06:13:25 +00:00
|
|
|
size = "500M";
|
2023-07-20 16:41:35 +00:00
|
|
|
type = "EF00";
|
2023-03-03 07:09:13 +00:00
|
|
|
content = {
|
|
|
|
type = "mdraid";
|
|
|
|
name = "boot";
|
|
|
|
};
|
2023-07-15 18:42:37 +00:00
|
|
|
};
|
|
|
|
primary = {
|
|
|
|
size = "100%";
|
2023-03-03 07:09:13 +00:00
|
|
|
content = {
|
|
|
|
type = "lvm_pv";
|
|
|
|
vg = "pool";
|
|
|
|
};
|
2023-07-15 18:42:37 +00:00
|
|
|
};
|
|
|
|
};
|
2023-03-03 07:09:13 +00:00
|
|
|
};
|
2022-08-29 09:45:19 +00:00
|
|
|
};
|
2023-03-03 07:09:13 +00:00
|
|
|
two = {
|
|
|
|
type = "disk";
|
2023-07-15 18:42:37 +00:00
|
|
|
device = "/dev/sdb";
|
2023-03-03 07:09:13 +00:00
|
|
|
content = {
|
2023-07-15 18:42:37 +00:00
|
|
|
type = "gpt";
|
|
|
|
partitions = {
|
|
|
|
boot = {
|
2023-09-27 06:13:25 +00:00
|
|
|
size = "500M";
|
2023-07-20 16:41:35 +00:00
|
|
|
type = "EF00";
|
2023-03-03 07:09:13 +00:00
|
|
|
content = {
|
|
|
|
type = "mdraid";
|
|
|
|
name = "boot";
|
|
|
|
};
|
2023-07-15 18:42:37 +00:00
|
|
|
};
|
|
|
|
primary = {
|
|
|
|
size = "100%";
|
2023-03-03 07:09:13 +00:00
|
|
|
content = {
|
|
|
|
type = "lvm_pv";
|
|
|
|
vg = "pool";
|
|
|
|
};
|
2023-07-15 18:42:37 +00:00
|
|
|
};
|
|
|
|
};
|
2023-03-03 07:09:13 +00:00
|
|
|
};
|
2022-08-29 09:45:19 +00:00
|
|
|
};
|
2022-08-25 16:36:56 +00:00
|
|
|
};
|
2023-03-03 07:09:13 +00:00
|
|
|
mdadm = {
|
|
|
|
boot = {
|
|
|
|
type = "mdadm";
|
|
|
|
level = 1;
|
|
|
|
metadata = "1.0";
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "vfat";
|
|
|
|
mountpoint = "/boot";
|
|
|
|
};
|
2022-09-30 10:55:28 +00:00
|
|
|
};
|
|
|
|
};
|
2023-03-03 07:09:13 +00:00
|
|
|
lvm_vg = {
|
|
|
|
pool = {
|
|
|
|
type = "lvm_vg";
|
|
|
|
lvs = {
|
|
|
|
root = {
|
|
|
|
size = "100M";
|
|
|
|
lvm_type = "mirror";
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "ext4";
|
|
|
|
mountpoint = "/";
|
|
|
|
mountOptions = [
|
|
|
|
"defaults"
|
|
|
|
];
|
|
|
|
};
|
2022-08-25 16:36:56 +00:00
|
|
|
};
|
2023-03-03 07:09:13 +00:00
|
|
|
home = {
|
|
|
|
size = "10M";
|
|
|
|
lvm_type = "raid0";
|
|
|
|
content = {
|
|
|
|
type = "filesystem";
|
|
|
|
format = "ext4";
|
|
|
|
mountpoint = "/home";
|
|
|
|
};
|
2022-08-25 16:36:56 +00:00
|
|
|
};
|
|
|
|
};
|
2022-08-29 09:45:19 +00:00
|
|
|
};
|
2022-08-25 16:36:56 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|