All of lore.kernel.org
 help / color / mirror / Atom feed
From: norbi <norbi@rocknob.de>
To: Samuel Just <sam.just@inktank.com>, ceph-devel@vger.kernel.org
Subject: Re: deleting non existing pgs ?
Date: Wed, 19 Dec 2012 22:13:00 +0100	[thread overview]
Message-ID: <50D22DDC.40709@rocknob.de> (raw)
In-Reply-To: <CA+4uBUaETcFoV2BQtsakZa1ZhvLo0rgLyM1vwjubqAvA-g7Cjg@mail.gmail.com>

cant bring the osds back, thought that ceph replicates data over hosts 
not only over osds. so i stopped two OSDs on one host, and deleted the 
data/osds, after that i saw the mistake...

On 19.12.2012 22:05, Samuel Just wrote:
> Note, however, that it will render the objects previously stored there
> permanently lost.  Better would be bringing the osds in question back
> up.
> -Sam
>
> On Wed, Dec 19, 2012 at 1:05 PM, Samuel Just <sam.just@inktank.com> wrote:
>> ceph pg force_create_pg <pgid> should cause it to be re-created empty.
>> -Sam
>>
>> On Wed, Dec 19, 2012 at 12:43 PM, norbi <norbi@rocknob.de> wrote:
>>> Hi List,
>>>
>>> how can i delete non existing PGs ?
>>> the OSDs where the PGs was stored are crashed and now i see this
>>>
>>> pg 2.80 is stuck stale for 38971.810705, current state stale+active+clean,
>>> last acting [2,0]
>>> pg 0.82 is stuck stale for 38971.810712, current state stale+active+clean,
>>> last acting [2,0]
>>> pg 1.81 is stuck stale for 38971.810712, current state stale+active+clean,
>>> last acting [2,0]
>>>
>>>
>>> or the osd.log shows me this
>>>
>>> 2012-12-19 21:38:36.771016 7f2e5c518700  7 osd.2 3090 hit non-existent pg
>>> 0.82
>>> 2012-12-19 21:38:36.771024 7f2e5c518700  7 osd.2 3090 we are valid target
>>> for op, waiting
>>> 2012-12-19 21:38:36.771026 7f2e5c518700 15 osd.2 3090
>>> require_same_or_newer_map 3086 (i am 3090) 0x17eec00
>>>
>>>
>>> how can i delete this pgs ?
>>>
>>> norbert
>>> --
>>> 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

  parent reply	other threads:[~2012-12-19 21:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-19 20:43 deleting non existing pgs ? norbi
     [not found] ` <CA+4uBUa1wYYJWaNgTodWLexu45zArKyuzxN9KXdjOP+O2A81NA@mail.gmail.com>
     [not found]   ` <CA+4uBUaETcFoV2BQtsakZa1ZhvLo0rgLyM1vwjubqAvA-g7Cjg@mail.gmail.com>
2012-12-19 21:13     ` norbi [this message]
2012-12-19 21:38       ` Samuel Just

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=50D22DDC.40709@rocknob.de \
    --to=norbi@rocknob.de \
    --cc=ceph-devel@vger.kernel.org \
    --cc=sam.just@inktank.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.