Here’s an interesting blog/tutorial. “Mike” takes you through several steps you can take to optimise and firm-up your solid-state file system, in our case the SD card of the Raspberry Pi. It should guard against SD card corruption as much as possible, but it may also affect performance as it uses the RAM of your Raspberry Pi more. Read the blog post here.