update lemur disk

This commit is contained in:
Ray Andrew 2025-03-08 20:20:43 -06:00
parent 8a0886f4d1
commit 3a51edb549
No known key found for this signature in database

View file

@ -1,93 +1,102 @@
{ {
disko.devices = { disko.devices = {
disk = { disk = {
disk0 = { one = {
device = "/dev/nvme0n1";
type = "disk"; type = "disk";
device = "/dev/nvme0n1";
content = { content = {
type = "gpt"; type = "gpt";
partitions = { partitions = {
boot = { boot = {
name = "boot";
size = "1M";
type = "EF02";
};
ESP = {
priority = 1;
size = "1G"; size = "1G";
type = "EF00"; type = "EF00";
content = {
type = "mdraid";
name = "boot";
};
};
primary = {
size = "100%";
content = {
type = "lvm_pv";
vg = "pool";
};
};
};
};
};
two = {
type = "disk";
device = "/dev/nvme1n1";
content = {
type = "gpt";
partitions = {
boot = {
size = "1G";
type = "EF00";
content = {
type = "mdraid";
name = "boot";
};
};
primary = {
size = "100%";
content = {
type = "lvm_pv";
vg = "pool";
};
};
};
};
};
};
mdadm = {
boot = {
type = "mdadm";
level = 1;
metadata = "1.0";
content = { content = {
type = "filesystem"; type = "filesystem";
format = "vfat"; format = "vfat";
mountpoint = "/boot"; mountpoint = "/boot";
mountOptions = [ mountOptions = [ "umask=0077" ];
"defaults"
"umask=0077"
];
extraArgs = [
"-n"
"BOOT"
];
}; };
}; };
swap = {
size = "45G";
content = {
type = "swap";
discardPolicy = "both";
resumeDevice = true;
extraArgs = [
"--label"
"SWAP"
];
};
}; };
lvm_vg = {
pool = {
type = "lvm_vg";
lvs = {
root = { root = {
size = "100%"; size = "400G";
lvm_type = "mirror";
content = { content = {
type = "filesystem"; type = "filesystem";
format = "ext4"; format = "ext4";
mountpoint = "/"; mountpoint = "/";
extraArgs = [ mountOptions = [
"-L" "defaults"
"ROOT"
];
};
};
};
};
};
disk1 = {
device = "/dev/nvme1n1";
type = "disk";
content = {
type = "gpt";
partitions = {
data = {
size = "1T";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/data";
extraArgs = [
"-L"
"DATA"
]; ];
}; };
}; };
home = { home = {
size = "100%"; size = "500G";
lvm_type = "raid0";
content = { content = {
type = "filesystem"; type = "filesystem";
format = "ext4"; format = "ext4";
mountpoint = "/home"; mountpoint = "/home";
extraArgs = [
"-L"
"HOME"
];
}; };
}; };
data = {
size = "100%FREE";
lvm_type = "raid0";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/data";
}; };
}
}; };
}; };
}; };