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

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
User avatar
blueocean
Level 4
Level 4
Posts: 451
Joined: Sun Jul 08, 2018 11:50 pm

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

Post by blueocean » Mon Jul 09, 2018 12:12 am

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?
Last edited by blueocean on Tue Sep 10, 2019 6:14 pm, edited 1 time in total.
To mark this issue solved, go to your original 1st post and click the edit pencil and add [Solved] at the beginning of the title and click Submit.

User avatar
xenopeek
Level 24
Level 24
Posts: 24097
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

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

Post by xenopeek » Mon Jul 09, 2018 1:11 am

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.
Image

User avatar
blueocean
Level 4
Level 4
Posts: 451
Joined: Sun Jul 08, 2018 11:50 pm

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

Post by blueocean » Mon Jul 09, 2018 5:51 pm

Thanks
Interestingly, this site indicates that noatime is beneficial for snapshots on Btrfs and recommends adding it.
https://gms.tf/btrfs-requires-noatime.html
To mark this issue solved, go to your original 1st post and click the edit pencil and add [Solved] at the beginning of the title and click Submit.

Post Reply

Return to “Installation & Boot”