Hi, it would be much easier to grab a prepackaged mainline kernel from elrepo, which includes the Ceph-related modules. The distro packaged kernel in RHEL / Cent / Sci doesn't provide any of these.
http://elrepo.org/linux/kernel/el6/x86_64/RPMS/ On Wed, Mar 6, 2013 at 3:05 AM, Jiang Long <longjiang2...@gmail.com> wrote: > 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@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > -- ______________________________ Dino Yancey 2GNT.com Admin _______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com