KVM / Qemu Images doesn't work with ceph-fs

2011-05-05 Thread Christoph Raible
Hi @all, in an other mail (http://marc.info/?t=13044234666r=1w=2) I explained my Config. And after two changes in the config file the ceph-fs works fine :) Now I want to use image-files (qcow2, raw or img filetype) with KVM. This doesn't work. When I do a fresh isntallation / creation

Re: How to deal with a single host with several harddisks

2011-05-05 Thread huang jun
Hi,all I also have similar confusions. I do test the performace of ceph's multi-cosd on the same machine. run 2 osds and 4 osds on the same machine respectively,but the reult confused me a lot. there is no much difference between the two tests,and in 4 osds condition, i use iostat -d 1 100 ,all

Re: rbd and Metaserver

2011-05-05 Thread Yehuda Sadeh Weinraub
On Thu, May 5, 2011 at 10:16 AM, Fyodor Ustinov u...@ufm.su wrote: Hi! If I only want to use rbd - requires metaserver? rbd does not require mds running. Yehuda -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to majord...@vger.kernel.org More

Re: rbd and Metaserver

2011-05-05 Thread Gregory Farnum
Nope, the MDS is only required for the POSIX-compliant Ceph layer. -Greg On Thursday, May 5, 2011 at 10:16 AM, Fyodor Ustinov wrote: Hi! If I only want to use rbd - requires metaserver? WBR, Fyodor. -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body

Re: KVM / Qemu Images doesn't work with ceph-fs

2011-05-05 Thread Tommi Virtanen
On Thu, May 05, 2011 at 11:45:27AM +0200, Christoph Raible wrote: in an other mail (http://marc.info/?t=13044234666r=1w=2) I explained my Config. And after two changes in the config file the ceph-fs works fine :) Are you running an osd on the same machine that has the /ceph mount? There's

Trouble with rbd

2011-05-05 Thread Fyodor Ustinov
Hi! Latest 64 bit kernel (2.6.39-rc6, but with latest ubuntu 2.6.38-8 - the same). Very similar to that rbd or libceph ruin the memory. 1. Make rbd. rbd create tmt --size 102400 2. Attach and make disk modprobe rbd echo xx.xx.xx.xx name=admin rbd tmt /sys/bus/rbd/add mkfs.ext4 -E

Re: rbd and Metaserver

2011-05-05 Thread tsk
2011/5/6 Gregory Farnum gregory.far...@dreamhost.com: Nope, the MDS is only required for the POSIX-compliant Ceph layer. -Greg May I know that who will maintain the rbd_image_info if there is no MDS? From where, the api int rbd_list(rados_ioctx_t io, char *names, size_t *size) will get the

Re: question about ceph messaging protocol

2011-05-05 Thread Henry C Chang
Hi Sage, It may be we didn't anticipate a situation where your acceptor has the connection but it is idle/closed and doesn't notice.  Maybe sending a keepalive in this situation is what is needed? How are you hitting this situation? Sorry I should have made it clear. I did not hit this. I

Re: rbd and Metaserver

2011-05-05 Thread Sage Weil
On Fri, 6 May 2011, tsk wrote: 2011/5/6 Gregory Farnum gregory.far...@dreamhost.com: Nope, the MDS is only required for the POSIX-compliant Ceph layer. -Greg May I know that who will maintain the rbd_image_info if there is no MDS? From where, the api int rbd_list(rados_ioctx_t io, char

Re: rbd and Metaserver

2011-05-05 Thread tsk
Hi Sage, If I use librados: int create(const std::string oid, bool exclusive); int write(const std::string oid, bufferlist bl, size_t len, uint64_t off); int read(const std::string oid, bufferlist bl, size_t len, uint64_t off); MDS is not required to be running either? What does