News for hackers. Stuff that matters.
Re:Ask HN: Which Linux filesystem “produce” less wear and te... by tyingq on Friday April 03, 2020 @07:47AM (#22768206)
I think you would get more mileage out of tracking where all the writes are, and making whatever changes are needed to reduce them.

Auditd, can, for example, track every write. Track it over a good sample period of typical use, then make whatever changes are needed. Might be database tuning, moving specific files to tmpfs, changing the way you do backups, reducing writes to syslog, changing fs mount options, etc.

Auditd is a little complex, but it's fairly easy to find write-ups on how to monitor writes and generate use reports.

Re:Ask HN: Which Linux filesystem “produce” less wear and te... by zzzcpan on Friday April 03, 2020 @08:25AM (#22768465)
You can just use the find command for tracking writes, for example:

  find / -type f -printf '%TY-%Tm-%Td %TT %p\n' | sort
(you probably want to add -mount in there too and use find per each mount point separately)
Re:Ask HN: Which Linux filesystem “produce” less wear and te... by tyingq on Friday April 03, 2020 @08:37AM (#22768542)
Auditd would show frequency, the process name and uid that did the write, and when, etc. Last modified time isn't always enough.
Re:Ask HN: Which Linux filesystem “produce” less wear and te... by cmurf on Friday April 03, 2020 @03:37PM (#22773205)