°Ô½Ã¹° 1,369°Ç
   
large omap objects
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2023-10-23 (¿ù) 16:51 Á¶È¸ : 848
±ÛÁÖ¼Ò :
                                
# ceph health detail HEALTH_WARN 1 large omap objects LARGE_OMAP_OBJECTS 2 large omap objects 2 large objects found in pool 'default.rgw.log' Search the cluster log for 'Large omap object found' for more details.


# ceph --admin-daemon ceph-mon.KR-RGW01.asok config show  |grep large_omap 
    "osd_deep_scrub_large_omap_object_key_threshold": "200000",
    "osd_deep_scrub_large_omap_object_value_sum_threshold": "2147483648",


# ceph --format=json pg ls-by-pool default.rgw.log | jq '.[]' | egrep '(pgid|num_large_omap_objects)' | grep -v '"num_large_omap_objects": 0,' | grep -B1 num_large_omap_objects 
    "pgid": "4.d",
      "num_large_omap_objects": 1,
--
    "pgid": "4.10",
      "num_large_omap_objects": 1,


# ceph tell osd.*  injectargs --osd_deep_scrub_large_omap_object_key_threshold=4000000

# ceph deep-scrub 4.d 
# ceph deep-scrub 4.10 


  {
    "pgid": "4.d",
    "version": "67014'82875872",
    "reported_seq": "90487714",
    "reported_epoch": "67014",
    "state": "active+clean",
    "last_fresh": "2023-10-23 17:00:57.622932",
    "last_change": "2023-10-23 16:46:52.081202",
    "last_active": "2023-10-23 17:00:57.622932",
    "last_peered": "2023-10-23 17:00:57.622932",
    "last_clean": "2023-10-23 17:00:57.622932",
    "last_became_active": "2023-10-19 16:10:56.801357",
    "last_became_peered": "2023-10-19 16:10:56.801357",
    "last_unstale": "2023-10-23 17:00:57.622932",
    "last_undegraded": "2023-10-23 17:00:57.622932",
    "last_fullsized": "2023-10-23 17:00:57.622932",
    "mapping_epoch": 67009,
    "log_start": "67014'82872831",
    "ondisk_log_start": "67014'82872831",
    "created": 141,
    "last_epoch_clean": 67010,
    "parent": "0.0",
    "parent_split_bits": 0,
    "last_scrub": "67014'82875176",
    "last_scrub_stamp": "2023-10-23 16:46:52.081127",
    "last_deep_scrub": "67014'82875176",
    "last_deep_scrub_stamp": "2023-10-23 16:46:52.081127",
    "last_clean_scrub_stamp": "2023-10-23 16:46:52.081127",
    "log_size": 3041,
    "ondisk_log_size": 3041,
    "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": 635226494,
      "num_objects": 269,
      "num_object_clones": 0,
      "num_object_copies": 538,
      "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": 269,
      "num_whiteouts": 0,
      "num_read": 30438344,
      "num_read_kb": 36549934,
      "num_write": 82523875,
      "num_write_kb": 67979682,
      "num_scrub_errors": 0,
      "num_shallow_scrub_errors": 0,
      "num_deep_scrub_errors": 0,
      "num_objects_recovered": 11198,
      "num_bytes_recovered": 20262028278,
      "num_keys_recovered": 3363690,
      "num_objects_omap": 4,
      "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": 49529700,
      "num_omap_keys": 231444,
      "num_objects_repaired": 0
    },
    "up": [
      107,
      17
    ],
    "acting": [
      107,
      17
    ],
    "avail_no_missing": [],
    "object_location_counts": [],
    "blocked_by": [],
    "up_primary": 107,
    "acting_primary": 107,
    "purged_snaps": []
  },




LARGE_OMAP_OBJECTS

One or more pools contain large omap objects, as determined by osd_deep_scrub_large_omap_object_key_threshold (threshold for the number of keys to determine what is considered a large omap object) or osd_deep_scrub_large_omap_object_value_sum_threshold

To adjust the thresholds mentioned above, run the following commands:

ceph config set osd osd_deep_scrub_large_omap_object_key_threshold <keys>
ceph config set osd osd_deep_scrub_large_omap_object_value_sum_threshold <bytes>


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.