Page 1 of 1

[Solved] SSD Btrfs as Root Mint19 Add Noatime or not?

Posted: Mon Jul 09, 2018 12:12 am
by blueocean
Should noatime be added to /etc/fstab file when using Btrfs as / on Mint 19 Cinnamon to optimize an SSD?
This a stand alone Desktop with one SSD. No Raid and no dual boot.
mine looks like:
# / was on /dev/sda2 during installation
UUID=f100b6ff-681a-48f1-ad3d-769e0003b7f6 / btrfs defaults,subvol=@ 0
If yes, exactly how should it look?

Re: SSD Btrfs as Root Mint19 Add Noatime or not?

Posted: Mon Jul 09, 2018 1:11 am
by xenopeek
The default used by Linux is relatime, which only updates the access time when the file is being modified and the file information block would thus be written to anyway to update the modified time. Noatime doesn't reduce disk writes as compared to relatime. It serves no purpose for your intent.

Re: SSD Btrfs as Root Mint19 Add Noatime or not?

Posted: Mon Jul 09, 2018 5:51 pm
by blueocean
Thanks
Interestingly, this site indicates that noatime is beneficial for snapshots on Btrfs and recommends adding it.
https://gms.tf/btrfs-requires-noatime.html