All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Wu <cpwu@tnsoft.com.cn>
To: Sage Weil <sage@newdream.net>
Cc: Fyodor Ustinov <ufm@ufm.su>,
	"ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Re: CRUSH. What wrong?
Date: Mon, 30 May 2011 12:56:16 +0000	[thread overview]
Message-ID: <1306760176.1527.11.camel@localhost> (raw)
In-Reply-To: <Pine.LNX.4.64.1105292141480.25744@cobra.newdream.net>

Hi sage,

Thanks!

Jeff Wu

On Mon, 2011-05-30 at 12:43 +0800, Sage Weil wrote:
> Hi Jeff,
> 
> On Mon, 30 May 2011, Jeff Wu wrote:
> > Hi ,
> > Could you attach the detail reproducing steps?
> > Are you using the following steps to get crush.new.txt and base on it to
> > modify new crush ?
> > $ ceph osd getcrushmap -o crush.new
> > $ crushtool -d crush.new -o crush.new.txt
> > 
> > Maybe , you could refer to the following commands to create crush.new
> > file,for instance:
> > $ crushtool --num_osds 8 -o crush.new --build host straw 8 rack straw 8
> > root straw 0
> > $ crushtool -d crush.new -o crush.new.txt
> > 
> > I had filed two bug at :
> > http://tracker.newdream.net/issues/1016
> > http://tracker.newdream.net/issues/1017
> 
> Sorry, these fell through the cracks somehow!
> 
> For both of these it looks like the same problem Fyodor had: you need to 
> use chooseleaf instead of choose in your crush rule.  Currently you're 
> getting back rack bucket ids instead of devices.
> 
> sage


      reply	other threads:[~2011-05-30  4:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-29 13:21 CRUSH. What wrong? Fyodor Ustinov
2011-05-30  3:54 ` Sage Weil
2011-05-30  9:34   ` Fyodor Ustinov
2011-05-30  9:44   ` Fyodor Ustinov
2011-05-30  9:50 ` Jeff Wu
2011-05-30  4:43   ` Sage Weil
2011-05-30 12:56     ` Jeff Wu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1306760176.1527.11.camel@localhost \
    --to=cpwu@tnsoft.com.cn \
    --cc=ceph-devel@vger.kernel.org \
    --cc=sage@newdream.net \
    --cc=ufm@ufm.su \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.