All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sage Weil <sage@newdream.net>
To: "Deneau, Tom" <tom.deneau@amd.com>
Cc: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Re: pg rebalancing after taking osds out
Date: Tue, 26 Jan 2016 17:44:10 -0500 (EST)	[thread overview]
Message-ID: <alpine.DEB.2.11.1601261743440.6524@cpach.fuggernut.com> (raw)
In-Reply-To: <DM2PR12MB0556E3531B9E94EAF8131BCB9BD80@DM2PR12MB0556.namprd12.prod.outlook.com>

On Tue, 26 Jan 2016, Deneau, Tom wrote:
> I have a replicated x2 pool with the crush step of host.
> When the pool was created there were 3 hosts with 7 osds each,
> and looking at the pg-by-pool for that pool I can see that
> every pg has  copies on two different hosts.
> 
> Now I want to take 2 osds out of each node, which I did using
> the osd out command. (So there are then 5 osds per host node).
> 
> Now I rerun ceph pg ls-by-pool for that pool and it shows that
> some pgs have both their copies on the same node.
> 
> Is this normal?  My expectation was that each pg still
> had its two copies on two different hosts.

There those PGs in the 'remapped' state?  What does the tree look like 
('ceph osd tree')?

sage

  reply	other threads:[~2016-01-26 22:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-26 22:26 pg rebalancing after taking osds out Deneau, Tom
2016-01-26 22:44 ` Sage Weil [this message]
2016-01-26 23:37   ` Deneau, Tom

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=alpine.DEB.2.11.1601261743440.6524@cpach.fuggernut.com \
    --to=sage@newdream.net \
    --cc=ceph-devel@vger.kernel.org \
    --cc=tom.deneau@amd.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.