Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can anyone speak to SSD in OpenBSD? My understanding is that trim support is not supported in OpenBSD (http://daemonforums.org/showthread.php?p=51377). That makes me a little worried about the potential to wear out an SSD drive in a workstation. The thread I linked discusses reducing some writes by using softdeps and the like, is that enough to make this a non-issue?


In general I wouldn't trust random forums for information about OpenBSD. People tend to repeat stuff long after its true. Send a message to misc@ or tech@openbsd.org and you'll hear directly from the devs.

Just make sure your partitions are 4k aligned to minimized write amplification. Many openbsd devs use SSDs. I've used one with openbsd for years without problems. Honestly it's a requirement given the shortcomings of ffs.


I've been away from OpenBSD for a while, and was just googling to try to get a starting basis. Thank you for pointing me to the 4k alignment issue. This thread (http://openbsd.7691.n7.nabble.com/SSD-disk-alignment-td75046...) seems to suggest that OpenBSD will try to align to 4k boundaries by default. Is that correct?


Some info regarding TRIM, http://www.tedunangst.com/flak/post/lessons-learned-about-TR...

For the moment, just make sure you leave a slice of the SSD unused. You could also on occasion backup the OpenBSD install, replace it with an empty ext4fs and fstrim it via a livecd, then restore the OpenBSD install.


Here's a link to the FAQ section regarding flash memory:

http://www.openbsd.org/faq/faq14.html#flashmem

There's no mention of the 4K alignment issue, however.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: