The following steps show how to install flashcache3.1.1 on ubuntu12.04 desktop
1. Get the source code from https://github.com/facebook/flashcache
2. Extract the source code from the file (flashcache.zip)
3. cd ./flashcache
4. sudo make
5. sudo make install
6. modprobe flashcache; to install the flashcache module
7. dmesg | tail to check if the module is initialized correctly
8. create the wanted cache by the following command:
flashcache_create -p back testcache /dev/sdb /dev/sdc1
Here, the sdb is the ssd device, and sdc1 is the hdd we want to accelerate, and sdc1 can not be mounted before this command or the command will fail.
9. If the step 8 is successfully done, then we can find a file in /dev/mapper named testcache. So if we want to use sdc1 then we just need to mount
/dev/mapper/testcache, for example. mount /dev/mapper/testcache /mnt; then we can use sdc1 with more faster speed.
本文介绍如何在Ubuntu 12.04桌面版上安装FlashCache 3.1.1,包括从GitHub获取源代码、编译安装模块、加载模块并创建缓存等步骤。

被折叠的 条评论
为什么被折叠?



