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,95 +1,104 @@
{ {
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 = { content = {
type = "filesystem"; type = "mdraid";
format = "vfat"; name = "boot";
mountpoint = "/boot";
mountOptions = [
"defaults"
"umask=0077"
];
extraArgs = [
"-n"
"BOOT"
];
}; };
}; };
swap = { primary = {
size = "45G";
content = {
type = "swap";
discardPolicy = "both";
resumeDevice = true;
extraArgs = [
"--label"
"SWAP"
];
};
};
root = {
size = "100%"; size = "100%";
content = { content = {
type = "filesystem"; type = "lvm_pv";
format = "ext4"; vg = "pool";
mountpoint = "/";
extraArgs = [
"-L"
"ROOT"
];
}; };
}; };
}; };
}; };
}; };
disk1 = { two = {
device = "/dev/nvme1n1";
type = "disk"; type = "disk";
device = "/dev/nvme1n1";
content = { content = {
type = "gpt"; type = "gpt";
partitions = { partitions = {
data = { boot = {
size = "1T"; size = "1G";
type = "EF00";
content = { content = {
type = "filesystem"; type = "mdraid";
format = "ext4"; name = "boot";
mountpoint = "/data";
extraArgs = [
"-L"
"DATA"
];
}; };
}; };
home = { primary = {
size = "100%"; size = "100%";
content = { content = {
type = "filesystem"; type = "lvm_pv";
format = "ext4"; vg = "pool";
mountpoint = "/home";
extraArgs = [
"-L"
"HOME"
];
}; };
}; };
}; };
}; };
}; };
}; };
mdadm = {
boot = {
type = "mdadm";
level = 1;
metadata = "1.0";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
};
lvm_vg = {
pool = {
type = "lvm_vg";
lvs = {
root = {
size = "400G";
lvm_type = "mirror";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
mountOptions = [
"defaults"
];
};
};
home = {
size = "500G";
lvm_type = "raid0";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/home";
};
};
data = {
size = "100%FREE";
lvm_type = "raid0";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/data";
};
}
};
};
};
}; };
} }