I have been considering bcache and flashcache.
However my friend suggested me something called ZFS. In fact it says that formating disk with ZFS can actually do the exact same thing without kernel remake or whatever.
Here are some resources I found on the web
http://constantin.glez.de/blog/2011/02/frequently-asked-questions-about-flash-memory-ssds-and-zfs
It seems that it's true though there is no tutorial on how it is actually done
...e you can come up with other great uses, but that almost always involves some sort of intelligent distinction between data that is accelerated with flash and data that is stored on regular disks. The beauty of ZFS is that it does this job automatically for you.
The beauty is exactly what I want.
Okay I am convinced. I got a /sdc as a huge hard disk and I got /sdd as an ssd.
Now how do I set things up so that the /sdd becomes the zil and l2arc and the /sdd becomes real storage?
Can't we arrange that the zil and l2arc are in the same drive?
I am using centosh. Don't know what version.
I think I have a 120GB SSD.
I would like
40GB for L2ARC 40GB for ZIL 40GB for ZIL mirror.
That seems to be reasonable. Datas are cached anyway. If someone write something and before data is written to disk will L2ARC takes it from ZIL?