Can Rockstore use SSD as cache? And if so is there a good YT video on how to set up?
I have searched here and YT and have not found anything on Rockstore. Many other’s Synology and TrueNAS, Asustore, Qnas, etc.
I’ve used both TruNAS and openmediavault but have not set cacheing up on either.
Just sort of experimenting with Rockstore at the moment, I have a 9TB pool with multible disks and a spare 256GB SSD that is installed just idle at the moment.
@Dude, natively, Rockstor does not support a disk based RAID cache.
You will likely have to figure out a workaround to present a btrfs pool to the Rockstor WebUI using something like bcache. There are some scenarios described here (though it’s archlinux so you would have to adapt it to what openSUSE would require in terms of packages, etc.):
So, in any case, it will not be as straightforward as just “attaching” a cache to the RAID and then having btrfs take advantage of it, like it could be with other filesystems.
I assume you’re thinking about this more from a “what if” or do you see a particular need for your performance/management of the NAS?
If e.g. you were worried about transcoding with apps like Plex or Emby, then you can force the transcoding onto a standalone SSD, instead of a mechanical hard disk. Or when using the Rockon containers in general, you could put the Rockon root on the SSD as a standalone pool. Not sure how much improvement it would bring, though. But that might not be your main use case, especially since I think you’ve asked about a cache implementation for your RAID itself.
@Hooverdan & @Dude We do have a now old, from our CentOS days, developer reference for our bcache compatibility requirements regarding udev modifications written up in the following Wiki entry:
But ignore the “Building bcache“ section in the above as it should be available via an openSUSE package.
Back-then we did add the capability to recognise, and present within the Web-UI, bcache configured devices as indicated in the Wiki notes above. But we have no Web-UI capability to do the actual config - at least not yet. So that would all be a CLI thing. And potentially non-trivial if one is unfamiliar with such things.
What @Hooverdan stated re considering a pure ssd pool for application specific use, or part use, is way simpler than setting up an ssd bcache for other devices. Plus we have heard from very few folks actually trying bcache on Rockstor. So it is considered untested/unknown currently. But we should still recognise such devices once they are CLI configured.