Re: Ceph Cluster with Deeo Scrub Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 04.07.2017 um 17:58 schrieb Etienne Menguy:
> rados list-inconsistent-ob

Hello,


Sorry for my late reply. We installed some new Server and now wie have
osd pool default size = 3.

At this Point i tried again to repair the with ceph pg rair and ceph pg
deep-srub. I tried to delete again rados Objects like
https://www.sebastien-han.fr/blog/2015/04/27/ceph-manually-repair-object/.

So i had after Ceph sync 3 Objects the Thinking that the Cluster now
repairs itself.

So i tried to to touch on the primary osd the the deleted object ago, on
all 3 osd, and restarted the osd and ceph pg repair.

Today i tried ceph health details and saw that the nothing happend.

The last Entry in the logs are the Errors from the first event.

What can i do to repair this?

A ceph pg query shows:

{
    "state": "active+clean+inconsistent",
    "snap_trimq": "[]",
    "epoch": 3442,
    "up": [
        6,
        4,
        5
    ],
    "acting": [
        6,
        4,
        5
    ],
    "actingbackfill": [
        "4",
        "5",
        "6"
    ],
    "info": {
        "pgid": "1.4c",
        "last_update": "3257'297879",
        "last_complete": "3257'297879",
        "log_tail": "3017'294194",
        "last_user_version": 297274,
        "last_backfill": "MAX",
        "last_backfill_bitwise": 1,
        "purged_snaps": "[1~3]",
        "history": {
            "epoch_created": 30,
            "last_epoch_started": 3439,
            "last_epoch_clean": 3439,
            "last_epoch_split": 0,
            "last_epoch_marked_full": 0,
            "same_up_since": 3437,
            "same_interval_since": 3438,
            "same_primary_since": 3433,
            "last_scrub": "3257'297879",
            "last_scrub_stamp": "2017-08-10 07:11:19.390861",
            "last_deep_scrub": "3257'297879",
            "last_deep_scrub_stamp": "2017-08-10 07:11:19.390861",
            "last_clean_scrub_stamp": "2017-07-06 19:55:03.540097"
        },
        "stats": {
            "version": "3257'297879",
            "reported_seq": "646820",
            "reported_epoch": "3439",
            "state": "active+clean+inconsistent",
            "last_fresh": "2017-08-14 18:40:20.668895",
            "last_change": "2017-08-14 18:40:20.668895",
            "last_active": "2017-08-14 18:40:20.668895",
            "last_peered": "2017-08-14 18:40:20.668895",
            "last_clean": "2017-08-14 18:40:20.668895",
            "last_became_active": "2017-08-14 18:40:20.624556",
            "last_became_peered": "2017-08-14 18:40:20.624556",
            "last_unstale": "2017-08-14 18:40:20.668895",
            "last_undegraded": "2017-08-14 18:40:20.668895",
            "last_fullsized": "2017-08-14 18:40:20.668895",
            "mapping_epoch": 3437,
            "log_start": "3017'294194",
            "ondisk_log_start": "3017'294194",
            "created": 30,
            "last_epoch_clean": 3439,
            "parent": "0.0",
            "parent_split_bits": 0,
            "last_scrub": "3257'297879",
            "last_scrub_stamp": "2017-08-10 07:11:19.390861",
            "last_deep_scrub": "3257'297879",
            "last_deep_scrub_stamp": "2017-08-10 07:11:19.390861",
            "last_clean_scrub_stamp": "2017-07-06 19:55:03.540097",
            "log_size": 3685,
            "ondisk_log_size": 3685,
            "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": 202010947584,
                "num_objects": 48309,
                "num_object_clones": 0,
                "num_object_copies": 144927,
                "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": 48309,
                "num_whiteouts": 0,
                "num_read": 1033913,
                "num_read_kb": 128529336,
                "num_write": 547200,
                "num_write_kb": 754707388,
                "num_scrub_errors": 2,
                "num_shallow_scrub_errors": 0,
                "num_deep_scrub_errors": 2,
                "num_objects_recovered": 280690,
                "num_bytes_recovered": 1170817835008,
                "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
            },
            "up": [
                6,
                4,
                5
            ],
            "acting": [
                6,
                4,
                5
            ],
            "blocked_by": [],
            "up_primary": 6,
            "acting_primary": 6
        },
        "empty": 0,
        "dne": 0,
        "incomplete": 0,
        "last_epoch_started": 3439,
        "hit_set_history": {
            "current_last_update": "0'0",
            "history": []
        }
    },
    "peer_info": [
        {
            "peer": "4",
            "pgid": "1.4c",
            "last_update": "3257'297879",
            "last_complete": "3257'297879",
            "log_tail": "3017'294194",
            "last_user_version": 297274,
            "last_backfill": "MAX",
            "last_backfill_bitwise": 0,
            "purged_snaps": "[1~3]",
            "history": {
                "epoch_created": 30,
                "last_epoch_started": 3439,
                "last_epoch_clean": 3439,
                "last_epoch_split": 0,
                "last_epoch_marked_full": 0,
                "same_up_since": 3437,
                "same_interval_since": 3438,
                "same_primary_since": 3433,
                "last_scrub": "3257'297879",
                "last_scrub_stamp": "2017-08-10 07:11:19.390861",
                "last_deep_scrub": "3257'297879",
                "last_deep_scrub_stamp": "2017-08-10 07:11:19.390861",
                "last_clean_scrub_stamp": "2017-07-06 19:55:03.540097"
            },
            "stats": {
                "version": "3257'297879",
                "reported_seq": "646750",
                "reported_epoch": "3432",
                "state": "remapped+inconsistent+peering",
                "last_fresh": "2017-08-14 18:17:44.217149",
                "last_change": "2017-08-14 18:17:44.179923",
                "last_active": "2017-08-14 18:12:44.226180",
                "last_peered": "2017-08-14 18:12:44.226180",
                "last_clean": "2017-08-10 07:11:12.970992",
                "last_became_active": "2017-08-14 18:12:44.224330",
                "last_became_peered": "2017-08-14 18:12:44.224330",
                "last_unstale": "2017-08-14 18:17:44.217149",
                "last_undegraded": "2017-08-14 18:17:44.217149",
                "last_fullsized": "2017-08-14 18:17:44.217149",
                "mapping_epoch": 3437,
                "log_start": "3017'294194",
                "ondisk_log_start": "3017'294194",
                "created": 30,
                "last_epoch_clean": 3431,
                "parent": "0.0",
                "parent_split_bits": 0,
                "last_scrub": "3257'297879",
                "last_scrub_stamp": "2017-08-10 07:11:19.390861",
                "last_deep_scrub": "3257'297879",
                "last_deep_scrub_stamp": "2017-08-10 07:11:19.390861",
                "last_clean_scrub_stamp": "2017-07-06 19:55:03.540097",
                "log_size": 3685,
                "ondisk_log_size": 3685,
                "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": 202010947584,
                    "num_objects": 48309,
                    "num_object_clones": 0,
                    "num_object_copies": 144927,
                    "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": 48309,
                    "num_whiteouts": 0,
                    "num_read": 1033913,
                    "num_read_kb": 128529336,
                    "num_write": 547200,
                    "num_write_kb": 754707388,
                    "num_scrub_errors": 2,
                    "num_shallow_scrub_errors": 0,
                    "num_deep_scrub_errors": 2,
                    "num_objects_recovered": 280690,
                    "num_bytes_recovered": 1170817835008,
                    "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
                },
                "up": [
                    6,
                    4,
                    5
                ],
                "acting": [
                    6,
                    4,
                    5
                ],
                "blocked_by": [],
                "up_primary": 6,
                "acting_primary": 6
            },
            "empty": 0,
            "dne": 0,
            "incomplete": 0,
            "last_epoch_started": 3439,
            "hit_set_history": {
                "current_last_update": "0'0",
                "history": []
            }
        },
        {
            "peer": "5",
            "pgid": "1.4c",
            "last_update": "3257'297879",
            "last_complete": "3257'297879",
            "log_tail": "3017'294194",
            "last_user_version": 297274,
            "last_backfill": "MAX",
            "last_backfill_bitwise": 1,
            "purged_snaps": "[1~3]",
            "history": {
                "epoch_created": 30,
                "last_epoch_started": 3439,
                "last_epoch_clean": 3439,
                "last_epoch_split": 0,
                "last_epoch_marked_full": 0,
                "same_up_since": 3437,
                "same_interval_since": 3438,
                "same_primary_since": 3433,
                "last_scrub": "3257'297879",
                "last_scrub_stamp": "2017-08-10 07:11:19.390861",
                "last_deep_scrub": "3257'297879",
                "last_deep_scrub_stamp": "2017-08-10 07:11:19.390861",
                "last_clean_scrub_stamp": "2017-07-06 19:55:03.540097"
            },
            "stats": {
                "version": "3257'297876",
                "reported_seq": "646698",
                "reported_epoch": "3257",
                "state": "active+clean+scrubbing+deep+inconsistent",
                "last_fresh": "2017-08-10 07:11:12.970992",
                "last_change": "2017-08-10 06:23:02.719764",
                "last_active": "2017-08-10 07:11:12.970992",
                "last_peered": "2017-08-10 07:11:12.970992",
                "last_clean": "2017-08-10 07:11:12.970992",
                "last_became_active": "2017-08-07 19:11:26.631457",
                "last_became_peered": "2017-08-07 19:11:26.631457",
                "last_unstale": "2017-08-10 07:11:12.970992",
                "last_undegraded": "2017-08-10 07:11:12.970992",
                "last_fullsized": "2017-08-10 07:11:12.970992",
                "mapping_epoch": 3437,
                "log_start": "3017'294194",
                "ondisk_log_start": "3017'294194",
                "created": 30,
                "last_epoch_clean": 3117,
                "parent": "0.0",
                "parent_split_bits": 0,
                "last_scrub": "2206'284323",
                "last_scrub_stamp": "2017-07-26 07:13:06.823370",
                "last_deep_scrub": "2206'284323",
                "last_deep_scrub_stamp": "2017-07-26 07:13:06.823370",
                "last_clean_scrub_stamp": "2017-07-06 19:55:03.540097",
                "log_size": 3682,
                "ondisk_log_size": 3682,
                "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": 202010947584,
                    "num_objects": 48309,
                    "num_object_clones": 0,
                    "num_object_copies": 144927,
                    "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": 48309,
                    "num_whiteouts": 0,
                    "num_read": 1033913,
                    "num_read_kb": 128529336,
                    "num_write": 547200,
                    "num_write_kb": 754707388,
                    "num_scrub_errors": 2,
                    "num_shallow_scrub_errors": 0,
                    "num_deep_scrub_errors": 2,
                    "num_objects_recovered": 280690,
                    "num_bytes_recovered": 1170817835008,
                    "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
                },
                "up": [
                    6,
                    4,
                    5
                ],
                "acting": [
                    6,
                    4,
                    5
                ],
                "blocked_by": [],
                "up_primary": 6,
                "acting_primary": 6
            },
            "empty": 0,
            "dne": 0,
            "incomplete": 0,
            "last_epoch_started": 3439,
            "hit_set_history": {
                "current_last_update": "0'0",
                "history": []
            }
        }
    ],
    "recovery_state": [
        {
            "name": "Started\/Primary\/Active",
            "enter_time": "2017-08-14 18:40:20.577962",
            "might_have_unfound": [],
            "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": []
                }
            },
            "scrub": {
                "scrubber.epoch_start": "0",
                "scrubber.active": 0,
                "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-14 18:40:19.571536"
        }
    ],
    "agent_state": {}
}

Hauke

-- 
www.w3-creative.de

www.westchat.de

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux