flashcache安装使用:
github下载源码:
https://github.com/facebook/flashcache
#yum install dkms gcc make yum-utils kernel-devel
#unzip flashcache-master.zip
#cd flashcache-master/
#make && make install && make clean
#modprobe flashcache
#lsmod | grep flashcache
flashcache             97599  0 
dm_mod                 99168  4 flashcache,dm_multipath,dm_mirror,dm_log
#fdisk  -l    --dev/oczpcie_7_0_ssd为SSD,/dev/sdb为SAS 300g机械盘
Disk /dev/oczpcie_7_0_ssd: 480.1 GB, 480136395264 bytes
92 heads, 61 sectors/track, 167100 cylinders
Units = cylinders of 5612 * 512 = 2873344 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0006dbf6
Device Boot      Start         End      Blocks   Id  System
/dev/oczpcie_7_0_ssd1               1      167101   468882174+  83  Linux
Disk /dev/oczpcie_7_0_ssd1: 480.1 GB, 480135346688 bytes
128 heads, 128 sectors/track, 57236 cylinders
Units = cylinders of 16384 * 512 = 8388608 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/sda: 146.8 GB, 146778685440 bytes
255 heads, 63 sectors/track, 17844 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a0edb
Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        4178    33554432   83  Linux
/dev/sda2            4178        5222     8388608   82  Linux swap / Solaris
/dev/sda3            5222       17845   101394496   83  Linux
Partition 3 does not end on cylinder boundary.
Disk /dev/sdb: 300.0 GB, 299966445568 bytes
255 heads, 63 sectors/track, 36468 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000e0cbd
Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       36468   292929178+  83  Linux
#flashcache_create cachedev -p back -b 4k /dev/oczpcie_7_0_ssd /dev/sdb1 --创建cachedev
cachedev cachedev, ssd_devname /dev/oczpcie_7_0_ssd, disk_devname /dev/sdb1 cache mode WRITE_BACK
block_size 8, md_block_size 8, cache_size 0
Flashcache metadata will use 2459MB of your 64414MB main memory
#mount /dev/mapper/cachedev /data01  --挂载使用
参考:http://blog.sina.com.cn/s/blog_5037eacb0102v140.html

flashcache安装使用相关推荐

  1. ubuntu中flashcache使用教程

    原文:ubuntu中flashcache使用教程 当前存在多种性能价格不一的存储设备,以价格高性能好的存储设备来加速价格低性能较差的存储设备,是一种提升系统整体性能的方案.flashcache便可以做 ...

  2. linux ssd硬盘做缓存,linux系统中ssd当块设备缓存

    原理 写操作先缓存到ssd硬盘上,然后通过一定策略写到普通硬盘上: 读操作热点数据可以缓存到ssd硬盘上,提高读取数据的速度. 软件 ssd 缓存开源软件主要有bcache ,flashcache b ...

  3. linux 系统迁移到固态硬盘,在Linux系统中将SSD当块设备缓存的方法

    原理 写操作先缓存到ssd硬盘上,然后通过一定策略写到普通硬盘上: 读操作热点数据可以缓存到ssd硬盘上,提高读取数据的速度. 软件 ssd 缓存开源软件主要有bcache ,flashcache b ...

  4. 统计数字问题_统计问题

    统计数字问题 Statistics can be one of the most divisive and harmful misinformation tools, and I have seen ...

  5. ubuntu12.04上安装flashcahce

    os:ubuntu12.04 LTS kernel:3.5.0.26-generic 1.下载flashcache https://github.com/facebook/flashcache/ 2. ...

  6. FlashCache初体验

    FlashCache初体验 注意: 测试用的是CentOS6.5 内核版本2.6.32-431.el6.x86_64 步骤: 上传CentOS6.5做本地yum源,安装以下包. yum install ...

  7. Flashcache

    源码安装: unzip flashcache-master.zip cd flashcache-master make make install rpm来源:http://rpm.pbone.net/ ...

  8. HBase安装及使用

    第一部分:搭建 一.伪分布式: 1.依赖java环境,所以jdk必须先安装 2.conf先的hbase-env.sh 下的java_home的路径需要修改 3.修改hbase-site.xml < ...

  9. 【存储缓存-flashcache原理及实践

    作者:[吴业亮] 博客:http://blog.csdn.net/wylfengyujiancheng flashcache,是facebook技术团队开发的新开源项目,主要目的是用SSD硬盘来缓存数 ...

最新文章

  1. 启动MySQL出错: Starting MySQL….. ERROR! The server quit with
  2. jsp中简易版本的图片上传程序
  3. Ubuntu-Python安装 scipy,numpy,matplotlib
  4. Neo4j:收集多个值
  5. MySQL(6)视图
  6. .Net 中的反射(反射特性) - Part.3 - (转载)
  7. JellyViewPager
  8. 华硕电脑键盘灯不亮怎么办
  9. 《认知盈余》核心摘要——“人们实际上很喜欢创造并分享”: 参与是一种行为
  10. 3个动作精准引流方法,放大操作,每天吸粉200+
  11. Windows 8/8.1/10 删除微软拼音、微软五笔输入法的方法
  12. 服务器413是什么状态,服务器异常代码413问题
  13. 水果店圈子:水果店开业前需要做的准备,水果店开业当天要注意哪些问题
  14. 阿里云ECS服务器被DDoS无解攻击,我改怎么办
  15. (八)二叉树—线索二叉树
  16. Unity 3D游戏开发 - U3D入门 | 3D 模型重用之预制体
  17. 电力系统变压器差动保护实际应用分析
  18. 应届年薪80万!这些程序员活得实在太太太爽了!
  19. 如何成为一名数据分析师:数据的初步认知
  20. java例题:判断所输入的年月日是这一年的第多少天

热门文章

  1. 大一计算机策划案怎么做,计算机类大一社会实践活动策划书
  2. Vue + ElementUI 仿视频网站&抖音创作者平台
  3. 01前端入门HTML5 +Css3+电商网页制作:HTML5
  4. C# 上位机倒数计时器
  5. 【纪中集训2019.3.30】星辰大海
  6. 河北省2018计算机一级考试试题,2018年3月计算机一级考试MSOffice模拟试题1
  7. 浚县天气预报软件测试,浚县天气预报15天
  8. spool导出格式的问题
  9. 2017京东校招笔试题
  10. 计算机上的蜘蛛纸牌游戏打不开,win10系统系统笔记本打不开蜘蛛纸牌游戏的具体方法...