sudo nano /etc/fstab
Edit the mounting options for your partitions by adding the text noatime
and nodiratime
to the lines defining your root (/
) and other partitions if you have them (/home)
# / was on /dev/sda2 during installation UUID=587e0dc5-2db1-4cd9-9792-a5459a7bcfd2 / ext4 noatime,nodiratime,errors=remount-ro 0 1 # /home was on /dev/sda3 during installation UUID=2c919dc4-24de-474f-8da0-14c7e1240ab8 /home ext4 noatime,nodiratime,defaults 0 2
References
https://askubuntu.com/questions/1400/how-do-i-optimize-the-os-for-ssds