oceanBase白屏部署-报错

【 使用环境 】生产环境 or 测试环境
【 OB or 其他组件 】
【 使用版本 】
【问题描述】清晰明确描述问题
【复现路径】问题出现前后相关操作
【附件及日志】推荐使用OceanBase敏捷诊断工具obdiag收集诊断信息,详情参见链接(右键跳转查看):

【SOP系列 22 】——故障诊断第一步(自助诊断和诊断信息收集)

【备注】基于 LLM 和开源文档 RAG 的论坛小助手已开放测试,在发帖时输入 [@论坛小助手] 即可召唤小助手,欢迎试用!

[2024-12-19 18:22:53.321621] INFO [CLOG] remove_resizing_tmp_dir_ (ob_server_log_block_mgr.cpp:1059) [7544][observer][T0][Y0-0000000000000000-0-0] [lt=5] remove_resizing_tmp_dir_ success(ret=0, this={dir::"
/root/its1oceanbase/oceanbase/store/clog/log_pool", dir_fd:14, meta_fd:15, log_pool_meta:{curr_total_size:0, next_total_size:50465865728, status:1}, min_block_id:0, max_block_id:0, min_log_disk_size_for_all_
tenants_:0, is_inited:true}, dir_path="/root/its1oceanbase/oceanbase/store/clog/log_pool/expanding.tmp")
[2024-12-19 18:22:53.325628] ERROR issue_dba_error (ob_log.cpp:1875) [7544][observer][T0][Y0-0000000000000000-0-0] [lt=41][errcode=-4388] Unexpected internal error happen, please checkout the internal errcod
e(errcode=-4290, file=“ob_server_log_block_mgr.cpp”, line_no=960, info=“do_expand_ failed”)
[2024-12-19 18:22:53.325674] EDIAG [CLOG] do_resize_ (ob_server_log_block_mgr.cpp:960) [7544][observer][T0][Y0-0000000000000000-0-0] [lt=45][errcode=-4290] do_expand_ failed(ret=-4290, this={dir::"/root/its1
oceanbase/oceanbase/store/clog/log_pool", dir_fd:14, meta_fd:15, log_pool_meta:{curr_total_size:0, next_total_size:50465865728, status:1}, min_block_id:0, max_block_id:0, min_log_disk_size_for_all_tenants_:0
, is_inited:true}) BACKTRACE:0x125fd785 0x50b6335 0x51ad5ed 0x51ad0af 0x519a224 0x51acf53 0x7706685 0x76fb8ff 0x76f9868 0x76f9137 0xa7cd4c7 0x730635b 0x2b36ccc2b555 0x5329d6e
[2024-12-19 18:22:53.325755] INFO [CLOG] update_checksum (ob_server_log_block_mgr.cpp:1515) [7544][observer][T0][Y0-0000000000000000-0-0] [lt=77] update_checksum success(this={magic:19536, version:1, flag:0
, log_pool_meta:{curr_total_size:0, next_total_size:0, status:0}, checksum:4141593973})
[2024-12-19 18:22:53.328370] INFO [CLOG] update_log_pool_meta_guarded_by_lock_ (ob_server_log_block_mgr.cpp:862) [7544][observer][T0][Y0-0000000000000000-0-0] [lt=19] update_log_pool_meta_guarded_by_lock_ s
uccess(ret=0, this={dir::"/root/its1oceanbase/oceanbase/store/clog/log_pool", dir_fd:14, meta_fd:15, log_pool_meta:{curr_total_size:0, next_total_size:0, status:0}, min_block_id:0, max_block_id:0, min_log_di
sk_size_for_all_tenants_:0, is_inited:true})
[2024-12-19 18:22:53.328405] ERROR resize_ (ob_server_log_block_mgr.cpp:211) [7544][observer][T0][Y0-0000000000000000-0-0] [lt=32][errcode=-4290] cannot allocate disk space(possible reason=“may be diskspace
is not enough, please check the configuration about log disk”, new log disk size(MB)=48128)
[2024-12-19 18:22:53.328416] ERROR issue_dba_error (ob_log.cpp:1875) [7544][observer][T0][Y0-0000000000000000-0-0] [lt=9][errcode=-4388] Unexpected internal error happen, please checkout the internal errcode
(errcode=-4624, file=“ob_server_log_block_mgr.cpp”, line_no=166, info=“resize failed”)
[2024-12-19 18:22:53.328424] EDIAG [CLOG] start (ob_server_log_block_mgr.cpp:166) [7544][observer][T0][Y0-0000000000000000-0-0] [lt=8][errcode=-4624] resize failed(ret=-4624, this={dir::"/root/its1oceanbase/
oceanbase/store/clog/log_pool", dir_fd:14, meta_fd:15, log_pool_meta:{curr_total_size:0, next_total_size:0, status:0}, min_block_id:0, max_block_id:0, min_log_disk_size_for_all_tenants_:0, is_inited:true}) B
ACKTRACE:0x125fd785 0x50b6335 0x51ad5ed 0x51ad0af 0x519a224 0x51acf53 0x76f9f67 0x76f91c1 0xa7cd4c7 0x730635b 0x2b36ccc2b555 0x5329d6e
[2024-12-19 18:22:53.335251] ERROR issue_dba_error (ob_log.cpp:1875) [7544][observer][T0][Y0-0000000000000000-0-0] [lt=49][errcode=-4388] Unexpected internal error happen, please checkout the internal errcod
e(errcode=-4624, file=“ob_server.cpp”, line_no=890, info=“fail to start log pool”)
[2024-12-19 18:22:53.335280] EDIAG [SERVER] start (ob_server.cpp:890) [7544][observer][T0][Y0-0000000000000000-0-0] [lt=28][errcode=-4624] fail to start log pool(ret=-4624, ret=“OB_MACHINE_RESOURCE_NOT_ENOUG
H”) BACKTRACE:0x125fd785 0x50b6335 0x51ad5ed 0x51ad0af 0x519a224 0x51acf53 0xa7d0c60 0xa7ce49c 0x730635b 0x2b36ccc2b555 0x5329d6e
[2024-12-19 18:22:53.335452] WDIAG [SERVER.OMT] get_tenant_config_with_lock (ob_tenant_config_mgr.cpp:362) [7801][MultiTenant][T0][Y0-0000000000000000-0-0] [lt=3][errcode=-4201] failed to get fallback tenant
config(fallback_tenant_id=1, ret=-4201)
[2024-12-19 18:22:53.335479] WDIAG [SERVER.OMT] get_tenant_config_with_lock (ob_tenant_config_mgr.cpp:362) [7801][MultiTenant][T0][Y0-0000000000000000-0-0] [lt=24][errcode=-4201] failed to get fallback tenan
t config(fallback_tenant_id=1, ret=-4201)
[2024-12-19 18:22:53.335491] WDIAG [SERVER.OMT] get_tenant_config_with_lock (ob_tenant_config_mgr.cpp:362) [7801][MultiTenant][T0][Y0-0000000000000000-0-0] [lt=6][errcode=-4201] failed to get fallback tenant
config(fallback_tenant_id=1, ret=-4201)
[2024-12-19 18:22:53.335502] WDIAG [SERVER.OMT] get_tenant_config_with_lock (ob_tenant_config_mgr.cpp:362) [7801][MultiTenant][T0][Y0-0000000000000000-0-0] [lt=4][errcode=-4201] failed to get fallback tenant
config(fallback_tenant_id=1, ret=-4201)
[2024-12-19 18:22:53.335511] WDIAG [SERVER.OMT] get_tenant_config_with_lock (ob_tenant_config_mgr.cpp:362) [7801][MultiTenant][T0][Y0-0000000000000000-0-0] [lt=8][errcode=-4201] failed to get fallback tenant
config(fallback_tenant_id=1, ret=-4201)
[2024-12-19 18:22:53.335515] WDIAG [SERVER.OMT] get_tenant_config_with_lock (ob_tenant_config_mgr.cpp:362) [7801][MultiTenant][T0][Y0-0000000000000000-0-0] [lt=4][errcode=-4201] failed to get fallback tenant
config(fallback_tenant_id=1, ret=-4201)
[2024-12-19 18:22:53.345626] WDIAG [SERVER.OMT] get_tenant_config_with_lock (ob_tenant_config_mgr.cpp:362) [7801][MultiTenant][T0][Y0-0000000000000000-0-0] [lt=4][errcode=-4201] failed to get fallback tenant
config(fallback_tenant_id=1, ret=-4201)
[2024-12-19 18:22:53.345665] WDIAG [SERVER.OMT] get_tenant_config_with_lock (ob_tenant_config_mgr.cpp:362) [7801][MultiTenant][T0][Y0-0000000000000000-0-0] [lt=36][errcode=-4201] failed to get fallback tenan
t config(fallback_tenant_id=1, ret=-4201)
[2024-12-19 18:22:53.345672] WDIAG [SERVER.OMT] get_tenant_config_with_lock (ob_tenant_config_mgr.cpp:362) [7801][MultiTenant][T0][Y0-0000000000000000-0-0] [lt=6][errcode=-4201] failed to get fallback tenant config(fallback_tenant_id=1, ret=-4201)
:

根据您提供的日志信息,错误码 -4290 表示磁盘空间不足。具体错误信息如下:

[2024-12-19 18:22:53.328405] ERROR resize_ (ob_server_log_block_mgr.cpp:211) [7544][observer][T0][Y0-0000000000000000-0-0] [lt=32][errcode=-4290] cannot allocate disk space(possible reason="may be diskspace is not enough, please check the configuration about log disk", new log disk size(MB)=48128)

解决方案

  1. 检查磁盘空间

    • 确认 /root/its1oceanbase/oceanbase/store/clog/log_pool 目录下的磁盘空间是否足够。
    • 使用 df -h 命令检查磁盘使用情况。
  2. 清理磁盘空间

    • 删除不必要的文件或日志,释放磁盘空间。
    • 如果磁盘空间确实不足,可以考虑扩容磁盘。
  3. 调整配置

    • 检查 log_disk_size 配置项,确保其设置合理。
    • 如果需要调整配置,可以参考官方文档进行修改。
  4. 联系技术支持

    • 如果以上步骤无法解决问题,建议联系 OceanBase 技术支持人员协助排查。

希望这些信息能帮助您解决问题。如果有其他疑问,请随时联系。

检索到的文档如下:

  1. 0001 ~ 3999
  2. 4000 ~ 4499

看着是磁盘空间不足呀 你看一下自己的物理磁盘 df -h