# ceph pg 4.a3 query { "snap_trimq": "[]", "snap_trimq_len": 0, "state": "activating+undersized+degraded+remapped", "epoch": 640, "up": [ 7, 0, 8 ], "acting": [ 7, 8 ], "async_recovery_targets": [ "0" ], "acting_recovery_backfill": [ "0", "7", "8" ], "info": { "pgid": "4.a3", "last_update": "373'783", "last_complete": "373'783", "log_tail": "0'0", "last_user_version": 783, "last_backfill": "MAX", "purged_snaps": [], "history": { "epoch_created": 281, "epoch_pool_created": 277, "last_epoch_started": 461, "last_interval_started": 460, "last_epoch_clean": 437, "last_interval_clean": 436, "last_epoch_split": 281, "last_epoch_marked_full": 0, "same_up_since": 532, "same_interval_since": 533, "same_primary_since": 382, "last_scrub": "373'783", "last_scrub_stamp": "2021-11-16T09:27:52.382799+0000", "last_deep_scrub": "301'93", "last_deep_scrub_stamp": "2021-11-12T01:22:57.943041+0000", "last_clean_scrub_stamp": "2021-11-16T09:27:52.382799+0000", "prior_readable_until_ub": 13.203500275 }, "stats": { "version": "373'783", "reported_seq": 1321, "reported_epoch": 640, "state": "activating+undersized+degraded+remapped", "last_fresh": "2021-11-16T10:58:15.112866+0000", "last_change": "2021-11-16T10:43:18.311446+0000", "last_active": "2021-11-16T10:43:16.294751+0000", "last_peered": "2021-11-16T10:43:15.363400+0000", "last_clean": "2021-11-16T10:33:29.421037+0000", "last_became_active": "2021-11-16T10:33:31.489138+0000", "last_became_peered": "2021-11-16T10:33:31.489138+0000", "last_unstale": "2021-11-16T10:58:15.112866+0000", "last_undegraded": "2021-11-16T10:43:18.298347+0000", "last_fullsized": "2021-11-16T10:43:18.295033+0000", "mapping_epoch": 533, "log_start": "0'0", "ondisk_log_start": "0'0", "created": 281, "last_epoch_clean": 437, "parent": "0.0", "parent_split_bits": 8, "last_scrub": "373'783", "last_scrub_stamp": "2021-11-16T09:27:52.382799+0000", "last_deep_scrub": "301'93", "last_deep_scrub_stamp": "2021-11-12T01:22:57.943041+0000", "last_clean_scrub_stamp": "2021-11-16T09:27:52.382799+0000", "log_size": 783, "ondisk_log_size": 783, "stats_invalid": false, "dirty_stats_invalid": false, "omap_stats_invalid": false, "hitset_stats_invalid": false, "hitset_bytes_stats_invalid": false, "pin_stats_invalid": false, "manifest_stats_invalid": false, "snaptrimq_len": 0, "stat_sum": { "num_bytes": 4169728, "num_objects": 1, "num_object_clones": 0, "num_object_copies": 3, "num_objects_missing_on_primary": 0, "num_objects_missing": 0, "num_objects_degraded": 1, "num_objects_misplaced": 0, "num_objects_unfound": 0, "num_objects_dirty": 1, "num_whiteouts": 0, "num_read": 782, "num_read_kb": 0, "num_write": 783, "num_write_kb": 34408, "num_scrub_errors": 0, "num_shallow_scrub_errors": 0, "num_deep_scrub_errors": 0, "num_objects_recovered": 3, "num_bytes_recovered": 12435456, "num_keys_recovered": 0, "num_objects_omap": 0, "num_objects_hit_set_archive": 0, "num_bytes_hit_set_archive": 0, "num_flush": 0, "num_flush_kb": 0, "num_evict": 0, "num_evict_kb": 0, "num_promote": 0, "num_flush_mode_high": 0, "num_flush_mode_low": 0, "num_evict_mode_some": 0, "num_evict_mode_full": 0, "num_objects_pinned": 0, "num_legacy_snapsets": 0, "num_large_omap_objects": 0, "num_objects_manifest": 0, "num_omap_bytes": 0, "num_omap_keys": 0, "num_objects_repaired": 0 }, "up": [ 7, 0, 8 ], "acting": [ 7, 8 ], "avail_no_missing": [ "7", "8" ], "object_location_counts": [ { "shards": "7,8", "objects": 1 } ], "blocked_by": [], "up_primary": 7, "acting_primary": 7, "purged_snaps": [] }, "empty": 0, "dne": 0, "incomplete": 0, "last_epoch_started": 534, "hit_set_history": { "current_last_update": "0'0", "history": [] } }, "peer_info": [ { "peer": "0", "pgid": "4.a3", "last_update": "373'783", "last_complete": "0'0", "log_tail": "0'0", "last_user_version": 0, "last_backfill": "MAX", "purged_snaps": [], "history": { "epoch_created": 0, "epoch_pool_created": 0, "last_epoch_started": 0, "last_interval_started": 0, "last_epoch_clean": 0, "last_interval_clean": 0, "last_epoch_split": 0, "last_epoch_marked_full": 0, "same_up_since": 0, "same_interval_since": 0, "same_primary_since": 0, "last_scrub": "0'0", "last_scrub_stamp": "0.000000", "last_deep_scrub": "0'0", "last_deep_scrub_stamp": "0.000000", "last_clean_scrub_stamp": "0.000000", "prior_readable_until_ub": 0 }, "stats": { "version": "0'0", "reported_seq": 0, "reported_epoch": 0, "state": "unknown", "last_fresh": "0.000000", "last_change": "0.000000", "last_active": "0.000000", "last_peered": "0.000000", "last_clean": "0.000000", "last_became_active": "0.000000", "last_became_peered": "0.000000", "last_unstale": "0.000000", "last_undegraded": "0.000000", "last_fullsized": "0.000000", "mapping_epoch": 0, "log_start": "0'0", "ondisk_log_start": "0'0", "created": 0, "last_epoch_clean": 0, "parent": "0.0", "parent_split_bits": 0, "last_scrub": "0'0", "last_scrub_stamp": "0.000000", "last_deep_scrub": "0'0", "last_deep_scrub_stamp": "0.000000", "last_clean_scrub_stamp": "0.000000", "log_size": 0, "ondisk_log_size": 0, "stats_invalid": false, "dirty_stats_invalid": false, "omap_stats_invalid": false, "hitset_stats_invalid": false, "hitset_bytes_stats_invalid": false, "pin_stats_invalid": false, "manifest_stats_invalid": false, "snaptrimq_len": 0, "stat_sum": { "num_bytes": 0, "num_objects": 0, "num_object_clones": 0, "num_object_copies": 0, "num_objects_missing_on_primary": 0, "num_objects_missing": 1, "num_objects_degraded": 0, "num_objects_misplaced": 0, "num_objects_unfound": 0, "num_objects_dirty": 0, "num_whiteouts": 0, "num_read": 0, "num_read_kb": 0, "num_write": 0, "num_write_kb": 0, "num_scrub_errors": 0, "num_shallow_scrub_errors": 0, "num_deep_scrub_errors": 0, "num_objects_recovered": 0, "num_bytes_recovered": 0, "num_keys_recovered": 0, "num_objects_omap": 0, "num_objects_hit_set_archive": 0, "num_bytes_hit_set_archive": 0, "num_flush": 0, "num_flush_kb": 0, "num_evict": 0, "num_evict_kb": 0, "num_promote": 0, "num_flush_mode_high": 0, "num_flush_mode_low": 0, "num_evict_mode_some": 0, "num_evict_mode_full": 0, "num_objects_pinned": 0, "num_legacy_snapsets": 0, "num_large_omap_objects": 0, "num_objects_manifest": 0, "num_omap_bytes": 0, "num_omap_keys": 0, "num_objects_repaired": 0 }, "up": [], "acting": [], "avail_no_missing": [], "object_location_counts": [], "blocked_by": [], "up_primary": -1, "acting_primary": -1, "purged_snaps": [] }, "empty": 0, "dne": 1, "incomplete": 0, "last_epoch_started": 0, "hit_set_history": { "current_last_update": "0'0", "history": [] } }, { "peer": "8", "pgid": "4.a3", "last_update": "373'783", "last_complete": "373'783", "log_tail": "0'0", "last_user_version": 783, "last_backfill": "MAX", "purged_snaps": [], "history": { "epoch_created": 281, "epoch_pool_created": 277, "last_epoch_started": 461, "last_interval_started": 460, "last_epoch_clean": 437, "last_interval_clean": 436, "last_epoch_split": 281, "last_epoch_marked_full": 0, "same_up_since": 532, "same_interval_since": 533, "same_primary_since": 382, "last_scrub": "373'783", "last_scrub_stamp": "2021-11-16T09:27:52.382799+0000", "last_deep_scrub": "301'93", "last_deep_scrub_stamp": "2021-11-12T01:22:57.943041+0000", "last_clean_scrub_stamp": "2021-11-16T09:27:52.382799+0000", "prior_readable_until_ub": 14.189524543999999 }, "stats": { "version": "373'782", "reported_seq": 953, "reported_epoch": 373, "state": "active+undersized+degraded", "last_fresh": "2021-11-16T06:52:13.346744+0000", "last_change": "2021-11-15T17:03:47.415048+0000", "last_active": "2021-11-16T06:52:13.346744+0000", "last_peered": "2021-11-16T06:52:13.346744+0000", "last_clean": "2021-11-15T17:01:45.127286+0000", "last_became_active": "2021-11-15T17:03:47.415048+0000", "last_became_peered": "2021-11-15T17:03:47.415048+0000", "last_unstale": "2021-11-16T06:52:13.346744+0000", "last_undegraded": "2021-11-15T17:03:47.405906+0000", "last_fullsized": "2021-11-15T17:03:47.405801+0000", "mapping_epoch": 533, "log_start": "0'0", "ondisk_log_start": "0'0", "created": 281, "last_epoch_clean": 370, "parent": "0.0", "parent_split_bits": 8, "last_scrub": "326'415", "last_scrub_stamp": "2021-11-14T16:24:36.755572+0000", "last_deep_scrub": "301'93", "last_deep_scrub_stamp": "2021-11-12T01:22:57.943041+0000", "last_clean_scrub_stamp": "2021-11-14T16:24:36.755572+0000", "log_size": 782, "ondisk_log_size": 782, "stats_invalid": false, "dirty_stats_invalid": false, "omap_stats_invalid": false, "hitset_stats_invalid": false, "hitset_bytes_stats_invalid": false, "pin_stats_invalid": false, "manifest_stats_invalid": false, "snaptrimq_len": 0, "stat_sum": { "num_bytes": 4169728, "num_objects": 1, "num_object_clones": 0, "num_object_copies": 3, "num_objects_missing_on_primary": 0, "num_objects_missing": 0, "num_objects_degraded": 1, "num_objects_misplaced": 0, "num_objects_unfound": 0, "num_objects_dirty": 1, "num_whiteouts": 0, "num_read": 782, "num_read_kb": 0, "num_write": 783, "num_write_kb": 34408, "num_scrub_errors": 0, "num_shallow_scrub_errors": 0, "num_deep_scrub_errors": 0, "num_objects_recovered": 0, "num_bytes_recovered": 0, "num_keys_recovered": 0, "num_objects_omap": 0, "num_objects_hit_set_archive": 0, "num_bytes_hit_set_archive": 0, "num_flush": 0, "num_flush_kb": 0, "num_evict": 0, "num_evict_kb": 0, "num_promote": 0, "num_flush_mode_high": 0, "num_flush_mode_low": 0, "num_evict_mode_some": 0, "num_evict_mode_full": 0, "num_objects_pinned": 0, "num_legacy_snapsets": 0, "num_large_omap_objects": 0, "num_objects_manifest": 0, "num_omap_bytes": 0, "num_omap_keys": 0, "num_objects_repaired": 0 }, "up": [ 7, 0, 8 ], "acting": [ 7, 8 ], "avail_no_missing": [ "0", "8" ], "object_location_counts": [ { "shards": "0,8", "objects": 1 } ], "blocked_by": [], "up_primary": 7, "acting_primary": 7, "purged_snaps": [] }, "empty": 0, "dne": 0, "incomplete": 0, "last_epoch_started": 461, "hit_set_history": { "current_last_update": "0'0", "history": [] } } ], "recovery_state": [ { "name": "Started/Primary/Active", "enter_time": "2021-11-16T10:43:18.295392+0000", "might_have_unfound": [ { "osd": "0", "status": "already probed" }, { "osd": "3", "status": "not queried" }, { "osd": "8", "status": "already probed" } ], "recovery_progress": { "backfill_targets": [], "waiting_on_backfill": [], "last_backfill_started": "MIN", "backfill_info": { "begin": "MIN", "end": "MIN", "objects": [] }, "peer_backfill_info": [], "backfills_in_flight": [], "recovering": [], "pg_backend": { "pull_from_peer": [], "pushing": [] } } }, { "name": "Started", "enter_time": "2021-11-16T10:43:18.294931+0000" } ], "agent_state": {} }
Le mar. 16 nov. 2021 à 13:07, Stefan Kooman <ste...@bit.nl> a écrit : > On 11/16/21 12:40, Joffrey wrote: > > Hi, > > > > /# ceph pg dump_stuck > > PG_STAT STATE UP UP_PRIMARY > > ACTING ACTING_PRIMARY > > 4.a3 activating+undersized+degraded+remapped [7,0,8] 7 > > [7,8] 7 > > ok > > > > # ceph pg map 4.a3 > > osdmap e640 pg 4.a3 (4.a3) -> up [7,0,8] acting [7,8] > > > > # ceph tell osd.7 config set debug_osd 20 > > What does ceph pg 4.a3 query show? > > Gr. Stefan > _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-le...@ceph.io