[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
LanceM
Level 10
Level 10
Posts: 3271
Joined: Sun Jul 08, 2018 11:50 pm

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

Post by LanceM »

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 LanceM 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.
Mint accepts donations: https://linuxmint.com/donors.php
User avatar
xenopeek
Level 24
Level 24
Posts: 24972
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

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

Post 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.
Image
User avatar
LanceM
Level 10
Level 10
Posts: 3271
Joined: Sun Jul 08, 2018 11:50 pm

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

Post by LanceM »

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.
Mint accepts donations: https://linuxmint.com/donors.php
User avatar
LanceM
Level 10
Level 10
Posts: 3271
Joined: Sun Jul 08, 2018 11:50 pm

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

Post by LanceM »

This is my latest test concerning noatime
viewtopic.php?p=1904807#p1904807
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.
Mint accepts donations: https://linuxmint.com/donors.php
Post Reply

Return to “Installation & Boot”