All of lore.kernel.org
 help / color / mirror / Atom feed
From: Loic Dachary <loic@dachary.org>
To: "Lluís Pàmies i Juárez" <llpamies@pamies.cat>,
	"ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Re: erasured PG always "peering"
Date: Wed, 12 Mar 2014 21:05:31 +0100	[thread overview]
Message-ID: <5320BE0B.4090507@dachary.org> (raw)
In-Reply-To: <CAKD2hyHsCTTLWtTR8O6GYMgk=qRw38r_JGz=vAY+yA1DonqYyQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1839 bytes --]

Hi

On 12/03/2014 18:40, Lluís Pàmies i Juárez wrote:
> Hi ceph-devel,
> 
> I have been playing with the new erasure code functionality and I have
> noticed that the erasure coded PG remains in "peering" state forever. Is
> that normal?
> 
> I have a scenario with four servers each with two OSDs (total of eight
> OSDs). Then I define the extra crush rule to get four different OSDs across
> hosts:
> 
> rule reedsol_ruleset {
>     ruleset 1
>     type erasure
>     min_size 4
>     max_size 4
>     step take default
>     step chooseleaf firstn 0 type host

You want to s/firstn/indep/ here. But I don't think it's the source of your problem.

From what version are you running (hash of the last commit) ?

Cheers

>     step emit
> }
> 
> And create a simple pool by:
> sudo ceph osd pool create cauchy 1 1 erasure erasure-code-plugin=jerasure
> erasure-code-k=2 erasure-code-m=2 erasure-code-technique=cauchy_good
> crush_ruleset=reedsol_ruleset
> 
> After that, the PG status jumps from "creating" to "peering" and stays
> there forever. With "sudo ceph pg dump_stuck" I can see:
> 
> pg_stat objects mip degr unf bytes log disklog state state_stamp v reported
> up up_primary acting acting_primary last_scrub scrub_stamp last_deep_scrub
> deep_scrub_stamp
> 5.0 0 0 0 0 0 0 0 peering 2014-03-12 10:30:36.717544 0'0 58:3 [0,6,2,5] 0
> [0,6,2,5] 0 0'0 2014-03-12 10:30:36.715589 0'0 2014-03-12 10:30:36.715589
> 
> I guess that this is not normal and I'm probably doing something wrong. Any
> ideas?
> 
> Thanks,
> Lluís
> --
> 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
> 

-- 
Loïc Dachary, Artisan Logiciel Libre


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

  reply	other threads:[~2014-03-12 20:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-12 17:40 erasured PG always "peering" Lluís Pàmies i Juárez
2014-03-12 20:05 ` Loic Dachary [this message]
     [not found]   ` <CAKD2hyGc0QtKBj6EVGF7EmDYjfDUoLmAYZdbyYmNJX0TDcGtgg@mail.gmail.com>
2014-03-12 23:03     ` Loic Dachary

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=5320BE0B.4090507@dachary.org \
    --to=loic@dachary.org \
    --cc=ceph-devel@vger.kernel.org \
    --cc=llpamies@pamies.cat \
    /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.