All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jens Rehpöhler" <jens.rehpoehler@filoo.de>
To: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Cc: oliver.francke@filoo.de
Subject: Problem with inconsistent PG
Date: Fri, 10 Feb 2012 08:43:21 +0100	[thread overview]
Message-ID: <4F34CA99.6020905@filoo.de> (raw)

Hi Liste,

today i've got another problem.

ceph -w shows up with an inconsistent PG over night:

2012-02-10 08:38:48.701775    pg v441251: 1982 pgs: 1981 active+clean, 1
active+clean+inconsistent; 1790 GB data, 3368 GB used, 18977 GB / 22345
GB avail
2012-02-10 08:38:49.702789    pg v441252: 1982 pgs: 1981 active+clean, 1
active+clean+inconsistent; 1790 GB data, 3368 GB used, 18977 GB / 22345
GB avail

I've identified it with "ceph pg dump - | grep inconsistent

109.6    141    0    0    0    463820288    111780    111780   
active+clean+inconsistent    485'7115    480'7301    [3,4]    [3,4]   
485'7061    2012-02-10 08:02:12.043986

Now I've tried to repair it with: ceph pg repair 109.6

2012-02-10 08:35:52.276325 mon <- [pg,repair,109.6]
2012-02-10 08:35:52.276776 mon.1 -> 'instructing pg 109.6 on osd.3 to
repair' (0)

but i only get the following result:

2012-02-10 08:36:18.447553   log 2012-02-10 08:36:08.455420 osd.3
10.10.10.8:6801/25980 6913 : [ERR] 109.6 osd.4: soid
1ef398ce/rb.0.0.0000000000bd/headsize 2736128 != known size 3145728
2012-02-10 08:36:18.447553   log 2012-02-10 08:36:08.455426 osd.3
10.10.10.8:6801/25980 6914 : [ERR] 109.6 scrub 0 missing, 1 inconsistent
objects
2012-02-10 08:36:18.447553   log 2012-02-10 08:36:08.455799 osd.3
10.10.10.8:6801/25980 6915 : [ERR] 109.6 scrub 1 errors

Can someone please explain me what to do in this case and how to recover
the pg ?

Thanks a lot !

Jens

             reply	other threads:[~2012-02-10  7:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-10  7:43 Jens Rehpöhler [this message]
2012-02-10 22:30 ` Problem with inconsistent PG Sage Weil
  -- strict thread matches above, loose matches on Subject: below --
2012-02-12 12:00 Jens Rehpoehler
2012-02-12 17:46 ` Jens Rehpoehler
2012-02-13 17:10   ` Sage Weil
2012-02-13 17:13 ` Sage Weil
2012-02-16 14:42   ` Oliver Francke
2012-02-16 17:17     ` Sage Weil
2012-02-16 17:53       ` Oliver Francke
2012-02-16 18:02         ` Sage Weil
2012-02-17 14:00           ` Oliver Francke
2012-02-17 17:54             ` Sage Weil
2012-02-17 18:13               ` Oliver Francke

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=4F34CA99.6020905@filoo.de \
    --to=jens.rehpoehler@filoo.de \
    --cc=ceph-devel@vger.kernel.org \
    --cc=oliver.francke@filoo.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.