mount btrfs on boot
This commit is contained in:
parent
1cdb2fd226
commit
ad97dcf385
@ -30,22 +30,22 @@
|
|||||||
device = "/dev/disk/by-uuid/af72f45c-cf7c-4e7d-8eab-2a95ab754921";
|
device = "/dev/disk/by-uuid/af72f45c-cf7c-4e7d-8eab-2a95ab754921";
|
||||||
preLVM = true;
|
preLVM = true;
|
||||||
};
|
};
|
||||||
# disk1 = {
|
disk1 = {
|
||||||
# device = "/dev/disk/by-uuid/a9b0f346-7e38-40a6-baf6-3ad80cafc842";
|
device = "/dev/disk/by-uuid/a9b0f346-7e38-40a6-baf6-3ad80cafc842";
|
||||||
# preLVM = true;
|
preLVM = true;
|
||||||
# };
|
};
|
||||||
# disk2 = {
|
disk2 = {
|
||||||
# device = "/dev/disk/by-uuid/0ed12b83-4c56-4ba8-b4ea-75a9e927d771";
|
device = "/dev/disk/by-uuid/0ed12b83-4c56-4ba8-b4ea-75a9e927d771";
|
||||||
# preLVM = true;
|
preLVM = true;
|
||||||
# };
|
};
|
||||||
# disk3 = {
|
disk3 = {
|
||||||
# device = "/dev/disk/by-uuid/8cd728f6-0d5b-4cea-8f7d-01aad11192c1";
|
device = "/dev/disk/by-uuid/8cd728f6-0d5b-4cea-8f7d-01aad11192c1";
|
||||||
# preLVM = true;
|
preLVM = true;
|
||||||
# };
|
};
|
||||||
# disk4 = {
|
disk4 = {
|
||||||
# device = "/dev/disk/by-uuid/7fcac808-491f-4846-a4a9-a34cc77cb43d";
|
device = "/dev/disk/by-uuid/7fcac808-491f-4846-a4a9-a34cc77cb43d";
|
||||||
# preLVM = true;
|
preLVM = true;
|
||||||
# };
|
};
|
||||||
};
|
};
|
||||||
kernelModules = [ "kvm-intel" ];
|
kernelModules = [ "kvm-intel" ];
|
||||||
kernel.sysctl = {
|
kernel.sysctl = {
|
||||||
@ -89,17 +89,17 @@
|
|||||||
"datacow"
|
"datacow"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
# "/mnt/pool" = {
|
"/mnt/btrfs" = {
|
||||||
# device = "/dev/disk/by-uuid/1e7cf787-e34d-4e3e-ac3c-0c07309dbd34";
|
device = "/dev/disk/by-uuid/1e7cf787-e34d-4e3e-ac3c-0c07309dbd34";
|
||||||
# fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
# options = [
|
options = [
|
||||||
# "subvol=@data"
|
"subvol=@data"
|
||||||
# "compress=zstd:3"
|
"compress=zstd:3"
|
||||||
# "space_cache=v2"
|
"space_cache=v2"
|
||||||
# "commit=120"
|
"commit=120"
|
||||||
# "datacow"
|
"datacow"
|
||||||
# ];
|
];
|
||||||
# };
|
};
|
||||||
"/boot" = {
|
"/boot" = {
|
||||||
device = "/dev/disk/by-uuid/c574cb53-dc40-46db-beff-0fe8a4787156";
|
device = "/dev/disk/by-uuid/c574cb53-dc40-46db-beff-0fe8a4787156";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
@ -143,7 +143,7 @@
|
|||||||
/export workstation(rw,fsid=0,no_subtree_check)
|
/export workstation(rw,fsid=0,no_subtree_check)
|
||||||
/export/jawz workstation(rw,nohide,insecure,no_subtree_check)
|
/export/jawz workstation(rw,nohide,insecure,no_subtree_check)
|
||||||
/export/pool workstation(rw,nohide,insecure,no_subtree_check)
|
/export/pool workstation(rw,nohide,insecure,no_subtree_check)
|
||||||
/export/btrfs workstation(rw,nohide,insecure,no_subtree_check)
|
/export/btrfs workstation(rw,nohide,insecure,no_subtree_check)
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user