ERROR: modinfo: could not find module rbd FATAL

CENTOS 6.5 安装CEPH RDB 错误
ERROR: modinfo: could not find module rbd
FATAL: Module rbd not found.
rbd: modprobe rbd failed! (256)

rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://elrepo.org/elrepo-release-6-5.el6.elrepo.noarch.rpm
yum --enablerepo=elrepo-kernel install kernel-ml

编辑etc/grub.conf

将default = 1 改为default = 0

解决办法:
Once you have deployed the almighty CEPH storage, you will want to be able to actualy use it (RBD).

Before we begin, some notes:

Current CEPH version: 0.67 (“dumpling”).
OS: Centos 6.4 x86_64 (running some VMs on KVM, basic CentOS qemu packages, nothing custom)

Since CEPH RBD module was first introduced with kernel 2.6.34 (and current RHEL/CentOS kernel is 2.6.32) – that means we need a newer kernel.

So, one of the options for the new kernel is, 3.x from elrepo.org:

rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://elrepo.org/elrepo-release-6-5.el6.elrepo.noarch.rpm
yum --enablerepo=elrepo-kernel install kernel-ml # will install 3.11.latest, stable, mainline
# or
yum --enablerepo=elrepo-kernel install kernel-lt # will install 3.0.latest, long term supported

CentOS KVM and CEPH – client side setup
Posted on October 14, 2013 by andrijars · Leave a comment
Once you have deployed the almighty CEPH storage, you will want to be able to actualy use it (RBD).

Before we begin, some notes:

Current CEPH version: 0.67 (“dumpling”).
OS: Centos 6.4 x86_64 (running some VMs on KVM, basic CentOS qemu packages, nothing custom)

Since CEPH RBD module was first introduced with kernel 2.6.34 (and current RHEL/CentOS kernel is 2.6.32) – that means we need a newer kernel.

So, one of the options for the new kernel is, 3.x from elrepo.org:

rpm –import http://elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://elrepo.org/elrepo-release-6-5.el6.elrepo.noarch.rpm
yum –enablerepo=elrepo-kernel install kernel-ml # will install 3.11.latest, stable, mainline
# or
yum –enablerepo=elrepo-kernel install kernel-lt # will install 3.0.latest, long term supported
If you want that new kernel to boot by default, edit /etc/grub.conf, and change the Default=1 to Default=0, and reboot.

That’s for the Kernel side.

If you want to use qemu with RBD, you will also need newer qemu packages – CEPH does provide some “untested”, “use it at your own risk” packages, that are rhel/centos based verions, just with RBD support added – well, running them on productional cloud, and all seems fine so far for me…

wget http://ceph.com/packages/ceph-extras/rpm/rhel6/x86_64/qemu-kvm-0.12.1.2-2.355.el6.2.cuttlefish.x86_64.rpm
wget http://ceph.com/packages/ceph-extras/rpm/rhel6/x86_64/qemu-img-0.12.1.2-2.355.el6.2.cuttlefish.x86_64.rpm
wget http://ceph.com/packages/ceph-extras/rpm/rhel6/x86_64/qemu-kvm-tools-0.12.1.2-2.355.el6.2.cuttlefish.x86_64.rpm

After done, in order to actually install those CEPH-provided versions of binaries, we need to download and install CEPH, that is the required libraries librados and librbd:

rpm --import 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc'
rpm -Uvh http://ceph.com/rpm-dumpling/el6/noarch/ceph-release-1-0.el6.noarch.rpm
yum install ceph

If all fine (will not talk here about creating the /etc/ceph.conf file and keyring for the client – maybe another post), then we are ready to install CEPH version of qemu packages:

First, we need to remove the original packages from Centos 6, then install the new ones:

rpm -e --nodeps qemu-img
rpm -e --nodeps qemu-kvm
rpm -e --nodeps qemu-kvm-tools
rpm -Uvh qemu-*

And… that’s it. If you run the qemu-img | grep “Supported formats” you will see RBD as being one od those.
You may shutdown and restart all your existing VMs, in order to load the new qemu binaries.

posted on 2014-11-13 16:30 秦瑞It行程实录 阅读(...) 评论(...) 编辑 收藏

转载于:https://www.cnblogs.com/ruiy/p/4095284.html

ERROR: modinfo: could not find module rbd FATAL相关推荐

  1. Error:Unable to make the module: core, related gradle configuration was not found. Please, re-import

    IDEA run kakfa的时候报错这个 Error:Unable to make the module: core, related gradle configuration was not fo ...

  2. The following error occurred while installing.This is a fatal error andinstallation will be aborted.

    The following error occurred while installing.This is a fatal error andinstallation will be aborted. ...

  3. nrm 安装后报错 Error [ERR_REQUIRE_ESM]: require() of ES Module

    安装 nrm 后,进行使用时报错 $ npm i -g nrm /Users/xxx/.nvm/versions/node/v16.20.0/lib/node_modules/nrm/cli.js:9 ...

  4. Error:Unable to make the module: , related gradle configuration was not found.

    多个工程gradle的时候,总是发现当前工程依赖的其他工程不可以用,报错 遇到下面两个错误: 第一: Error:Unable to make the module: Demo_test, relat ...

  5. phar.php error 139,composer.phar 安装出现PHP Fatal error解决办法

    报错: PHP Fatal error:  Uncaught exception 'PharException' with message 'phar "C:\ProgramData\Com ...

  6. ubuntu 安装scrapy error :wisted/test/raiser.c:4:20: fatal error: Python.h: No such file or directory

    wisted/test/raiser.c:4:20: fatal error: Python.h: No such file or directocompilation terminated.erro ...

  7. IAR报错:Error[e27]: Entry “XXXX“ in module 头文件名1 redefined in module 头文件名2

    IAR报错Error[e27]: Entry "变量名" in module 头文件名1 redefined in module 头文件名2 解决方法: 1.将变量移动值至.c文件 ...

  8. ubuntu(21):fatal error: filesystem: No such file or directory,fatal error: filesystem: 没有那个文件或目录

    1 报错: fatal error: filesystem: 没有那个文件或目录 /home/meng/subject/LT_mapper_ws/src/lt-mapper/ltslam/includ ...

  9. CVTRES : fatal error CVT1100: 资源重复。类型: BITMAP LINK : fatal error LNK1123: 转换到 COFF 期间失败: 文件无效或损坏...

    原因很简单.如果项目不需要用到rc文件,则排除所有rc文件到项目外. 要么试试:项目\属性\配置属性\清单工具\输入和输出\嵌入清单:原来是"是",改成"否". ...

最新文章

  1. 四、创建第一个springboot项目
  2. 火爆抖音!各路神仙齐唱《蚂蚁呀嘿》,带你探索背后的原理!
  3. VMware ESXi客户端连接控制台时提示“VMRC控制台连接已断开...正在尝试重新连接“的解决方法
  4. linux系统虚拟化测试,网络性能与磁盘测试 - Linux虚拟化性能PK:Ubuntu系统6大版本_Linux新闻_Linux公社-Linux系统门户网站...
  5. idea中提交mapper.xml到svn后代码变灰色
  6. 【网络设计_RegNet】Designing Network Design Spaces_2020
  7. 电脑小白来一起学习计算机基础知识!
  8. IOS学习:常用第三方库(GDataXMLNode:xml解析库)
  9. 阿里宜搭发布专有云版本,基于云原生的应用构建PaaS平台
  10. 【OJ】洛谷试炼场の新手村整合(Java语言描述)
  11. ACM MM2021 HANet:从局部到整体的检索!阿里提出用于视频文本检索的分层对齐网络HANet!代码已开源!...
  12. 转:Discuz!NT负载均衡解决方案(HA)之---LVS(Linux Virtual Server)
  13. 下拉样式_Axure 组件重写之神奇的文本框和下拉框
  14. Linux之ab命令
  15. 数据库设计——概念模型
  16. 前端静态资源缓存最优解以及max-age的陷阱
  17. 链栈的表示和实现(C++)
  18. 王道操作系统课代表 - 考研计算机 第一章 计算机概述 究极精华总结笔记
  19. 廖雪峰python教程之python基础
  20. python笔记更新(正则表达式)

热门文章

  1. centos安装后连不上网
  2. NS 2.35 柯志亨书-实验9笔记-队列管理机制
  3. 树磁盘[HBase] LSM树 VS B+树
  4. 关于笔记本使用的几点注意事项
  5. flume复制和多路重用的使用案例
  6. C++折半查找的实现
  7. Window平台下通过cmd命令查看端口占用、查看进程、结束进程
  8. 台式安装nas系统_个人云盘搭建延伸二:我也可以搭建NAS!黑群辉系统安装配置及测试...
  9. 完成一个Vue3项目的过程
  10. HTML5div css入门案例,div+css教学教案(学习入门到精通~)详细讲解.doc