I tried to fix a 1 pg inconsistent by taking the osd 12 out, hoping for the data to be copied to a different osd, and that one would be used as 'active?'. - Would deleting the whole image in the rbd pool solve this? (or would it fail because of this status) - Should I have done this rather with osd 9? - Can't I force ceph to just one of the osd's 4MB object and then eg. Run fschk on the vm having this image? > ok > PG_STAT STATE UP UP_PRIMARY ACTING ACTING_PRIMARY > 17.36 active+degraded+remapped+inconsistent [9,0,13] 9 [9,0,12] 9 { "state": "active+degraded+remapped+inconsistent", "snap_trimq": "[]", "epoch": 8687, "up": [ 9, 0, 13 ], "acting": [ 9, 0, 12 ], "backfill_targets": [ "13" ], "actingbackfill": [ "0", "9", "12", "13" ], "info": { "pgid": "17.36", "last_update": "8686'95650", "last_complete": "0'0", "log_tail": "8387'91830", "last_user_version": 95650, "last_backfill": "MAX", "last_backfill_bitwise": 1, "purged_snaps": [ { "start": "1", "length": "3" } ], "history": { "epoch_created": 3636, "epoch_pool_created": 3636, "last_epoch_started": 8685, "last_interval_started": 8684, "last_epoch_clean": 8487, "last_interval_clean": 8486, "last_epoch_split": 0, "last_epoch_marked_full": 0, "same_up_since": 8683, "same_interval_since": 8684, "same_primary_since": 8392, "last_scrub": "8410'93917", "last_scrub_stamp": "2017-08-05 19:42:14.906055", "last_deep_scrub": "8410'93917", "last_deep_scrub_stamp": "2017-08-05 19:42:14.906055", "last_clean_scrub_stamp": "2017-07-29 20:21:18.626777" }, "stats": { "version": "8686'95650", "reported_seq": "141608", "reported_epoch": "8687", "state": "active+degraded+remapped+inconsistent", "last_fresh": "2017-08-07 17:16:25.902001", "last_change": "2017-08-07 17:16:25.902001", "last_active": "2017-08-07 17:16:25.902001", "last_peered": "2017-08-07 17:16:25.902001", "last_clean": "2017-08-06 16:52:33.999429", "last_became_active": "2017-08-07 13:01:14.646736", "last_became_peered": "2017-08-07 13:01:14.646736", "last_unstale": "2017-08-07 17:16:25.902001", "last_undegraded": "2017-08-07 13:01:13.683550", "last_fullsized": "2017-08-07 17:16:25.902001", "mapping_epoch": 8684, "log_start": "8387'91830", "ondisk_log_start": "8387'91830", "created": 3636, "last_epoch_clean": 8487, "parent": "0.0", "parent_split_bits": 0, "last_scrub": "8410'93917", "last_scrub_stamp": "2017-08-05 19:42:14.906055", "last_deep_scrub": "8410'93917", "last_deep_scrub_stamp": "2017-08-05 19:42:14.906055", "last_clean_scrub_stamp": "2017-07-29 20:21:18.626777", "log_size": 3820, "ondisk_log_size": 3820, "stats_invalid": false, "dirty_stats_invalid": false, "omap_stats_invalid": false, "hitset_stats_invalid": false, "hitset_bytes_stats_invalid": false, "pin_stats_invalid": false, "stat_sum": { "num_bytes": 7953924096, "num_objects": 1910, "num_object_clones": 30, "num_object_copies": 5730, "num_objects_missing_on_primary": 1, "num_objects_missing": 0, "num_objects_degraded": 0, "num_objects_misplaced": 1596, "num_objects_unfound": 1, "num_objects_dirty": 1910, "num_whiteouts": 0, "num_read": 32774, "num_read_kb": 1341008, "num_write": 189252, "num_write_kb": 9369192, "num_scrub_errors": 3, "num_shallow_scrub_errors": 0, "num_deep_scrub_errors": 3, "num_objects_recovered": 417, "num_bytes_recovered": 1732386816, "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 }, "up": [ 9, 0, 13 ], "acting": [ 9, 0, 12 ], "blocked_by": [], "up_primary": 9, "acting_primary": 9 }, "empty": 0, "dne": 0, "incomplete": 0, "last_epoch_started": 8685, "hit_set_history": { "current_last_update": "0'0", "history": [] } }, "peer_info": [ { "peer": "0", "pgid": "17.36", "last_update": "8686'95650", "last_complete": "8686'95650", "log_tail": "8387'91830", "last_user_version": 95648, "last_backfill": "MAX", "last_backfill_bitwise": 0, "purged_snaps": [ { "start": "1", "length": "3" } ], "history": { "epoch_created": 3636, "epoch_pool_created": 3636, "last_epoch_started": 8685, "last_interval_started": 8684, "last_epoch_clean": 8487, "last_interval_clean": 8486, "last_epoch_split": 0, "last_epoch_marked_full": 0, "same_up_since": 8683, "same_interval_since": 8684, "same_primary_since": 8392, "last_scrub": "8410'93917", "last_scrub_stamp": "2017-08-05 19:42:14.906055", "last_deep_scrub": "8410'93917", "last_deep_scrub_stamp": "2017-08-05 19:42:14.906055", "last_clean_scrub_stamp": "2017-07-29 20:21:18.626777" }, "stats": { "version": "8665'95647", "reported_seq": "138797", "reported_epoch": "8665", "state": "active+undersized+degraded+remapped+inconsistent", "last_fresh": "2017-08-07 10:37:20.253223", "last_change": "2017-08-07 10:36:59.061300", "last_active": "2017-08-07 10:37:20.253223", "last_peered": "2017-08-07 10:37:20.253223", "last_clean": "2017-08-06 16:52:33.999429", "last_became_active": "2017-08-06 19:30:57.309090", "last_became_peered": "2017-08-06 19:30:57.309090", "last_unstale": "2017-08-07 10:37:20.253223", "last_undegraded": "2017-08-06 19:30:57.245273", "last_fullsized": "2017-08-06 19:30:57.245273", "mapping_epoch": 8684, "log_start": "8387'91830", "ondisk_log_start": "8387'91830", "created": 3636, "last_epoch_clean": 8487, "parent": "0.0", "parent_split_bits": 0, "last_scrub": "8410'93917", "last_scrub_stamp": "2017-08-05 19:42:14.906055", "last_deep_scrub": "8410'93917", "last_deep_scrub_stamp": "2017-08-05 19:42:14.906055", "last_clean_scrub_stamp": "2017-07-29 20:21:18.626777", "log_size": 3817, "ondisk_log_size": 3817, "stats_invalid": false, "dirty_stats_invalid": false, "omap_stats_invalid": false, "hitset_stats_invalid": false, "hitset_bytes_stats_invalid": false, "pin_stats_invalid": false, "stat_sum": { "num_bytes": 7953924096, "num_objects": 1910, "num_object_clones": 30, "num_object_copies": 5730, "num_objects_missing_on_primary": 1, "num_objects_missing": 0, "num_objects_degraded": 1597, "num_objects_misplaced": 0, "num_objects_unfound": 1, "num_objects_dirty": 1910, "num_whiteouts": 0, "num_read": 32774, "num_read_kb": 1341008, "num_write": 189248, "num_write_kb": 9369168, "num_scrub_errors": 3, "num_shallow_scrub_errors": 0, "num_deep_scrub_errors": 3, "num_objects_recovered": 372, "num_bytes_recovered": 1543688192, "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 }, "up": [ 9, 0, 13 ], "acting": [ 9, 0, 12 ], "blocked_by": [], "up_primary": 9, "acting_primary": 9 }, "empty": 0, "dne": 0, "incomplete": 0, "last_epoch_started": 8685, "hit_set_history": { "current_last_update": "0'0", "history": [] } }, { "peer": "12", "pgid": "17.36", "last_update": "8686'95650", "last_complete": "8686'95650", "log_tail": "8387'91830", "last_user_version": 95648, "last_backfill": "MAX", "last_backfill_bitwise": 1, "purged_snaps": [ { "start": "1", "length": "3" } ], "history": { "epoch_created": 3636, "epoch_pool_created": 3636, "last_epoch_started": 8685, "last_interval_started": 8684, "last_epoch_clean": 8487, "last_interval_clean": 8486, "last_epoch_split": 0, "last_epoch_marked_full": 0, "same_up_since": 8683, "same_interval_since": 8684, "same_primary_since": 8392, "last_scrub": "8410'93917", "last_scrub_stamp": "2017-08-05 19:42:14.906055", "last_deep_scrub": "8410'93917", "last_deep_scrub_stamp": "2017-08-05 19:42:14.906055", "last_clean_scrub_stamp": "2017-07-29 20:21:18.626777" }, "stats": { "version": "8665'95648", "reported_seq": "139912", "reported_epoch": "8676", "state": "remapped+inconsistent+peering", "last_fresh": "2017-08-07 12:54:23.763015", "last_change": "2017-08-07 12:54:22.763361", "last_active": "2017-08-07 12:54:20.970465", "last_peered": "2017-08-07 12:54:20.784268", "last_clean": "2017-08-06 16:52:33.999429", "last_became_active": "2017-08-06 19:30:57.309090", "last_became_peered": "2017-08-06 19:30:57.309090", "last_unstale": "2017-08-07 12:54:23.763015", "last_undegraded": "2017-08-07 12:54:23.763015", "last_fullsized": "2017-08-07 12:54:23.763015", "mapping_epoch": 8684, "log_start": "8387'91830", "ondisk_log_start": "8387'91830", "created": 3636, "last_epoch_clean": 8487, "parent": "0.0", "parent_split_bits": 0, "last_scrub": "8410'93917", "last_scrub_stamp": "2017-08-05 19:42:14.906055", "last_deep_scrub": "8410'93917", "last_deep_scrub_stamp": "2017-08-05 19:42:14.906055", "last_clean_scrub_stamp": "2017-07-29 20:21:18.626777", "log_size": 3818, "ondisk_log_size": 3818, "stats_invalid": false, "dirty_stats_invalid": false, "omap_stats_invalid": false, "hitset_stats_invalid": false, "hitset_bytes_stats_invalid": false, "pin_stats_invalid": false, "stat_sum": { "num_bytes": 7953924096, "num_objects": 1910, "num_object_clones": 30, "num_object_copies": 5730, "num_objects_missing_on_primary": 1, "num_objects_missing": 0, "num_objects_degraded": 0, "num_objects_misplaced": 0, "num_objects_unfound": 0, "num_objects_dirty": 1910, "num_whiteouts": 0, "num_read": 32774, "num_read_kb": 1341008, "num_write": 189248, "num_write_kb": 9369168, "num_scrub_errors": 3, "num_shallow_scrub_errors": 0, "num_deep_scrub_errors": 3, "num_objects_recovered": 372, "num_bytes_recovered": 1543688192, "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 }, "up": [ 9, 0, 13 ], "acting": [ 9, 0, 12 ], "blocked_by": [], "up_primary": 9, "acting_primary": 9 }, "empty": 0, "dne": 0, "incomplete": 0, "last_epoch_started": 8685, "hit_set_history": { "current_last_update": "0'0", "history": [] } }, { "peer": "13", "pgid": "17.36", "last_update": "8686'95650", "last_complete": "8686'95650", "log_tail": "8387'91897", "last_user_version": 95648, "last_backfill": "17:6ca1a791:::rbd_data.1fff61238e1f29.000000000000f101:head", "last_backfill_bitwise": 1, "purged_snaps": [ { "start": "1", "length": "3" } ], "history": { "epoch_created": 3636, "epoch_pool_created": 3636, "last_epoch_started": 8685, "last_interval_started": 8684, "last_epoch_clean": 8487, "last_interval_clean": 8486, "last_epoch_split": 0, "last_epoch_marked_full": 0, "same_up_since": 8683, "same_interval_since": 8684, "same_primary_since": 8392, "last_scrub": "8410'93917", "last_scrub_stamp": "2017-08-05 19:42:14.906055", "last_deep_scrub": "8410'93917", "last_deep_scrub_stamp": "2017-08-05 19:42:14.906055", "last_clean_scrub_stamp": "2017-07-29 20:21:18.626777" }, "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": 8684, "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, "stat_sum": { "num_bytes": 1300312064, "num_objects": 314, "num_object_clones": 8, "num_object_copies": 0, "num_objects_missing_on_primary": 0, "num_objects_missing": 0, "num_objects_degraded": 0, "num_objects_misplaced": 0, "num_objects_unfound": 0, "num_objects_dirty": 314, "num_whiteouts": 0, "num_read": 0, "num_read_kb": 0, "num_write": 52, "num_write_kb": 1156, "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 }, "up": [ 9, 0, 13 ], "acting": [ 9, 0, 12 ], "blocked_by": [], "up_primary": 9, "acting_primary": 9 }, "empty": 0, "dne": 0, "incomplete": 1, "last_epoch_started": 8685, "hit_set_history": { "current_last_update": "0'0", "history": [] } } ], "recovery_state": [ { "name": "Started/Primary/Active", "enter_time": "2017-08-07 13:01:13.683615", "might_have_unfound": [ { "osd": "0", "status": "already probed" }, { "osd": "12", "status": "already probed" }, { "osd": "13", "status": "already probed" } ], "recovery_progress": { "backfill_targets": [ "13" ], "waiting_on_backfill": [], "last_backfill_started": "17:6ca1a791:::rbd_data.1fff61238e1f29.000000000000f101:head", "backfill_info": { "begin": "MIN", "end": "MIN", "objects": [] }, "peer_backfill_info": [], "backfills_in_flight": [], "recovering": [], "pg_backend": { "pull_from_peer": [], "pushing": [] } }, "scrub": { "scrubber.epoch_start": "8408", "scrubber.active": false, "scrubber.state": "INACTIVE", "scrubber.start": "MIN", "scrubber.end": "MIN", "scrubber.subset_last_update": "0'0", "scrubber.deep": false, "scrubber.seed": 0, "scrubber.waiting_on": 0, "scrubber.waiting_on_whom": [] } }, { "name": "Started", "enter_time": "2017-08-07 13:01:12.684802" } ], "agent_state": {} } _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com