From: Zenon Panoussis <oracle@provocation.net>
To: ceph-devel@vger.kernel.org
Subject: crush rule definitions
Date: Wed, 04 May 2011 20:16:19 +0200 [thread overview]
Message-ID: <4DC197F3.3050200@provocation.net> (raw)
Hi
I thought that min_size in crush is obvious, but the more I read the more
I tend to doubt. So I might as well ask:
With a crushmap like this
===
type 0 device
type 1 host
type 2 root
[definitions for the above; hosts contain devices, root contains hosts]
rule data {
ruleset 0
type replicated
min_size 2
max_size 2
step take root
step chooseleaf firstn 0 type host
step emit
}
===
does "min_size 2, max_size 2" mean that I want "2 copies of the data on each
host" or "2 copies of the data in total in the entire cluster"?
Z
next reply other threads:[~2011-05-04 18:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-04 18:16 Zenon Panoussis [this message]
2011-05-04 18:21 ` crush rule definitions Sage Weil
2011-05-04 19:20 ` Zenon Panoussis
2011-05-04 19:28 ` Sage Weil
2011-05-04 19:31 ` Sage Weil
2011-05-04 20:34 ` Zenon Panoussis
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=4DC197F3.3050200@provocation.net \
--to=oracle@provocation.net \
--cc=ceph-devel@vger.kernel.org \
/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.