[xubuntu-users] 18.04 destroying my M.2 SSD

Ralf Mardorf silver.bullet at zoho.com
Fri Jun 15 05:04:18 UTC 2018


On Thu, 14 Jun 2018 17:06:40 -0400, Daniel Wastak wrote:
>UUID=[Your blkid here] /      ext4    noatime,errors=remount-ro

I'm using "noatime" for partitions used to record realtime audio, but
for anything else I stay with the default "relatime" for good reasons,
see the mount manpage.

[weremouse at moonstudio ~]$ lsb_release -d; man mount | grep 'relatime' -A2 | tail -11 | head -3
Description:	Ubuntu 16.04.4 LTS
       relatime
              Update inode access times relative to modify or change time.  Access time is only updated if the previous access time was earlier than the current modify  or  change  time.
              (Similar to noatime, but it doesn't break mutt or other applications that need to know if a file has been read since the last time it was modified.)

I recommend to take a look at the Arch Wiki. I'm running Ubuntu 16.04.4
in a systemd-nspawn container, actually the "host" is running Arch,
however, Ubuntu does use systemd, too, so the hints regarding periodic
vs continuous TRIM should apply to Ubuntu, too.

https://wiki.archlinux.org/index.php/Solid_State_Drive

[root at archlinux rocketmouse]# lsb_release -d; systemctl status fstrim.timer
Description:	Arch Linux
● fstrim.timer - Discard unused blocks once a week
   Loaded: loaded (/usr/lib/systemd/system/fstrim.timer; enabled; vendor preset: disabled)
   Active: active (waiting) since Fri 2018-06-15 06:12:19 CEST; 45min ago
  Trigger: Mon 2018-06-18 00:00:00 CEST; 2 days left
     Docs: man:fstrim

Jun 15 06:12:19 archlinux systemd[1]: Started Discard unused blocks once a week.





More information about the xubuntu-users mailing list