So I recently set up my own little server here at home.
I got my main system set up on an SSD and a ZFS pool of larger HDDs for data storage.
Now the question I was asking myself was if for services I want to set up such as mysql, ownCloud, gitolite etc. it would make more sense to keep the data folders on the SSD and do a regular RSYNC to a special backup dataset on the ZFS volume or to keep the datafolders on the ZFS pool in the first place.
In my opinion having them on the SSD and syncing them is probably not such a good idea as that looses me the consistency checking that comes with ZFS and kind of defeats the purpose of having it in the first place.
What is the recommended option in such a situation? Is symlinking everything from /var/lib into the pool folders the right way to go? Should I modify the config scripts? Should I mount /var on the ZFS volume in the first place?
In general which folders should be put on the ZFS volume?