I am planning to build a small server for personal use, utilising a relatively large RAID-5/-6 (or RAID-Z/-Z2) array as main storage.
The vast majority of workloads I envision for this would have very predictable disk access patterns (e.g. movie streaming), and a priori I don't think there would be a need for the RAID array to be powered up most of the time. In principle it would be possible to e.g. cache an entire video file on a SSD upon start of playback and then spin down the disks. Most other workloads I imagine would have similar patterns (e.g. filesharing client would only ever seed a small number of files at a time, remote backup solution could easily cache to SSD first, then write back to disk in one go). Needless to say, minimising disk uptime for five or six hard disk might make a noticeable difference to power usage.
My question is thus: Is there any software solution (OS, file system, etc.) that would allow me to use a SSD as a cache for a RAID array in a way that minimises disk uptime, rather than maximising performance?
I know zfs for instance allows one to specify separate read and write caches, but as far as I know this is only used to improve performance of the filesystem. The same goes for all other SSD caching / tiered storage solutions I have found so far.
Not sure if this questions is most appopriate here or in serverfault - Since it is for personal use I've posted here, but let me know if I should consult serverfault instead.