1
0
Fork 0

Modules: (maybe hopefully) improve RAID filesystem performance

This commit is contained in:
Aires 2025-01-02 21:49:45 +00:00
parent 9da3430b83
commit b77a4ed48e

View file

@ -45,8 +45,11 @@ in
};
fileSystems."/storage" = {
device = "/dev/mapper/storage";
# Keep booting even if the array fails to unlock
options = [ "nofail" ];
options = [
"nofail" # Keep booting even if the array fails to unlock
"lazytime" # Reduce atime writes: https://wiki.archlinux.org/title/Fstab#atime_options
"commit=60" # Increase commit interval to 60 seconds to reduce writes: https://wiki.archlinux.org/title/Ext4#Increasing_commit_interval
];
};
# Optimize RAID performance via udev rules