CentOS6.5添加rbd模块
2016-05-17 10:02
537 查看
[root@ceph-monitor opt]# modprobe rbd
FATAL: Module rbd not found.
Once you have deployed the almighty CEPH storage, you will want to be able to actualy use it (RBD).
Since CEPH RBD module was first introduced with kernel 2.6.34 (and CentOS6.5 kernel is 2.6.32) – that means we need a newer kernel.
※0 当前内核版本
[root@ceph-monitor opt]# uname -r
2.6.32-431.el6.x86_64
※1 安装kernel-ml
[root@ceph-monitor opt]# rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org [root@ceph-monitor opt]# rpm -Uvh http://elrepo.org/elrepo-release-6-5.el6.elrepo.noarch.rpm [root@ceph-monitor opt]# yum --enablerepo=elrepo-kernel install kernel-ml
.................................................
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
kernel-ml x86_64 4.6.0-1.el6.elrepo elrepo-kernel 39 M
Transaction Summary
================================================================================
.................................................
[root@ceph-monitor opt]# yum --enablerepo=elrepo-kernel install kernel-lt
※2 修改/etc/grup.conf
If you want that new kernel to boot by default, edit /etc/grub.conf, and change the default=1 to default=0, and reboot
※3 加载并验证
[root@ceph-monitor opt]# modprobe rbd
[root@ceph-monitor opt]# lsmod | grep rbd
rbd 61440 0
libceph 176128 1 rbd
FATAL: Module rbd not found.
Once you have deployed the almighty CEPH storage, you will want to be able to actualy use it (RBD).
Since CEPH RBD module was first introduced with kernel 2.6.34 (and CentOS6.5 kernel is 2.6.32) – that means we need a newer kernel.
※0 当前内核版本
[root@ceph-monitor opt]# uname -r
2.6.32-431.el6.x86_64
※1 安装kernel-ml
[root@ceph-monitor opt]# rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org [root@ceph-monitor opt]# rpm -Uvh http://elrepo.org/elrepo-release-6-5.el6.elrepo.noarch.rpm [root@ceph-monitor opt]# yum --enablerepo=elrepo-kernel install kernel-ml
.................................................
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
kernel-ml x86_64 4.6.0-1.el6.elrepo elrepo-kernel 39 M
Transaction Summary
================================================================================
.................................................
[root@ceph-monitor opt]# yum --enablerepo=elrepo-kernel install kernel-lt
※2 修改/etc/grup.conf
If you want that new kernel to boot by default, edit /etc/grub.conf, and change the default=1 to default=0, and reboot
※3 加载并验证
[root@ceph-monitor opt]# modprobe rbd
[root@ceph-monitor opt]# lsmod | grep rbd
rbd 61440 0
libceph 176128 1 rbd
相关文章推荐
- Centos配置国内yum源
- netlink快速使用例程(linux-3.10.36)
- Linux下软件包的多种安装方式
- linux压缩命令
- 请求调页和写时复制
- linux服务器部署代码以及解压缩文件
- Linux 下如何安装软件?
- Linux编程之《守护进程》
- linux基础目录结构
- arm-linux交叉编译ACE
- Linux系统使用ps命令查看进程所占cpu和内存比例
- 适合kali Linux 2.0 的源码(中科大,阿里云、163、上海交通大学源码)
- PYTHON的程序在LINUX后台运行
- Redhat6.4替换Centos6 yum及163的源
- 在linux服务器上装svn版本管理,自动部署代码到项目
- 解决linux下javac -version和java -version版本显示不一致
- C#在Linux上的开发指南
- perf
- linux内核 address_space 结构
- Linux内核模块分析(module_init宏)