ceph status reporting non-existing osd

2012-07-13 Thread Andrey Korolyov
Hi, Recently I`ve reduced my test suite from 6 to 4 osds at ~60% usage on six-node, and I have removed a bunch of rbd objects during recovery to avoid overfill. Right now I`m constantly receiving a warn about nearfull state on non-existing osd: health HEALTH_WARN 1 near full osd(s) monmap

Re: librbd: error finding header

2012-07-13 Thread Vladimir Bashkirtsev
On 13/07/12 01:30, Tommi Virtanen wrote: On Wed, Jul 11, 2012 at 9:41 PM, Josh Durgin josh.dur...@inktank.com wrote: You're right about the object name - you can get its offset in the image that way. Since rbd is thin-provisioned, however, the highest index object might not be the highest

[PATCH] ceph: fix potential double free

2012-07-13 Thread Alan Cox
From: Alan Cox a...@linux.intel.com We re-run the loop but we don't re-set the attrs pointer back to NULL. Signed-off-by: Alan Cox a...@linux.intel.com --- fs/ceph/xattr.c |1 + 1 file changed, 1 insertion(+) diff --git a/fs/ceph/xattr.c b/fs/ceph/xattr.c index 785cb30..2c2ae5b 100644 ---

Re: How to compile Java-Rados.

2012-07-13 Thread Noah Watkins
Hi Ramu, The libtool --mode=install hack has apparently stopped working. You can get around this problem for the time being by copying the library files you want from src/native/.libs/ into the dist folder. - Noah On Fri, Jul 13, 2012 at 12:00 AM, ramu ramu.freesyst...@gmail.com wrote: Hi

Ceph BoF at OSCON

2012-07-13 Thread Florian Haas
Hi everyone, For those of you attending OSCON in Portland next week, there will be a birds-of-a-feather session on Ceph Monday night. All OSCON attendees interested in Ceph are very welcome. Details about the BoF are in this blog post:

Re: [PATCH] ceph: fix potential double free

2012-07-13 Thread Alan Cox
Is that clear? Is there something I'm still missing? Basically if they are not invariant I don't see why it can't go around the loop, allocate the buffer, free it and then the next time find there is nothing there and thus double free. Either way if its patched the problem goes away so it's

Re: [PATCH] ceph: fix potential double free

2012-07-13 Thread Alex Elder
On 07/13/2012 11:37 AM, Alan Cox wrote: Is that clear? Is there something I'm still missing? Basically if they are not invariant I don't see why it can't go around the loop, allocate the buffer, free it and then the next time find there is nothing there and thus double free. Either way

Re: ceph status reporting non-existing osd

2012-07-13 Thread Gregory Farnum
On Fri, Jul 13, 2012 at 1:17 AM, Andrey Korolyov and...@xdel.ru wrote: Hi, Recently I`ve reduced my test suite from 6 to 4 osds at ~60% usage on six-node, and I have removed a bunch of rbd objects during recovery to avoid overfill. Right now I`m constantly receiving a warn about nearfull

Re: ceph status reporting non-existing osd

2012-07-13 Thread Sage Weil
On Fri, 13 Jul 2012, Gregory Farnum wrote: On Fri, Jul 13, 2012 at 1:17 AM, Andrey Korolyov and...@xdel.ru wrote: Hi, Recently I`ve reduced my test suite from 6 to 4 osds at ~60% usage on six-node, and I have removed a bunch of rbd objects during recovery to avoid overfill. Right

Linux large IO size.

2012-07-13 Thread Matt Weil
Is it possible to get IO sizes 1024k and larger? -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Linux large IO size.

2012-07-13 Thread Tommi Virtanen
On Fri, Jul 13, 2012 at 12:07 PM, Matt Weil mw...@genome.wustl.edu wrote: Is it possible to get IO sizes 1024k and larger? Can you be a bit more explicit in what you're asking? Are you talking about submitting IO to RBD (via the kernel module? inside a qemu vm?), are you talking about using the

Re: Linux large IO size.

2012-07-13 Thread Matt Weil
On 7/13/12 3:02 PM, Tommi Virtanen wrote: On Fri, Jul 13, 2012 at 12:07 PM, Matt Weil mw...@genome.wustl.edu wrote: Is it possible to get IO sizes 1024k and larger? Can you be a bit more explicit in what you're asking? Are you talking about submitting IO to RBD (via the kernel module? inside

./vstart sticking on mutex

2012-07-13 Thread Noah Watkins
Howdy, With the latest master branch I'm seeing ./vstart -d -n --localhost get stuck when creating an osd. The output from starting is below, as well as the backtrace of the stuck ceph process. Thanks, Noah backtrace for: ./ceph -c ceph.conf osd create 723da811-e971-4b92-9778-8cd5939dce85

Re: ./vstart sticking on mutex

2012-07-13 Thread Gregory Farnum
Can you run with -x (enable authentication)? I think the non-cephx version got broken at some point, though if using cephx is a problem it could probably get fixed up. -Greg On Fri, Jul 13, 2012 at 3:59 PM, Noah Watkins jayh...@cs.ucsc.edu wrote: Howdy, With the latest master branch I'm seeing

Re: ./vstart sticking on mutex

2012-07-13 Thread Noah Watkins
On Fri, Jul 13, 2012 at 4:13 PM, Gregory Farnum g...@inktank.com wrote: Can you run with -x (enable authentication)? and... we're back! Thanks, - Noah -- To unsubscribe from this list: send the line unsubscribe ceph-devel in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH] vstart: use absolute path for keyring

2012-07-13 Thread Tommi Virtanen
On Fri, Jul 13, 2012 at 5:01 PM, Noah Watkins jayh...@cs.ucsc.edu wrote: Stores absolute path to the generated keyring so that tests running in other directories (e.g. src/java/test) can simply reference the generated ceph.conf. Perhaps relative paths in ceph.conf should be interpreted as

Re: [PATCH] vstart: use absolute path for keyring

2012-07-13 Thread Noah Watkins
Ok good point. I know where the config is cause I ran ./vstart :) On Fri, Jul 13, 2012 at 5:12 PM, Tommi Virtanen t...@inktank.com wrote: On Fri, Jul 13, 2012 at 5:01 PM, Noah Watkins jayh...@cs.ucsc.edu wrote: Stores absolute path to the generated keyring so that tests running in other

Re: [PATCH] vstart: use absolute path for keyring

2012-07-13 Thread Sage Weil
On Fri, 13 Jul 2012, Tommi Virtanen wrote: On Fri, Jul 13, 2012 at 5:01 PM, Noah Watkins jayh...@cs.ucsc.edu wrote: Stores absolute path to the generated keyring so that tests running in other directories (e.g. src/java/test) can simply reference the generated ceph.conf. Perhaps relative

Re: librbd: error finding header

2012-07-13 Thread Josh Durgin
On 07/13/2012 06:06 AM, Vladimir Bashkirtsev wrote: On 13/07/12 01:30, Tommi Virtanen wrote: On Wed, Jul 11, 2012 at 9:41 PM, Josh Durgin josh.dur...@inktank.com wrote: You're right about the object name - you can get its offset in the image that way. Since rbd is thin-provisioned, however,