On Thu, Jan 12, 2023 at 9:45 PM John Conover <cono...@panix.com> wrote: > > I'm installing an SSD replacement for an HD in a small 24/7 mail > server. > > I would appreciate suggestions for the most reliable way to do > fstrim(8). Reliability is more important than speed, and the machine > will require a swap partition.
I don't use fstrim, so I can't offer any insight. But for reliability of your mail server: - RAID 1 - mirroring - for reliability. - Lots of RAM to avoid using the swap file. - Use a small HDD for your swap file. That will reduce wear on your SSD. Set swappiness to a low value, like 2 or 3, to keep stuff in RAM and out of swap. Jeff