What are some best practices for configuring a FreeBSD host to maximize media lifetimes when using inexpensive flash devices for the base system & pkgs?
Backstory: for about 4 years, I've run 2 Raspberry Pis and 1 amd64 machine using (at different times on different machines) UFS-formatted USB flash drives or SD cards for the base system & pkgs. The hosts don't do very much, and might be presumed not to do too much I/O to these media: the Pis are ssh "jump hosts" on a couple networks, the amd64 machine has a ZFS pool that it serves via NFS. all of them run postfix as "satelites" that forward to a smarthost. These hosts are online continously. My experience has been that all these flash devices typically wear out (as determined by onset of I/O errors) after about 6 months. The devices I've used are of different types, from different vendors, and bought at different times; so it's not just one bad manufacturing lot. So my hunch is that I'm allowing FreeBSD to do too many writes to these media, and I'm curious whether/how I might better configure these systems for improved media life.
Backstory: for about 4 years, I've run 2 Raspberry Pis and 1 amd64 machine using (at different times on different machines) UFS-formatted USB flash drives or SD cards for the base system & pkgs. The hosts don't do very much, and might be presumed not to do too much I/O to these media: the Pis are ssh "jump hosts" on a couple networks, the amd64 machine has a ZFS pool that it serves via NFS. all of them run postfix as "satelites" that forward to a smarthost. These hosts are online continously. My experience has been that all these flash devices typically wear out (as determined by onset of I/O errors) after about 6 months. The devices I've used are of different types, from different vendors, and bought at different times; so it's not just one bad manufacturing lot. So my hunch is that I'm allowing FreeBSD to do too many writes to these media, and I'm curious whether/how I might better configure these systems for improved media life.