Re: [ceph-users] Data still in OSD directories after removing

2014-05-22 Thread Olivier Bonvalet
Le mercredi 21 mai 2014 à 18:20 -0700, Josh Durgin a écrit : On 05/21/2014 03:03 PM, Olivier Bonvalet wrote: Le mercredi 21 mai 2014 à 08:20 -0700, Sage Weil a écrit : You're certain that that is the correct prefix for the rbd image you removed? Do you see the objects lists when you do

Re: SMART monitoring

2014-05-22 Thread Andrey Korolyov
On Fri, Dec 27, 2013 at 9:09 PM, Andrey Korolyov and...@xdel.ru wrote: On 12/27/2013 08:15 PM, Justin Erenkrantz wrote: On Thu, Dec 26, 2013 at 9:17 PM, Sage Weil s...@inktank.com wrote: I think the question comes down to whether Ceph should take some internal action based on the information,

[PATCH] rbd: fix osd_request memory leak in __rbd_dev_header_watch_sync()

2014-05-22 Thread Ilya Dryomov
osd_request, along with r_request and r_reply messages attached to it are leaked in __rbd_dev_header_watch_sync() if the requested image doesn't exist. This is because lingering requests are special and get an extra ref in the reply path. Fix it by unregistering linger request on the error path

[PATCH v3 0/4] rbd: make sure we have latest osdmap on 'rbd map'

2014-05-22 Thread Ilya Dryomov
Hello, This is a fix for #8184 that makes use of the updated MMonGetVersionReply userspace code, which will now populate its tid with the tid of the original MMonGetVersion request. Thanks, Ilya Ilya Dryomov (4): libceph: recognize poolop requests in debugfs libceph:

[PATCH v3 1/4] libceph: recognize poolop requests in debugfs

2014-05-22 Thread Ilya Dryomov
Recognize poolop requests in debugfs monc dump, fix prink format specifiers - tid is unsigned. Signed-off-by: Ilya Dryomov ilya.dryo...@inktank.com --- net/ceph/debugfs.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/net/ceph/debugfs.c b/net/ceph/debugfs.c index

[PATCH v3 3/4] libceph: add ceph_monc_wait_osdmap()

2014-05-22 Thread Ilya Dryomov
Add ceph_monc_wait_osdmap(), which will block until the osdmap with the specified epoch is received or timeout occurs. Export both of these as they are going to be needed by rbd. Signed-off-by: Ilya Dryomov ilya.dryo...@inktank.com --- include/linux/ceph/mon_client.h |2 ++

[PATCH v3 4/4] rbd: make sure we have latest osdmap on 'rbd map'

2014-05-22 Thread Ilya Dryomov
Given an existing idle mapping (img1), mapping an image (img2) in a newly created pool (pool2) fails: $ ceph osd pool create pool1 8 8 $ rbd create --size 1000 pool1/img1 $ sudo rbd map pool1/img1 $ ceph osd pool create pool2 8 8 $ rbd create --size 1000 pool2/img2 $ sudo

[PATCH v3 2/4] libceph: mon_get_version request infrastructure

2014-05-22 Thread Ilya Dryomov
Add support for mon_get_version requests to libceph. This reuses much of the ceph_mon_generic_request infrastructure, with one exception. Older OSDs don't set mon_get_version reply hdr-tid even if the original request had a non-zero tid, which makes it impossible to lookup

collectd / graphite / grafana .. calamari?

2014-05-22 Thread Ricardo Rocha
Hi. I saw the thread a couple days ago on ceph-users regarding collectd... and yes, i've been working on something similar for the last few days :) https://github.com/rochaporto/collectd-ceph It has a set of collectd plugins pushing metrics which mostly map what the ceph commands return. In the