On Sun, Jun 19, 2016 at 11:56:57AM +0200, Sjöholm Per-Olov wrote: > Hi > > Does anyone know if there exist any list of recommendations about how to make > an SSD disk to live as long as possible when using it for firewall purpose on > OpenBSD? It seems that OpenBSD lack some features related to SSDs like TRIM. > SSDs are getting more popular, but I cannot find much info in the OpenBSD FAQ > or on misc. Also, it is not that easy to get a good understanding of how long > an average good SSD will really live with average disk writes from the specs. > And there a more than one way to give specs about this where DWPD is one and > MTBF is another. > > Therefor I at least want to do the easy steps to make it long lived... > > Softdep is probably a good thing. What else? And I think of rewriting the > logging handling with dates in /var/log to avoid a move of all logs every day. > Or is that waste of time? Any special handling/settings for swap and /tmp? > > > > Input very much appreciated > > > > Tnx in advance > > /Peo > Current FW system: OpenBSD 5.9 stable, Mainboard: NF9HG-2930, Nics: i211AT, > CPU: N2930, Disk: Intel 525 30GB mSATA
I would just not worry about it. Don't waste time optimizing your setup to treat these disks like special snowflakes. I've been using SSDs in several OpenBSD machines for years without problems. Some of my hard disks died much sonner. Plan ahead for the day when your disk fails. Nobody can tell how long your particular disk will last.