Re: /sys/class/rbd does not exist after loading ceph module

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

 



Hi Xiaoguang,

You will have to download the source from git like explained on:
http://ceph.newdream.net/wiki/Rbd

But the module will not compile against 2.6.34, only against 2.6.35

There is a rbd-backport branch in "ceph-client-standalone.git", but i'm
not sure how up to date that one is.

If you want to test RBD, i would recommend upgrading to 2.6.35.

Wido

On Fri, 2010-07-30 at 21:17 +0800, Xiaoguang Liu wrote:
> I though all ceph client, including RBD, was already included in
> kernel 2.6.34. so I just download it from kernel.org and compile it,
> like make menuconfig, make, make modues_install etc.
> 
> Do you mean that I still need patch kernel 2.6.34 and build the new ceph.ko?
> 
> 
> > I would like to try the RBD feature of Ceph. I am following
> > http://ceph.newdream.net/wiki/Rbd,聽; but failed at :
> 
> * did you really compile the ceph.ko module from source?
> * did you verify that you actually loaded the right ceph.ko module and
> not stock ceph.ko?
> 
> general note: do use the new 0.21. you won't get happy with 0.20.2.
> 
> - Thomas
> 
> 
> On Fri, Jul 30, 2010 at 4:41 PM, Xiaoguang Liu <syslxg@xxxxxxxxx> wrote:
> >  I would like to try the RBD feature of Ceph. I am following
> > http://ceph.newdream.net/wiki/Rbd,  but failed at :
> >
> >  echo "xxx name=admin rbd foo" > /sys/class/rbd/add
> >
> >
> >  It was because folder /sys/class/rbd does not exist. But ceph kernel
> > module is loaded and I can mount -t ceph xxxx:/ /mnt/ceph.
> >
> >  I am using kernel 2.6.34.1 on fedora 13.
> >
> >  the following symbols are set in .config while compiling the kernel.
> >
> >  CONFIG_CEPH_FS=m
> >  CONFIG_CEPH_FS_PRETTYDEBUG=y
> >
> >  Ceph 0.20.2 is installed by yum.
> >
> >  Did I miss anything?
> >
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux