re: crush: warn on do_rule failure

2012-10-03 Thread Dan Carpenter
Hello Sage Weil, The patch 8b3932690084: crush: warn on do_rule failure from May 7, 2012, leads to the following warning: net/ceph/osdmap.c:1117:8: warning: comparison of unsigned expression 0 is always false [-Wtautological-compare] net/ceph/osdmap.c 1114 r =

[PATCH] mds: Use stray dir as base inode for stray reintegration

2012-10-03 Thread Yan, Zheng
From: Yan, Zheng zheng.z@intel.com Server::handle_client_rename() only skips common ancestor check if source path's base inode is stray directory, but source path's base inode is mdsdir in the stray reintegration case. Signed-off-by: Yan, Zheng zheng.z@intel.com --- src/mds/MDCache.cc |

Re: [ceph-commit] teuthology lock_server error

2012-10-03 Thread Sage Weil
If you are not actually running the lock server (which you probably don't need anyway), add check-lcoks: false to your yaml. I think that will get you going... sage On Wed, 3 Oct 2012, Lokesh Krishnappa wrote: Hi all, Am new to git and playing around git qa suite , trying to test rbd on

Re: [PATCH] mds: Use stray dir as base inode for stray reintegration

2012-10-03 Thread Sage Weil
On Wed, 3 Oct 2012, Yan, Zheng wrote: From: Yan, Zheng zheng.z@intel.com Server::handle_client_rename() only skips common ancestor check if source path's base inode is stray directory, but source path's base inode is mdsdir in the stray reintegration case. Signed-off-by: Yan, Zheng

Re: [PATCH] mds: Use stray dir as base inode for stray reintegration

2012-10-03 Thread Yan, Zheng
On 10/03/2012 11:17 PM, Sage Weil wrote: On Wed, 3 Oct 2012, Yan, Zheng wrote: From: Yan, Zheng zheng.z@intel.com Server::handle_client_rename() only skips common ancestor check if source path's base inode is stray directory, but source path's base inode is mdsdir in the stray

Re: error: could not read lock status

2012-10-03 Thread Gregory Farnum
Check out the thread titled [ceph-commit] teuthology lock_server error. :) On Wed, Oct 3, 2012 at 5:41 AM, Pradeep S pradeeps...@gmail.com wrote: hi, i am getting the following error while executing ceph-qa-suite in teuthology. INFO:teuthology.run_tasks:Running task internal.save_config...

Re: error: could not read lock status

2012-10-03 Thread Sage Weil
On Wed, 3 Oct 2012, Gregory Farnum wrote: Check out the thread titled [ceph-commit] teuthology lock_server error. :) In case it didn't hit ceph-devel: Add check-locks: false to your yaml file and the lock checks will all go away. sage On Wed, Oct 3, 2012 at 5:41 AM, Pradeep S

Re: Slow ceph fs performance

2012-10-03 Thread Gregory Farnum
I think I'm with Mark now — this does indeed look like too much random IO for the disks to handle. In particular, Ceph requires that each write be synced to disk before it's considered complete, which rsync definitely doesn't. In the filesystem this is generally disguised fairly well by all the

Re: [GIT PULL v5] java: add libcephfs Java bindings

2012-10-03 Thread Sage Weil
On Wed, 3 Oct 2012, Noah Watkins wrote: Hi Sage, I wanted to touch base on this Java bindings patch series to make sure this can become a solid foundation for the Hadoop shim clean-up. Were there any specific issues with this, other than not yet having a major consumer? From my perspective

Re: How to write data to rbd pool.

2012-10-03 Thread Dan Mick
Don't understand the question. rbd images live, by default, in the rbd pool; the image namespace is flat, and there is no path. On 10/02/2012 06:13 AM, ramu eppa wrote: Hi all, How to know the rbd volume path. Thanks, Ramu. -- To unsubscribe from this list: send the line unsubscribe

Re: How to write data to rbd pool.

2012-10-03 Thread Dan Mick
What tool/library/context are you using the string nova/volume1/data in? What does data represent? How was volume1 created? On 10/02/2012 10:09 AM, ramu eppa wrote: Hi Tommi Virtanen, Actually we know the rbd full path,we write some data directly to volume. nova/volume1/data.

Re: How to write data to rbd pool.

2012-10-03 Thread Tommi Virtanen
On Tue, Oct 2, 2012 at 9:55 PM, ramu eppa ramu.freesyst...@gmail.com wrote: When map rbd to /dev it's giving error, rbd map /dev/mypool/mytest The syntax is rbd map mypool/mytest. http://ceph.com/docs/master/man/8/rbd/ -- To unsubscribe from this list: send the line unsubscribe ceph-devel

Re: [GIT PULL v5] java: add libcephfs Java bindings

2012-10-03 Thread Gregory Farnum
Sorry I haven't provided any feedback on this either — it's still in my queue but I've had a great many things to do since you sent it along. :) -Greg On Wed, Oct 3, 2012 at 12:34 PM, Noah Watkins jayh...@cs.ucsc.edu wrote: Hi Sage, I wanted to touch base on this Java bindings patch series to

Re: Collection of strange lockups on 0.51

2012-10-03 Thread Andrey Korolyov
On Mon, Oct 1, 2012 at 8:42 PM, Tommi Virtanen t...@inktank.com wrote: On Sun, Sep 30, 2012 at 2:55 PM, Andrey Korolyov and...@xdel.ru wrote: Short post mortem - EX3200/12.1R2.9 may begin to drop packets (seems to appear more likely on 0.51 traffic patterns, which is very strange for L2

mds cache size configuration option being ignored

2012-10-03 Thread Tren Blackburn
Hi List; I was advised to use the mds cache size option to limit the memory that the mds process will take. I have it set to 32768. However it the ceph-mds process is now at 50GB and still growing. fern ceph # ps wwaux | grep ceph-mds root 895 4.3 26.6 53269304 52725820 ? Ssl Sep28

Re: mds cache size configuration option being ignored

2012-10-03 Thread Gregory Farnum
On Wed, Oct 3, 2012 at 3:22 PM, Tren Blackburn t...@eotnetworks.com wrote: Hi List; I was advised to use the mds cache size option to limit the memory that the mds process will take. I have it set to 32768. However it the ceph-mds process is now at 50GB and still growing. fern ceph # ps

Re: mds cache size configuration option being ignored

2012-10-03 Thread Tren Blackburn
On Wed, Oct 3, 2012 at 4:15 PM, Gregory Farnum g...@inktank.com wrote: On Wed, Oct 3, 2012 at 3:22 PM, Tren Blackburn t...@eotnetworks.com wrote: Hi List; I was advised to use the mds cache size option to limit the memory that the mds process will take. I have it set to 32768. However it the

Re: mds cache size configuration option being ignored

2012-10-03 Thread Gregory Farnum
On Wed, Oct 3, 2012 at 4:23 PM, Tren Blackburn t...@eotnetworks.com wrote: On Wed, Oct 3, 2012 at 4:15 PM, Gregory Farnum g...@inktank.com wrote: On Wed, Oct 3, 2012 at 3:22 PM, Tren Blackburn t...@eotnetworks.com wrote: Hi List; I was advised to use the mds cache size option to limit the

Re: mds cache size configuration option being ignored

2012-10-03 Thread Tren Blackburn
On Wed, Oct 3, 2012 at 4:56 PM, Gregory Farnum g...@inktank.com wrote: On Wed, Oct 3, 2012 at 4:23 PM, Tren Blackburn t...@eotnetworks.com wrote: On Wed, Oct 3, 2012 at 4:15 PM, Gregory Farnum g...@inktank.com wrote: On Wed, Oct 3, 2012 at 3:22 PM, Tren Blackburn t...@eotnetworks.com wrote: Hi

Re: mds cache size configuration option being ignored

2012-10-03 Thread Gregory Farnum
On Wed, Oct 3, 2012 at 4:59 PM, Tren Blackburn t...@eotnetworks.com wrote: On Wed, Oct 3, 2012 at 4:56 PM, Gregory Farnum g...@inktank.com wrote: On Wed, Oct 3, 2012 at 4:23 PM, Tren Blackburn t...@eotnetworks.com wrote: On Wed, Oct 3, 2012 at 4:15 PM, Gregory Farnum g...@inktank.com wrote: On

Re: mds stuck in clientreplay state after failover

2012-10-03 Thread Gregory Farnum
On Tue, Sep 25, 2012 at 4:55 PM, Tren Blackburn t...@eotnetworks.com wrote: On Tue, Sep 25, 2012 at 2:15 PM, Gregory Farnum g...@inktank.com wrote: Hi Tren, Sorry your last message got dropped — we've all been really busy! No worries! I know you guys are busy, and I appreciate any assistance

mds heartbeat information

2012-10-03 Thread Gregory Farnum
I was asked to send this to the list. At some point it will be properly documented, but for the moment... The mds heartbeat controls are mds_beacon_interval and mds_beacon_grace. (So named because the beacon is used for a little bit more than heartbeating; but it also serves heartbeat purposes

Re: [GIT PULL v5] java: add libcephfs Java bindings

2012-10-03 Thread Laszlo Boszormenyi (GCS)
On Wed, 2012-10-03 at 12:39 -0700, Sage Weil wrote: On Wed, 3 Oct 2012, Noah Watkins wrote: I wanted to touch base on this Java bindings patch series to make sure this can become a solid foundation for the Hadoop shim clean-up. Were there any specific issues with this, other than not yet