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 = {
|
||||
type = "lvm_vg";
|
||||
lvs = {
|
||||
swap = {
|
||||
size = "45G";
|
||||
lvm_type = "mirror";
|
||||
content = {
|
||||
type = "swap";
|
||||
discardPolicy = "both";
|
||||
resumeDevice = true;
|
||||
extraArgs = [
|
||||
"--label"
|
||||
"SWAP"
|
||||
];
|
||||
};
|
||||
};
|
||||
root = {
|
||||
size = "400G";
|
||||
lvm_type = "mirror";
|
||||
|
|
@ -77,6 +90,10 @@
|
|||
mountOptions = [
|
||||
"defaults"
|
||||
];
|
||||
extraArgs = [
|
||||
"-L"
|
||||
"HOME"
|
||||
];
|
||||
};
|
||||
};
|
||||
home = {
|
||||
|
|
@ -86,6 +103,10 @@
|
|||
type = "filesystem";
|
||||
format = "ext4";
|
||||
mountpoint = "/home";
|
||||
extraArgs = [
|
||||
"-L"
|
||||
"HOME"
|
||||
];
|
||||
};
|
||||
};
|
||||
data = {
|
||||
|
|
@ -95,6 +116,10 @@
|
|||
type = "filesystem";
|
||||
format = "ext4";
|
||||
mountpoint = "/data";
|
||||
extraArgs = [
|
||||
"-L"
|
||||
"DATA"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue