Re: rbd create error with 0.26

2011-05-10 Thread Simon Tian
Hope this help: === GNU gdb (GDB) Fedora (7.0.50.20100203-15.el5) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistr

Re: [ceph-commit] ceph.git branch master updated. v0.27.1-331-gd9ea95f

2011-05-10 Thread Colin McCabe
Hi all. As we noted earlier, "rados get" and "rados put" do gets and puts, respectively. This is different from "export" and "import" which have always synchronized whole pools. I guess we can have syntax like this for the import and export: rados sync [import|export] I will implement that in

Re: [PATCH 1/2] support for xattrs in libceph

2011-05-10 Thread Gregory Farnum
On Tue, May 10, 2011 at 1:34 PM, Yehuda Sadeh Weinraub wrote: > lsetxattr and friends are known linux API functions, and have > corresponding system calls with the same name. I say let's keep them > as is. Heh. Should probably just ignore clueless me in that case. :) -- To unsubscribe from this l

Re: [PATCH 1/2] support for xattrs in libceph

2011-05-10 Thread Yehuda Sadeh Weinraub
On Tue, May 10, 2011 at 1:28 PM, Gregory Farnum wrote: > On Tue, May 10, 2011 at 1:22 PM, Brian Chrisman wrote: >> They differentiate between xattrs on symlinks or on the files at which >> they point. >> If I recall, it's a slight difference internally to the Client class >> whether a value is pa

Re: [PATCH 1/2] support for xattrs in libceph

2011-05-10 Thread Yehuda Sadeh Weinraub
On Tue, May 10, 2011 at 12:38 PM, Brian Chrisman wrote: > @@ -5708,7 +5773,7 @@ int Client::ll_removexattr(vinodeno_t vino, const char > *name, int uid, int gid) >   tout << name << std::endl; > >   // only user xattrs, for now > -  if (strncmp(name, "user.", 5)) > +  if (strncmp(name, "user.", 5

Re: [PATCH 1/2] support for xattrs in libceph

2011-05-10 Thread Gregory Farnum
On Tue, May 10, 2011 at 1:22 PM, Brian Chrisman wrote: > They differentiate between xattrs on symlinks or on the files at which > they point. > If I recall, it's a slight difference internally to the Client class > whether a value is passed to path_walk as true/false, though I may be > misinterpre

Re: [PATCH 1/2] support for xattrs in libceph

2011-05-10 Thread Brian Chrisman
They differentiate between xattrs on symlinks or on the files at which they point. If I recall, it's a slight difference internally to the Client class whether a value is passed to path_walk as true/false, though I may be misinterpreting that. I can look at that again. On Tue, May 10, 2011 at 12:

Re: [PATCH 1/2] support for xattrs in libceph

2011-05-10 Thread Gregory Farnum
What are the 'l'-prefixed functions for? They look like they're just duplicates except for the prefix. -Greg On Tue, May 10, 2011 at 12:38 PM, Brian Chrisman wrote: > From: Brian Chrisman > > > Signed-off-by: Brian Chrisman > --- >  src/client/Client.cc       |   67 > +

[PATCH 2/2] expand testceph to check xattrs

2011-05-10 Thread Brian Chrisman
Signed-off-by: Brian Chrisman --- src/client/testceph.cc | 74 +++- 1 files changed, 73 insertions(+), 1 deletions(-) diff --git a/src/client/testceph.cc b/src/client/testceph.cc index 1bbd81d..da4b7a2 100644 --- a/src/client/testceph.cc +++ b/src/c

[PATCH 1/2] support for xattrs in libceph

2011-05-10 Thread Brian Chrisman
From: Brian Chrisman Signed-off-by: Brian Chrisman --- src/client/Client.cc | 67 +++- src/client/Client.h| 10 ++ src/include/ceph/libceph.h | 15 ++ src/libceph.cc | 42 +++ 4 files

[PATCH 0/2] adding libceph xattr support

2011-05-10 Thread Brian Chrisman
Expands libceph to handle xattr calls including underlying Client methods. testceph is expanded to verify libceph xattr calls work. Brian Chrisman (2): support for xattrs in libceph expand testceph to check xattrs src/client/Client.cc | 67 +++- sr

Re: Kernel 2.6.38.6 page allocation failure (ixgbe)

2011-05-10 Thread Stefan Majer
Hi Sage, On Tue, May 10, 2011 at 6:02 PM, Sage Weil wrote: > Hi Stefan, > > On Tue, 10 May 2011, Stefan Majer wrote: >> Hi, >> >> On Tue, May 10, 2011 at 4:20 PM, Yehuda Sadeh Weinraub >> wrote: >> > On Tue, May 10, 2011 at 7:04 AM, Stefan Majer >> > wrote: >> >> Hi, >> >> >> >> im running 4

Re: Kernel 2.6.38.6 page allocation failure (ixgbe)

2011-05-10 Thread Sage Weil
Hi Stefan, On Tue, 10 May 2011, Stefan Majer wrote: > Hi, > > On Tue, May 10, 2011 at 4:20 PM, Yehuda Sadeh Weinraub > wrote: > > On Tue, May 10, 2011 at 7:04 AM, Stefan Majer > > wrote: > >> Hi, > >> > >> im running 4 nodes with ceph on top of btrfs with a dualport Intel > >> X520 10Gb Ethern

Re: Kernel 2.6.38.6 page allocation failure (ixgbe)

2011-05-10 Thread Stefan Majer
Hi, On Tue, May 10, 2011 at 4:20 PM, Yehuda Sadeh Weinraub wrote: > On Tue, May 10, 2011 at 7:04 AM, Stefan Majer wrote: >> Hi, >> >> im running 4 nodes with ceph on top of btrfs with a dualport Intel >> X520 10Gb Ethernet Card with the latest 3.3.9 ixgbe driver. >> during benchmarks i get the f

Re: rbd create error with 0.26

2011-05-10 Thread Yehuda Sadeh Weinraub
On Tue, May 10, 2011 at 7:15 AM, Simon Tian wrote: > Hi, > >    As you said, one of the osds crashed: > = log > 2011-05-10 21:46:38.990311 4bc90940 osd2 8 pg[3.13a( v 8'1 (0'0,8'1] > n=1 ec=2 les=6 5/5/4) [2,3] r=0 mlcod 0'0 active+clean] > oi.user_version=

Re: rbd create error with 0.26

2011-05-10 Thread Simon Tian
YES!! After try several times if I create a rbd, one of the cosd will coredump. 2011/5/10 Yehuda Sadeh Weinraub : > On Tue, May 10, 2011 at 6:39 AM, Simon Tian wrote: >> Sorry, I didn't learn the wiki carefullly.. >> >> There is another problem: >> ===

Re: Kernel 2.6.38.6 page allocation failure (ixgbe)

2011-05-10 Thread Yehuda Sadeh Weinraub
On Tue, May 10, 2011 at 7:20 AM, Yehuda Sadeh Weinraub wrote: > On Tue, May 10, 2011 at 7:04 AM, Stefan Majer wrote: >> Hi, >> >> im running 4 nodes with ceph on top of btrfs with a dualport Intel >> X520 10Gb Ethernet Card with the latest 3.3.9 ixgbe driver. >> during benchmarks i get the follow

Re: Kernel 2.6.38.6 page allocation failure (ixgbe)

2011-05-10 Thread Yehuda Sadeh Weinraub
On Tue, May 10, 2011 at 7:04 AM, Stefan Majer wrote: > Hi, > > im running 4 nodes with ceph on top of btrfs with a dualport Intel > X520 10Gb Ethernet Card with the latest 3.3.9 ixgbe driver. > during benchmarks i get the following stack. > I can easily reproduce this by simply running rados bench

Re: rbd create error with 0.26

2011-05-10 Thread Simon Tian
Hi, As you said, one of the osds crashed: = log 2011-05-10 21:46:38.990311 4bc90940 osd2 8 pg[3.13a( v 8'1 (0'0,8'1] n=1 ec=2 les=6 5/5/4) [2,3] r=0 mlcod 0'0 active+clean] oi.user_version=8'2 is_modify=0 2011-05-10 21:46:38.990386 4bc90940 osd2 8 pg[3.

Kernel 2.6.38.6 page allocation failure (ixgbe)

2011-05-10 Thread Stefan Majer
Hi, im running 4 nodes with ceph on top of btrfs with a dualport Intel X520 10Gb Ethernet Card with the latest 3.3.9 ixgbe driver. during benchmarks i get the following stack. I can easily reproduce this by simply running rados bench from a fast machine using this 4 nodes as ceph cluster. We saw t

Re: rbd create error with 0.26

2011-05-10 Thread Yehuda Sadeh Weinraub
On Tue, May 10, 2011 at 6:39 AM, Simon Tian wrote: > Sorry, I didn't learn the wiki carefullly.. > > There is another problem: > > [root@mon-00 ~]# rbd create foo --size 1024 > 2011-05-11 02:37:15.400313 42d6a940 -- 10.250.6.98:0/1010326 >>

Re: rbd create error with 0.26

2011-05-10 Thread Simon Tian
2011/5/10 Fyodor Ustinov : > Simon Tian gmail.com> writes: > >> [root mon-00 ~]# cclass -a >> [root mon-00 ~]# ceph class list > > Do you forget "ceph class activate rbd 1.3" ? > As the log show, the rbd 1.3 is already active: [root@mon-00 ~]# rbd create foo --size 1024 2011-05-11 05:46:59.074

Re: rbd create error with 0.26

2011-05-10 Thread Simon Tian
Sorry, I didn't learn the wiki carefullly.. There is another problem: [root@mon-00 ~]# rbd create foo --size 1024 2011-05-11 02:37:15.400313 42d6a940 -- 10.250.6.98:0/1010326 >> 10.250.6.30:6801/3051 pipe(0x63f140 sd=6 pgs=0 cs=0 l=0).fault

RE: Unable to Add Monitor

2011-05-10 Thread Mark Nigh
Thanks, that did it. I didn't realize that the osd's were that full, so I have deleted some redundant data I had in the file system so that I can test. I will now trying adding the second and third monitors to the cluster. On Mon, 9 May 2011, Mark Nigh wrote: > I was able to get the monitor back

Re: rbd create error with 0.26

2011-05-10 Thread Fyodor Ustinov
Simon Tian gmail.com> writes: > [root mon-00 ~]# cclass -a > [root mon-00 ~]# ceph class list Do you forget "ceph class activate rbd 1.3" ? -- 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 h

Re: rbd create error with 0.26

2011-05-10 Thread Yehuda Sadeh Weinraub
On Mon, May 9, 2011 at 7:30 PM, Simon Tian wrote: > [root@mon-00 ~]# rbd create foo --size 1024 > 2011-05-10 17:42:44.227398 7fa9411866f0 librbd: failed to assign a > block name for image > create error: Input/output error > > I just done as thi

Re: qemu librbd patches

2011-05-10 Thread Yehuda Sadeh Weinraub
On Mon, May 9, 2011 at 8:22 AM, Josh Durgin wrote: > On Mon, 9 May 2011 10:59:41 +0200, Christian Brunner > wrote: >> Hi, >> >> after upgrading to qemu with josh's librbd patches I'm triggering the >> following assertion, when I'm running "yum upgrade" inside a guest. >> >> I suspect there is a r