- Joined
- May 17, 2014
- Messages
- 3,611
Yes, you can do this. It's all manual, meaning you would choose where to write the data, (NVMe SSDs in dedicated pool). And then you can have a cronjob or background task notice the new file and move it over to the bulk storage pool....
- Instead of writing directly to the main pool consisting HDDs, I can write to a pool consisting only NVMe SSDs and then move the data to the main pool in the background. I just dont know how easy this would be operationally.
...
This particular behavior has been talked about for years, (more than a decade?). People want a fancy fusion of high speed writes on smaller SSDs, which then get auto-migrated to bulk storage. (To make room for more high speed writes.) And they want the data security & redundancy of ZFS while doing that.
TrueNAS and ZFS simply don't support this behavior now. And I know of no plan in place to add it to either TrueNAS or OpenZFS.
Sun Microsystems & StorageTek both had something that did this automatically. I knew it by the name ASM-FS at StorageTek, but Sun called it SAM-QFS;
QFS - Wikipedia
SAM-FS / QFS / ASM-FS used multiple tiers, like high speed disk, (Fibre Channel back then), low speed bulk disk, (SATA), and tape. The file system looked normal and could be exported via NFS. Any writes would end up on the high speed disks. As the high speed disks filled up, the least recently used would be migrated to low speed bulk disk. Then even to tape.
Various options existed, like number of copies, (2 copies on 2 different tapes to be considered completely written). Or only 2 tiers, disk & tape.
With today's technology, like PCIe 4.x NVMe SSDs & huge bulk storage disks, (like 20TB SATA), something like that would be useful addition to layer on top of ZFS. But, as I said, no one has any plans to do so as far as I know.
Last edited: