switch to /data on zfs
This commit is contained in:
parent
84e5f7b675
commit
8037ef8adb
1 changed files with 3 additions and 13 deletions
|
@ -14,20 +14,10 @@
|
||||||
|
|
||||||
services.btrfs.autoScrub.enable = true;
|
services.btrfs.autoScrub.enable = true;
|
||||||
services.zfs.autoScrub.enable = true;
|
services.zfs.autoScrub.enable = true;
|
||||||
|
|
||||||
boot.kernelParams = [ "zfs.zfs_arc_max=8589934592" ];
|
boot.kernelParams = [ "zfs.zfs_arc_max=8589934592" ];
|
||||||
|
|
||||||
fileSystems."/data" = {
|
boot.zfs.extraPools = [ "data" ];
|
||||||
device = "/dev/disk/by-uuid/78e8e5b5-9068-4381-8e85-b4297607f9ea";
|
|
||||||
fsType = "btrfs";
|
|
||||||
options = [
|
|
||||||
"autodefrag"
|
|
||||||
"space_cache"
|
|
||||||
"inode_cache"
|
|
||||||
"noatime"
|
|
||||||
"nodiratime"
|
|
||||||
"compress=zstd"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "/dev/disk/by-uuid/28afab71-ff3d-4f1a-b7e4-2129572706dd";
|
device = "/dev/disk/by-uuid/28afab71-ff3d-4f1a-b7e4-2129572706dd";
|
||||||
|
|
Loading…
Reference in a new issue