Dne 25.8.2013 23:46, Rolf Fokkens napsal(a):
Hi!
I'm trying to package some tools for "SSD caching" for Fedora 20, see:
https://bugzilla.redhat.com/show_bug.cgi?id=998543
bcache has some nice bcache-tools, and packaging progresses well:
https://bugzilla.redhat.com/show_bug.cgi?id=999690
Packaging dm-cache however seems seems hard. I'm not aware of any userland
tools, and using dm-cache (without them) seems quite complex. Looks like all
kinds of math are needed to make it work, e.g. :
http://blog.kylemanna.com/linux/2013/06/30/ssd-caching-using-dmcache-tutorial/.
- Is there a (well supported) toolset available that I'm missing?
- Is there any kind of autodetect possible, e.g. during boot?
Any information on the status of dm-cache is appreciated.
For direct usage of dm-cache target:
linux/Documentation/device-mapper/cache.txt
linux/Documentation/device-mapper/cache-policies.txt
Userland tool here is dmsetup.
There will be a direct support for dm cache device stacking in lvm2 in the
future. It will use nearly the same code as is used for thin provisioning,
so the code for now thinp is improved to handle recovery more autonomously
first before the caching support will be added.
Zdenek
--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel