A problem about RBD moudule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I installed ceph 0.56 on Red Hat Enterprise Linux Server release 6.0 (Santiago). It works well.
but, when I follow the " block device quick start", I get a problem.

[root@crt24 ceph]# rbd create foo --size  4096
[root@crt24 ceph]# rados ls -p rbd
foo.rbd
rbd_directory
[root@crt24 ceph]# modeprobe rbd

--------------------------------------------------------------------------------------------------
Then.  An error occurred!
--------------------------------------------------------------------------------------------------
[root@crt24 ceph]# rbd map foo --pool rbd --name client.admin
rbd: /sys/bus/rbd/add does not exist!
Did you run 'modprobe rbd' or is your rbd module too old?
rbd: add failed: (2) No such file or directory

--------------------------------------------------------------------------------------------------
So I check lsmod first. but no" rbd moudule" found.
--------------------------------------------------------------------------------------------------
[root@crt24 fs]# lsmod |grep rbd
[root@crt24 fs]#

--------------------------------------------------------------------------------------------------
Then, I try to find rbd.ko. but no rbd.ko too.
--------------------------------------------------------------------------------------------------
[root@crt24 ceph]# cd  /lib/modules/2.6.34.14/kernel/drivers/block
[root@crt24 fs]# ls
aoe     cciss.ko     cryptoloop.ko  drbd       nbd.ko      sx8.ko  umem.ko
brd.ko  cpqarray.ko  DAC960.ko      floppy.ko  pktcdvd.ko  ub.ko

So my idea is that recompile the kernel. And  compile the  RBD module  into the kernel.
While, unfortunately,I can't find the RBD module when I “make  menuconfig”. 
Now, I want to know that Is there another solution to add  the RBD module,
or what I exactly went wrong! thanks a lot!






_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux