CEPH filesystem development
 help / color / mirror / Atom feed
From: Fyodor Ustinov <ufm@ufm.su>
To: Sage Weil <sage@newdream.net>
Cc: ceph-devel@vger.kernel.org
Subject: Re: CRUSH. What wrong?
Date: Mon, 30 May 2011 12:34:23 +0300	[thread overview]
Message-ID: <4DE3649F.60407@ufm.su> (raw)
In-Reply-To: <Pine.LNX.4.64.1105292052300.25744@cobra.newdream.net>

On 05/30/2011 06:54 AM, Sage Weil wrote:
> Hi Fyodor,
>
> The problem is your rules:
>
> On Sun, 29 May 2011, Fyodor Ustinov wrote:
>> # rules
>> rule data {
>>          ruleset 0
>>          type replicated
>>          min_size 1
>>          max_size 10
>>          step take root
>>          step choose firstn 0 type rack
> This is giving you N _racks_.  You probably want
>
>           step chooseleaf firstn 0 type rack
>
> which will give you N devices from distinct racks.
Mea culpa. :(

Thnx!

WBR,
     Fyodor.

  reply	other threads:[~2011-05-30  9:34 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 [this message]
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

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=4DE3649F.60407@ufm.su \
    --to=ufm@ufm.su \
    --cc=ceph-devel@vger.kernel.org \
    --cc=sage@newdream.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox