2010/12/6 Kevin Wolf <[email protected]>:
Hi Kevin,
> This lacks a Signed-off-by. Please merge Yehuda's fix for configure when
> you resend the patch.
I've sent an updated patch.
> What's the easiest way to try it out? I tried to use vstart.sh and copy
> the generated ceph.conf to /etc/ceph/ceph.conf so that qemu-img etc.
> find the monitor address. However, that leads to a hang when I try "rbd
> list" or "./qemu-img create -f rbd rbd:data/test.img 4G", so I seem to
> be missing something.
The most simple ceph.conf I can think about, is the following:
[global]
auth supported = none
[mon]
mon data = /ceph/mon$id
[mon0]
host = {hostname}
mon addr = 127.0.0.1:6789
[osd]
osd data = /ceph/osd\$id
[osd0]
host = {hostname}
btrfs devs = {devicename}
Replace {hostname} with your `hostname -s` and {devicename} with the
name of an empty volume. Create a directory for the monitor and a
mountpoint for the osd volume:
# mkdir -p /ceph/mon0
# mkdir -p /ceph/osd0
After you have created the ceph.conf file, you can create your
ceph-filesystem with the following command (attention - this will
format the configured volume):
# mkcephfs -c /etc/ceph/ceph.conf --mkbtrfs -a
Now you should be able to start ceph (assuming you are using the redhat rpm):
# service ceph start
Check if ceph is running with `ceph -w` or `rados df`. `qemu-img
create -f rbd rbd:data/test.img 4G` should work now, too.
Regards
Christian
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html