Filesystem : Add noatime to all drives.

This commit is contained in:
Dmitry Voronin 2024-04-11 12:29:24 +03:00
parent 195f1a774a
commit bec83905d4
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
5 changed files with 12 additions and 11 deletions

View file

@ -2,12 +2,12 @@
fileSystems."/storage/hot" = {
device = "/dev/storage/hot";
fsType = "ext4";
options = [ "nofail" ];
options = [ "nofail" "noatime" ];
};
fileSystems."/storage/cold" = {
device = "/dev/storage/cold";
fsType = "ext4";
options = [ "nofail" ];
options = [ "nofail" "noatime" ];
};
}

View file

@ -2,18 +2,18 @@
fileSystems."/storage/hot" = {
device = "/dev/storage/hot";
fsType = "ext4";
options = [ "nofail" ];
options = [ "noatime" "nofail" ];
};
fileSystems."/storage/cold_1" = {
device = "/dev/storage/cold_1";
fsType = "ext4";
options = [ "noauto" "nofail" ];
options = [ "noatime" "noauto" "nofail" ];
};
fileSystems."/storage/cold_2" = {
device = "/dev/storage/cold_2";
fsType = "ext4";
options = [ "noauto" "nofail" ];
options = [ "noatime" "noauto" "nofail" ];
};
}

View file

@ -2,18 +2,18 @@
fileSystems."/storage/cold_1" = {
device = "/dev/storage/cold_1";
fsType = "ext4";
options = [ "nofail" ];
options = [ "nofail" "noatime" ];
};
fileSystems."/storage/cold_2" = {
device = "/dev/storage/cold_2";
fsType = "ext4";
options = [ "nofail" ];
options = [ "nofail" "noatime" ];
};
fileSystems."/storage/hot" = {
device = "/dev/storage/hot";
fsType = "ext4";
options = [ "nofail" ];
options = [ "nofail" "noatime" ];
};
}

View file

@ -2,6 +2,6 @@
fileSystems."/storage/hot" = {
device = "/dev/storage/hot";
fsType = "ext4";
options = [ "nofail" ];
options = [ "noatime" "nofail" ];
};
}

View file

@ -2,6 +2,7 @@
fileSystems."/" = {
device = "/dev/disk/by-partlabel/NIXROOT";
fsType = "ext4";
options = [ "noatime" ];
};
fileSystems."/boot" = {
device = "/dev/disk/by-partlabel/NIXBOOT";