Skip to contentSkip to conversation

deleting non existing pgs ?

DISCUSSION norbi 2 participants 3 messages Dec 19, 2012 2 messages not in the archive

lore
Share & tools
lore

norbi

author
#0 lore raw

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

A message that is not in the archive (sent off-list or not yet received): CA+4uBUa1wYYJWaNgTodWLexu45zArKyuzxN9KXdjOP+O2A81NA@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): CA+4uBUaETcFoV2BQtsakZa1ZhvLo0rgLyM1vwjubqAvA-g7Cjg@mail.gmail.com

author
#3 lore raw

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...

Quoted 40 lines · Samuel Just

Note, however, that it will render the objects previously stored there permanently lost. Better would be bringing the osds in question back up.
-Sam

Quoted 34 lines · Samuel Just

ceph pg force_create_pg <pgid> should cause it to be re-created empty. -Sam

Quoted 30 lines · norbi

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw

Ceph can be configured that way using crush. See
http://ceph.com/docs/master/rados/operations/crush-map/
-Sam

Quoted 54 lines · norbi

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...

Quoted 48 lines · Samuel Just

Note, however, that it will render the objects previously stored there permanently lost. Better would be bringing the osds in question back up.
-Sam

Quoted 41 lines · Samuel Just

ceph pg force_create_pg <pgid> should cause it to be re-created empty. -Sam

Quoted 36 lines · norbi

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html