Re: One pg stuck in active+undersized+degraded after OSD down

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

 



Sure. Tx.

# ceph pg 3.1f query
{
    "snap_trimq": "[]",
    "snap_trimq_len": 0,
    "state": "active+undersized+degraded",
    "epoch": 2477,
    "up": [
        0,
        2
    ],
    "acting": [
        0,
        2
    ],
    "acting_recovery_backfill": [
        "0",
        "2"
    ],
    "info": {
        "pgid": "3.1f",
        "last_update": "2475'68370",
        "last_complete": "2475'68370",
        "log_tail": "2197'61385",
        "last_user_version": 68361,
        "last_backfill": "MAX",
        "purged_snaps": [],
        "history": {
            "epoch_created": 35,
            "epoch_pool_created": 35,
            "last_epoch_started": 2371,
            "last_interval_started": 2364,
            "last_epoch_clean": 2150,
            "last_interval_clean": 2149,
            "last_epoch_split": 0,
            "last_epoch_marked_full": 0,
            "same_up_since": 2364,
            "same_interval_since": 2364,
            "same_primary_since": 2149,
            "last_scrub": "2228'68323",
            "last_scrub_stamp": "2021-11-18T02:13:56.969240+0000",
            "last_deep_scrub": "2216'64918",
            "last_deep_scrub_stamp": "2021-11-16T20:37:17.620680+0000",
            "last_clean_scrub_stamp": "2021-11-18T02:13:56.969240+0000",
            "prior_readable_until_ub": 0
        },
        "stats": {
            "version": "2475'68370",
            "reported_seq": "239508",
            "reported_epoch": "2477",
            "state": "active+undersized+degraded",
            "last_fresh": "2021-11-18T09:52:22.117896+0000",
            "last_change": "2021-11-18T07:13:25.620031+0000",
            "last_active": "2021-11-18T09:52:22.117896+0000",
            "last_peered": "2021-11-18T09:52:22.117896+0000",
            "last_clean": "2021-11-18T07:11:26.622323+0000",
            "last_became_active": "2021-11-18T07:13:25.620031+0000",
            "last_became_peered": "2021-11-18T07:13:25.620031+0000",
            "last_unstale": "2021-11-18T09:52:22.117896+0000",
            "last_undegraded": "2021-11-18T07:13:25.618970+0000",
            "last_fullsized": "2021-11-18T07:13:25.618860+0000",
            "mapping_epoch": 2364,
            "log_start": "2197'61385",
            "ondisk_log_start": "2197'61385",
            "created": 35,
            "last_epoch_clean": 2150,
            "parent": "0.0",
            "parent_split_bits": 0,
            "last_scrub": "2228'68323",
            "last_scrub_stamp": "2021-11-18T02:13:56.969240+0000",
            "last_deep_scrub": "2216'64918",
            "last_deep_scrub_stamp": "2021-11-16T20:37:17.620680+0000",
            "last_clean_scrub_stamp": "2021-11-18T02:13:56.969240+0000",
            "log_size": 6985,
            "ondisk_log_size": 6985,
            "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": 12583465,
                "num_objects": 15,
                "num_object_clones": 0,
                "num_object_copies": 45,
                "num_objects_missing_on_primary": 0,
                "num_objects_missing": 0,
                "num_objects_degraded": 15,
                "num_objects_misplaced": 0,
                "num_objects_unfound": 0,
                "num_objects_dirty": 15,
                "num_whiteouts": 0,
                "num_read": 167793,
                "num_read_kb": 438718,
                "num_write": 68025,
                "num_write_kb": 373419,
                "num_scrub_errors": 0,
                "num_shallow_scrub_errors": 0,
                "num_deep_scrub_errors": 0,
                "num_objects_recovered": 48,
                "num_bytes_recovered": 21150091,
                "num_keys_recovered": 47,
                "num_objects_omap": 11,
                "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": 7536,
                "num_omap_keys": 16,
                "num_objects_repaired": 0
            },
            "up": [
                0,
                2
            ],
            "acting": [
                0,
                2
            ],
            "avail_no_missing": [
                "0",
                "2"
            ],
            "object_location_counts": [
                {
                    "shards": "0,2",
                    "objects": 15
                }
            ],
            "blocked_by": [],
            "up_primary": 0,
            "acting_primary": 0,
            "purged_snaps": []
        },
        "empty": 0,
        "dne": 0,
        "incomplete": 0,
        "last_epoch_started": 2371,
        "hit_set_history": {
            "current_last_update": "0'0",
            "history": []
        }
    },
    "peer_info": [
        {
            "peer": "2",
            "pgid": "3.1f",
            "last_update": "2475'68370",
            "last_complete": "2229'68361",
            "log_tail": "2191'60388",
            "last_user_version": 68361,
            "last_backfill": "MAX",
            "purged_snaps": [],
            "history": {
                "epoch_created": 35,
                "epoch_pool_created": 35,
                "last_epoch_started": 2371,
                "last_interval_started": 2364,
                "last_epoch_clean": 2150,
                "last_interval_clean": 2149,
                "last_epoch_split": 0,
                "last_epoch_marked_full": 0,
                "same_up_since": 2364,
                "same_interval_since": 2364,
                "same_primary_since": 2149,
                "last_scrub": "2228'68323",
                "last_scrub_stamp": "2021-11-18T02:13:56.969240+0000",
                "last_deep_scrub": "2216'64918",
                "last_deep_scrub_stamp": "2021-11-16T20:37:17.620680+0000",
                "last_clean_scrub_stamp": "2021-11-18T02:13:56.969240+0000",
                "prior_readable_until_ub": 0
            },
            "stats": {
                "version": "2229'68360",
                "reported_seq": "239244",
                "reported_epoch": "2229",
                "state": "active+clean",
                "last_fresh": "2021-11-18T06:23:39.023550+0000",
                "last_change": "2021-11-18T02:13:56.969286+0000",
                "last_active": "2021-11-18T06:23:39.023550+0000",
                "last_peered": "2021-11-18T06:23:39.023550+0000",
                "last_clean": "2021-11-18T06:23:39.023550+0000",
                "last_became_active": "2021-11-12T06:26:09.935932+0000",
                "last_became_peered": "2021-11-12T06:26:09.935932+0000",
                "last_unstale": "2021-11-18T06:23:39.023550+0000",
                "last_undegraded": "2021-11-18T06:23:39.023550+0000",
                "last_fullsized": "2021-11-18T06:23:39.023550+0000",
                "mapping_epoch": 2364,
                "log_start": "2191'60388",
                "ondisk_log_start": "2191'60388",
                "created": 35,
                "last_epoch_clean": 2150,
                "parent": "0.0",
                "parent_split_bits": 0,
                "last_scrub": "2228'68323",
                "last_scrub_stamp": "2021-11-18T02:13:56.969240+0000",
                "last_deep_scrub": "2216'64918",
                "last_deep_scrub_stamp": "2021-11-16T20:37:17.620680+0000",
                "last_clean_scrub_stamp": "2021-11-18T02:13:56.969240+0000",
                "log_size": 7972,
                "ondisk_log_size": 7972,
                "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": 12583465,
                    "num_objects": 15,
                    "num_object_clones": 0,
                    "num_object_copies": 48,
                    "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": 15,
                    "num_whiteouts": 0,
                    "num_read": 167793,
                    "num_read_kb": 438718,
                    "num_write": 68025,
                    "num_write_kb": 373419,
                    "num_scrub_errors": 0,
                    "num_shallow_scrub_errors": 0,
                    "num_deep_scrub_errors": 0,
                    "num_objects_recovered": 48,
                    "num_bytes_recovered": 21150091,
                    "num_keys_recovered": 47,
                    "num_objects_omap": 11,
                    "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": 7536,
                    "num_omap_keys": 16,
                    "num_objects_repaired": 0
                },
                "up": [
                    0,
                    2
                ],
                "acting": [
                    0,
                    2
                ],
                "avail_no_missing": [],
                "object_location_counts": [],
                "blocked_by": [],
                "up_primary": 0,
                "acting_primary": 0,
                "purged_snaps": []
            },
            "empty": 0,
            "dne": 0,
            "incomplete": 0,
            "last_epoch_started": 2371,
            "hit_set_history": {
                "current_last_update": "0'0",
                "history": []
            }
        }
    ],
    "recovery_state": [
        {
            "name": "Started/Primary/Active",
            "enter_time": "2021-11-18T07:13:25.618950+0000",
            "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": []
                }
            }
        },
        {
            "name": "Started",
            "enter_time": "2021-11-18T07:13:25.618794+0000"
        },
        {
            "scrubber.epoch_start": "2149",
            "scrubber.active": false,
            "scrubber.state": "INACTIVE",
            "scrubber.start": "MIN",
            "scrubber.end": "MIN",
            "scrubber.max_end": "MIN",
            "scrubber.subset_last_update": "0'0",
            "scrubber.deep": false,
            "scrubber.waiting_on_whom": []
        }
    ],
    "agent_state": {}
}

On Thu, Nov 18, 2021 at 12:26 PM Stefan Kooman <stefan@xxxxxx> wrote:

> On 11/18/21 11:05, David Tinker wrote:
> > Hi Guys
> >
> > I am busy removing an OSD from my rook-ceph cluster. I did 'ceph osd out
> > osd.7'  and the re-balancing process started. Now it has stalled with one
> > pg on "active+undersized+degraded". I have done this before and it has
> > worked fine.
> >
> > # ceph health detail
> > HEALTH_WARN Degraded data redundancy: 15/94659 objects degraded
> (0.016%), 1
> > pg degraded, 1 pg undersized
> > [WRN] PG_DEGRADED: Degraded data redundancy: 15/94659 objects degraded
> > (0.016%), 1 pg degraded, 1 pg undersized
> >      pg 3.1f is stuck undersized for 2h, current state
> > active+undersized+degraded, last acting [0,2]
>
> Can you run: ceph pg 3.1f query
>
> Gr. Stefan
>
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[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