Filesystem : Add noatime to all drives.
This commit is contained in:
parent
195f1a774a
commit
bec83905d4
|
@ -2,12 +2,12 @@
|
||||||
fileSystems."/storage/hot" = {
|
fileSystems."/storage/hot" = {
|
||||||
device = "/dev/storage/hot";
|
device = "/dev/storage/hot";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
options = [ "nofail" ];
|
options = [ "nofail" "noatime" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/storage/cold" = {
|
fileSystems."/storage/cold" = {
|
||||||
device = "/dev/storage/cold";
|
device = "/dev/storage/cold";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
options = [ "nofail" ];
|
options = [ "nofail" "noatime" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,18 +2,18 @@
|
||||||
fileSystems."/storage/hot" = {
|
fileSystems."/storage/hot" = {
|
||||||
device = "/dev/storage/hot";
|
device = "/dev/storage/hot";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
options = [ "nofail" ];
|
options = [ "noatime" "nofail" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/storage/cold_1" = {
|
fileSystems."/storage/cold_1" = {
|
||||||
device = "/dev/storage/cold_1";
|
device = "/dev/storage/cold_1";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
options = [ "noauto" "nofail" ];
|
options = [ "noatime" "noauto" "nofail" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/storage/cold_2" = {
|
fileSystems."/storage/cold_2" = {
|
||||||
device = "/dev/storage/cold_2";
|
device = "/dev/storage/cold_2";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
options = [ "noauto" "nofail" ];
|
options = [ "noatime" "noauto" "nofail" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,18 +2,18 @@
|
||||||
fileSystems."/storage/cold_1" = {
|
fileSystems."/storage/cold_1" = {
|
||||||
device = "/dev/storage/cold_1";
|
device = "/dev/storage/cold_1";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
options = [ "nofail" ];
|
options = [ "nofail" "noatime" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/storage/cold_2" = {
|
fileSystems."/storage/cold_2" = {
|
||||||
device = "/dev/storage/cold_2";
|
device = "/dev/storage/cold_2";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
options = [ "nofail" ];
|
options = [ "nofail" "noatime" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/storage/hot" = {
|
fileSystems."/storage/hot" = {
|
||||||
device = "/dev/storage/hot";
|
device = "/dev/storage/hot";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
options = [ "nofail" ];
|
options = [ "nofail" "noatime" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
fileSystems."/storage/hot" = {
|
fileSystems."/storage/hot" = {
|
||||||
device = "/dev/storage/hot";
|
device = "/dev/storage/hot";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
options = [ "nofail" ];
|
options = [ "noatime" "nofail" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "/dev/disk/by-partlabel/NIXROOT";
|
device = "/dev/disk/by-partlabel/NIXROOT";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
|
options = [ "noatime" ];
|
||||||
};
|
};
|
||||||
fileSystems."/boot" = {
|
fileSystems."/boot" = {
|
||||||
device = "/dev/disk/by-partlabel/NIXBOOT";
|
device = "/dev/disk/by-partlabel/NIXBOOT";
|
||||||
|
|
Loading…
Reference in a new issue