게시물 1,009건
   
osd_scrub schedule
글쓴이 : 최고관리자 날짜 : 2018-07-06 (금) 10:25 조회 : 3455
글주소 :
                                
참고
https://chonnom.com/bbs/board.php?bo_table=B19&wr_id=3022&sca=&sfl=wr_subject%7C%7Cwr_content&stx=--admin-daemon&sop=and


# ceph --admin-daemon /var/run/ceph/ceph-osd.0.asok config show |grep scrub
    "mon_warn_not_scrubbed": "0",
    "mon_warn_not_deep_scrubbed": "0",
    "mon_scrub_interval": "86400",
    "mon_scrub_timeout": "300",
    "mon_scrub_max_keys": "100",
    "mon_scrub_inject_crc_mismatch": "0",
    "mon_scrub_inject_missing_keys": "0",
    "mds_max_scrub_ops_in_progress": "5",
    "osd_scrub_invalid_stats": "true",
    "osd_max_scrubs": "2",
    "osd_scrub_begin_hour": "0",
    "osd_scrub_end_hour": "24",
    "osd_scrub_load_threshold": "0.5",
    "osd_scrub_min_interval": "86400",
    "osd_scrub_max_interval": "604800",
    "osd_scrub_interval_randomize_ratio": "0.5",
    "osd_scrub_chunk_min": "5",
    "osd_scrub_chunk_max": "25",
    "osd_scrub_sleep": "0",
    "osd_scrub_auto_repair": "false",
    "osd_scrub_auto_repair_num_errors": "5",
    "osd_deep_scrub_interval": "604800",
    "osd_deep_scrub_randomize_ratio": "0.15",
    "osd_deep_scrub_stride": "524288",
    "osd_deep_scrub_update_digest_min_age": "7200",
    "osd_debug_scrub_chance_rewrite_digest": "0",
    "osd_scrub_priority": "5",
    "osd_scrub_cost": "52428800",



config
osd_scrub_begin_hour = 3
osd_scrub_end_hour = 7
osd_deep_scrub_interval = 1209600  (2week)


# ceph tell osd.* injectargs '--osd_crub_begin_hour 3'
# ceph tell osd.* injectargs '--osd_scrub_end_hour 7'
# ceph tell osd.* injectargs '--osd_deep_scrub_interval 1209600'


# ceph --admin-daemon /var/run/ceph/ceph-osd.0.asok config show |grep scrub
    "mon_warn_not_scrubbed": "0",
    "mon_warn_not_deep_scrubbed": "0",
    "mon_scrub_interval": "86400",
    "mon_scrub_timeout": "300",
    "mon_scrub_max_keys": "100",
    "mon_scrub_inject_crc_mismatch": "0",
    "mon_scrub_inject_missing_keys": "0",
    "mds_max_scrub_ops_in_progress": "5",
    "osd_scrub_invalid_stats": "true",
    "osd_max_scrubs": "2",
    "osd_scrub_begin_hour": "3",
    "osd_scrub_end_hour": "7",
    "osd_scrub_load_threshold": "0.5",
    "osd_scrub_min_interval": "86400",
    "osd_scrub_max_interval": "604800",
    "osd_scrub_interval_randomize_ratio": "0.5",
    "osd_scrub_chunk_min": "5",
    "osd_scrub_chunk_max": "25",
    "osd_scrub_sleep": "0",
    "osd_scrub_auto_repair": "false",
    "osd_scrub_auto_repair_num_errors": "5",
    "osd_deep_scrub_interval": "1.2096e+06",
    "osd_deep_scrub_randomize_ratio": "0.15",
    "osd_deep_scrub_stride": "524288",
    "osd_deep_scrub_update_digest_min_age": "7200",
    "osd_debug_scrub_chance_rewrite_digest": "0",
    "osd_scrub_priority": "5",
    "osd_scrub_cost": "52428800",


이름 패스워드
비밀글 (체크하면 글쓴이만 내용을 확인할 수 있습니다.)
왼쪽의 글자를 입력하세요.
   

 



 
사이트명 : 모지리네 | 대표 : 이경현 | 개인커뮤니티 : 랭키닷컴 운영체제(OS) | 경기도 성남시 분당구 | 전자우편 : mojily골뱅이chonnom.com Copyright ⓒ www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.