ceph cluster with rbd

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

 



Hi

I trying to create rbd image with ceph cluster.
I am able to start ceph cluster and mount to a client .
But not able to create rbd image.

I am using Linux ubuntu 3.0.0-11-server  kernel
qemu version : qemu-kvm-0.14.0
ceph version 0.34 (commit:2f039eeeb745622b866d80feda7afa055e15f6d6)

As this a test environment i am trying it on a single machine.

Here is my ceph.conf

[global]
        pid file = /var/run/ceph/$name.pid
        debug ms = 1
[mon]
        mon data = /data/mon$id
[mon.0]
        host = ceph1
        mon addr = 192.168.123.148:6789
[mds]

[mds.0]
        host = ceph1
[osd]
        sudo = true
        osd data = /data/osd$id
        osd journal = /data/osd$id/journal
        osd journal size = 512
        osd use stale snap = true
[osd.0]
        host = ceph1
        btrfs devs = /dev/sdb
[osd.1]
        host = ceph1
        btrfs devs = /dev/sdc

Using
mkcephfs -c /etc/ceph/ceph.conf -a --mkbtrfs -k /etc/ceph/keyring.bin
able to create ceph file system and mount to client
but not able to create a rbd image on it.

Followed the url
http://ceph.newdream.net/wiki/Rbd
and was not able to check out.
but when i did

depmod -a
modprobe rbd
i am able to see /sys/bus/rbd directory.

ceph class list
did not show me rbd
Instead it said me
mon0 -> 'class distribution is no longer handled by the monitor' (-22)

Not able to check out qemu-rbd
$ git clone git://git.qemu.org/qemu.git
$ cd qemu
$ ./configure --enable-rbd
$ make; make install

>From linux-kvm url
(http://www.linux-kvm.com/content/cephrbd-block-driver-patches-qemu-kvm)
$ git clone git://ceph.newdream.net/git/qemu-kvm.git
$ cd qemu-kvm
$ git checkout -b rbd origin/rbd
$ ./configure --enable-rbd
$ make; make install

I was able to check out using above url but configure gave me following error

     ./configure --enable-rbd
     ERROR
     ERROR: User requested feature rados block device
     ERROR: configure was not able to find it
     ERROR

Please guide me in the right direction.









--
Thanks and Regards,
Upendra.M
--
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