change lemur disk
This commit is contained in:
parent
9045fcb02a
commit
d4b04e8e2d
1 changed files with 25 additions and 0 deletions
|
|
@ -67,6 +67,19 @@
|
||||||
pool = {
|
pool = {
|
||||||
type = "lvm_vg";
|
type = "lvm_vg";
|
||||||
lvs = {
|
lvs = {
|
||||||
|
swap = {
|
||||||
|
size = "45G";
|
||||||
|
lvm_type = "mirror";
|
||||||
|
content = {
|
||||||
|
type = "swap";
|
||||||
|
discardPolicy = "both";
|
||||||
|
resumeDevice = true;
|
||||||
|
extraArgs = [
|
||||||
|
"--label"
|
||||||
|
"SWAP"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
root = {
|
root = {
|
||||||
size = "400G";
|
size = "400G";
|
||||||
lvm_type = "mirror";
|
lvm_type = "mirror";
|
||||||
|
|
@ -77,6 +90,10 @@
|
||||||
mountOptions = [
|
mountOptions = [
|
||||||
"defaults"
|
"defaults"
|
||||||
];
|
];
|
||||||
|
extraArgs = [
|
||||||
|
"-L"
|
||||||
|
"HOME"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
home = {
|
home = {
|
||||||
|
|
@ -86,6 +103,10 @@
|
||||||
type = "filesystem";
|
type = "filesystem";
|
||||||
format = "ext4";
|
format = "ext4";
|
||||||
mountpoint = "/home";
|
mountpoint = "/home";
|
||||||
|
extraArgs = [
|
||||||
|
"-L"
|
||||||
|
"HOME"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
data = {
|
data = {
|
||||||
|
|
@ -95,6 +116,10 @@
|
||||||
type = "filesystem";
|
type = "filesystem";
|
||||||
format = "ext4";
|
format = "ext4";
|
||||||
mountpoint = "/data";
|
mountpoint = "/data";
|
||||||
|
extraArgs = [
|
||||||
|
"-L"
|
||||||
|
"DATA"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue