how to install flashcache 3.1.1 on ubuntu12.04 desktop

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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值