From: Alexey Kurnosov Subject: Re: incomplete PG Date: Tue, 10 Jun 2014 13:54:51 +0400 Message-ID: <20140610095451.GH9160@unsen.q53.spb.ru> References: <20140606132000.GA17468@unsen.q53.spb.ru> <20140606191851.GB17468@unsen.q53.spb.ru> <20140609131011.GC17468@unsen.q53.spb.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MrRUTeZlqqNo1jQ9" Return-path: Received: from 94.19.218.213.pool.sknt.ru ([94.19.218.213]:38831 "EHLO q53.spb.ru" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1750788AbaFJJy6 (ORCPT ); Tue, 10 Jun 2014 05:54:58 -0400 Content-Disposition: inline In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Dong Yuan Cc: Ceph Development --MrRUTeZlqqNo1jQ9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 10, 2014 at 08:58:30AM +0800, Dong Yuan wrote: > Sorry, the last sentence should be "You can NOT remove PG, except you > remove the whole Pool." >=20 > On 10 June 2014 08:57, Dong Yuan wrote: > > InComplete PG means this PG can't get enough metadata (PG logs) to > > enter Active state. This may be because some unrepairable data damage. But at least there should be a method to put a incomplete PG in some more r= easonable state for a futher forensic and retrieving other data from good PGs, in which rbd= kernel driver could return EIO for example, not just hang on I/O wait. Is it possible? > > > > You can remove PG, except you remove the whole Pool. > > > > On 9 June 2014 21:10, Alexey Kurnosov wrote: > >> > >> Guys, what should i do to erase an incomplete PG? > >> Use special utils, hexedit, any methods? > >> > >> > >> On Fri, Jun 06, 2014 at 11:18:51PM +0400, Alexey Kurnosov wrote: > >>> On Fri, Jun 06, 2014 at 08:57:46AM -0700, Sage Weil wrote: > >>> > On Fri, 6 Jun 2014, Alexey Kurnosov wrote: > >>> > > Hi all. > >>> > > > >>> > > Sorry for a rude offtop, but looks like nobody can help me at cep= h-users. > >>> > > Here is the link to my email: > >>> > > http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-June/040= 383.html > >>> > > Here some additional data: > >>> > > http://pastebin.com/Nc4y3S1U > >>> > > > >>> > > During read requests i can see in logs: > >>> > > 2014-06-06 13:28:08.586262 7f335f29f700 10 osd.7 21942 dequeue_op= 0x356cb40 prio 127 cost 0 latency 0.000352 osd_op(client.11324.1:436 rb.0.= 1465.2ae8944a.000000000bb1 [read 0~131072] 4.b940a077 e21942) v4 pg pg[4.77= ( empty local-les=3D0 n=3D0 ec=3D144 les/c 19162/16786 21941/21941/21941) [= 7,2] r=3D0 lpr=3D21941 pi=3D8764-21940/115 mlcod 0'0 incomplete] > >>> > > > >>> > > > >>> > > Any help would be appreciated. > >>> > > >>> > This looks like a hangup somewhere in teh osd/osd communication tha= t is > >>> > preventing the peering/probing from happening. Since you're running > >>> > emperor and we stopped testing and backporting fixes there a while = back > >>> > I'm not sure offhand what bug fix is missing. My suggestion is to = upgrade > >>> > to 0.80.1 firefly as a first step. > >>> Upgrade has been performed. I do not see any changes. > >>> > >>> > >>> > > >>> > FWIW simply restartin the OSDs involved in those PGs will probably = also > >>> > get things rolling, but this bug will still be present. > >>> I restarted it many times. Looks like PG copies all are incomplete. > >>> > >>> > >>> > > >>> > sage > >>> > > >>> > > >>> > > > >>> > > > >>> > > (Somebody hit similar issue here: http://lists.ceph.com/pipermail= /ceph-users-ceph.com/2014-February/007948.html) > >>> > > > >>> > > -- > >>> > > Alexey Kurnosov > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > >>> -- > >>> Alexey Kurnosov > >>> > >> > >> > > > > > > > > -- > > Dong Yuan > > Email:yuandong1222@gmail.com >=20 >=20 >=20 > --=20 > Dong Yuan > Email:yuandong1222@gmail.com > -- > 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 --MrRUTeZlqqNo1jQ9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJTltXrAAoJEOvtiXwvSWEqWccH/jFOJVgAKgHy3kkXm7CVwJvU 2jz6bjV9eUyYDm29zxiRZ4nREVEzi+8aEb5nR8Uw0ijvVyBwdmYr8JQcsi4Nlbyf pwWlqhd8NhXQwAfBY+dgkxoDS/vWqZR6SlQARF1NqCBVWsyZXryEOjZ4KgRPQ0li UqaDSVgYXo0IvPp1NfblnNvzkr0ZeIOD4Bu0CtaBSZhKN8x9IoUxLmt7RLl+AcjM 2X1UM4uUz0tWKV8npO6Pk85rCvlAUz6bH9160EQLQkuf31E3OLaOeg+7duLuXIiT V2R6XuLj4g5JVDRmqi6Neir5zv0L5U2wW/5sLPAFZVCHGby9Owri+AtqscSuHE0= =i5Zp -----END PGP SIGNATURE----- --MrRUTeZlqqNo1jQ9--