(no title)
rwha | 6 years ago
I would focus on mount options that limit writing (e.g., relatime/noatime) or putting ~/.cache on tmpfs.
In my experience ~/.cache gets the most frequent writing during normal desktop usage. A lot of applications ignore XDG standards and create their own snowflake folder directly in $HOME. You might want to watch for and replace those making a lot of writes with a symlink to where they belong. (This quickly became a frustrating battle that I lost).
aruggirello|6 years ago
Talking about desktop Linux, I (and my family) and workplace colleagues all run Kubuntu systems on SSD's continuously since 2012 - that's 8 years of continuous disk wear and counting. We're talking about 3 laptops and 5 desktops, several of them mdadm RAID0 (on 2-3 disks), all Ext4, and NO swap partitions (warning, this may lead to occasional crashes due to OOM situations, though that's going to improve soon hopefully). Three of these systems are heavy usage workstations, 5 of them have one or more VMs running, all of these systems are backed up to external USB2/3 disks via Timeshift [0] since 2012 (VM disk images are backed up separately). A few critical directories are shared via cloud, which thus also acts as a backup tool. All disks are periodically health checked via smartmontools. This in my experience maximizes performance (thanks to Ext4 and RAID0), while keeping stuff safe (thanks to backups). IMHO desktop systems don't need the kind of online redundancy provided by other RAID levels, and restoring a full system (including grub, on an mdadm system) from a Timeshift snapshot, which I did multiple times already, has always been a breeze.
Among the ~10 SSD corruption events I witnessed in this decade, I could track ~half down to a failing PSU or a bad SATA cable, though I had a couple disks abruptly die too (one NVME M.2 drive probably had thermal issues). Still, IMHO none was caused by wear.
relevant smartctl output for one of my desktop SSDs:
So, ~24 Tb written so far...[0] https://teejeetech.in/
Piskvorrr|6 years ago
znpy|6 years ago
At the time I didn't have much money so I just kept the drive and decide to possibly face the issue.
I still use it, of course (it's my personal laptop).
Some days ago I switched to root and noticed a dead.letter file in root's home directory.
I examined the file and it was an email dropped into the home directory by smartd, alerting me that my hard drive was near failure.
The funny thing is, that email was from February 2018. More than two years since that email, that drive is still working.
interfixus|6 years ago
I can't really sing enough praises for this ancient ThinkPad, now also with a new very cheap, ridiculously superb display and stuffed full of RAM. I have a newer, sleeker, faster Lenovo Something sitting around, but somehow the 440 is what I always end up using.
Piskvorrr|6 years ago