From: Joao Eduardo Luis <joao.luis@inktank.com>
To: Isaac Otsiabah <zmoo76b@yahoo.com>
Cc: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Re: What is the new command to add osd to the crushmap to enable it to receive data
Date: Fri, 30 Nov 2012 01:54:30 +0000 [thread overview]
Message-ID: <50B811D6.5000004@inktank.com> (raw)
In-Reply-To: <1354238575.90788.YahooMailNeo@web121904.mail.ne1.yahoo.com>
On 11/30/2012 01:22 AM, Isaac Otsiabah wrote:
> This command below which adds a new to the crushmap to enable it to receive data has changed and does not work anymore.
>
>
> ceph osd crush set {id} {name}
>
>
> Please, what is the new command to add a new osd to the crushmap to enable it to receive data?
You must specify a weight and a location. For instance,
ceph osd crush set 0 osd.0 1.0 root=default
Also, you can check up on the docs for more infos.
From the docs at [1]:
Add the OSD to the CRUSH map so that it can begin receiving data. You
may also decompile the CRUSH map, add the OSD to the device list, add
the host as a bucket (if it’s not already in the CRUSH map), add the
device as an item in the host, assign it a weight, recompile it and set
it. See Add/Move an OSD for details.
ceph osd crush set {id} {name} {weight} pool={pool-name}
[{bucket-type}={bucket-name} ...]
[1] http://ceph.com/docs/master/rados/operations/add-or-rm-osds/
-Joao
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2012-11-30 1:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-29 7:45 parsing in the ceph osd subsystem Andrey Korolyov
2012-11-29 7:53 ` Gregory Farnum
2012-11-29 16:34 ` Sage Weil
2012-11-29 16:49 ` Joao Eduardo Luis
2012-11-29 19:01 ` Andrey Korolyov
2012-11-29 19:49 ` Joao Eduardo Luis
2012-11-30 1:04 ` Joao Eduardo Luis
[not found] ` <1354237947.86472.YahooMailNeo@web121901.mail.ne1.yahoo.com>
2012-11-30 1:22 ` What is the new command to add osd to the crushmap to enable it to receive data Isaac Otsiabah
2012-11-30 1:54 ` Joao Eduardo Luis [this message]
[not found] ` <1357591756.80653.YahooMailNeo@web121903.mail.ne1.yahoo.com>
2013-01-07 21:00 ` osd down (for 2 about 2 minutes) error after adding a new host to my cluster Isaac Otsiabah
2013-01-07 21:27 ` Gregory Farnum
[not found] ` <1357680673.72602.YahooMailNeo@web121904.mail.ne1.yahoo.com>
2013-01-10 18:32 ` Gregory Farnum
2013-01-10 18:45 ` What is the acceptable attachment file size on the mail server? Isaac Otsiabah
2013-01-10 18:57 ` Gregory Farnum
2013-01-12 1:41 ` Yan, Zheng
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=50B811D6.5000004@inktank.com \
--to=joao.luis@inktank.com \
--cc=ceph-devel@vger.kernel.org \
--cc=zmoo76b@yahoo.com \
/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.