From: Josh Durgin <josh.durgin@inktank.com>
To: norbi <norbi@rocknob.de>
Cc: ceph-devel@vger.kernel.org
Subject: Re: Problems with active+remapped PGs in Ceph 0.55
Date: Wed, 12 Dec 2012 00:57:20 -0800 [thread overview]
Message-ID: <50C846F0.7090900@inktank.com> (raw)
In-Reply-To: <50C836CB.6000502@rocknob.de>
On 12/11/2012 11:48 PM, norbi wrote:
> Hi Ceph-List,
>
> i have set up a Ceph-Cluster with 3 OSDs, 3 Mons, 2 MDS over three server.
> Server 1 has 2 ODSs (osd0,osd2) and one MON/MDS and Server 2 has only
> osd2 and one MON + MDS.
> Server 3 has only the third MON-Service.
>
> All Servers are running Ceph 0.55 and Kernel 3.6.9 with Centos 6 64bit.
>
> ceph osd shows me in first state
>
> ceph osd tree
>
> # id weight type name up/down reweight
> -1 3 pool default
> -3 3 rack unknownrack
> -4 1 host unknownhost
> 1 1 osd.1 up 1
> 2 1 osd.2 up 1
> 0 1 osd.0 up 1
>
> ceph health is ok !
>
> now i have edit the crush map to the following
>
> # id weight type name up/down reweight
> -1 3 pool default
> -3 3 rack unknownrack
> -4 1 host testblade01
> 1 1 osd.1 up 1
> -2 1 host unknownhost
> 2 1 osd.2 up 1
> 0 1 osd.0 up 1
>
>
> now ceph is remaping some existing PGs and there are my problems began...
>
> ceph is stopping remapping some PGs and the status is "current state
> active+remapped" but nothing happens... after about 14h the PGs are in
> the same state and ceph health is in status HEALTH_WARN. there are no
> lost or unfound object, i can read all files in ceph without problems
> and i can write into ceph storage.
>
> how can i find the problem or force remapping of the PGs ? i have looked
> into the source code, but i dont find a comman like "ceph pg force_remap
> 1.a4". "ceph pg PGNUMBER" shows me that there are no unfound objects.
>
> any help ?
I'm guessing you're hitting the issue with small numbers of devices and
legacy crush tunables described here:
http://ceph.com/docs/master/rados/operations/crush-map/#impact-of-legacy-values
Updating to use the recommended new tunables as described on that page
should fix the problem.
You can verify that this is the problem by checking the output of
'ceph pg dump' - it will show the up set of osds for the remapped pgs
as only a single osd, and being remapped to an acting set including two
osds.
Josh
next prev parent reply other threads:[~2012-12-12 8:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-12 7:48 Problems with active+remapped PGs in Ceph 0.55 norbi
2012-12-12 8:57 ` Josh Durgin [this message]
2012-12-12 9:49 ` norbi
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=50C846F0.7090900@inktank.com \
--to=josh.durgin@inktank.com \
--cc=ceph-devel@vger.kernel.org \
--cc=norbi@rocknob.de \
/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.