【 使用环境 】测试环境
【 OB or 其他组件 】ob
【 使用版本 】oceanbase/oceanbase-ce:3.1.3
【问题描述】如何调小需要的磁盘空间(提示Need: 263.7G)
报错如下:
generate boot.yaml …
/root/boot/_boot: line 11: 1: command not found
create boot dirs and deploy ob cluster …
/root/boot/_boot: line 25: 1: command not found
Package oceanbase-ce-3.1.3 is available.
install oceanbase-ce-3.1.3 for local ok
Cluster param config check ok
Open ssh connection ok
Generate observer configuration x
[ERROR] (127.0.0.1) /root/ob not enough disk space. (Avail: 97.6G, Need: 263.7G). Use redo_dir
to set other disk for clog
启动方式:
docker run -p 2881:2881 -p 2882:2882 --name obstandalone
-e MINI_MODE=1
-e OB_HOME_PATH="${OB_HOME_PATH}"
-e OB_MYSQL_PORT="${OB_MYSQL_PORT}"
-e OB_RPC_PORT="${OB_RPC_PORT}"
-e OB_ROOT_PASSWORD="${OB_ROOT_PASSWORD}"
-e OB_CLUSTER_NAME="${OB_CLUSTER_NAME}"
-e OB_TENANT_NAME="${OB_TENANT_NAME}"
-v “${OB_LOCAL_PATH}:${OB_HOME_PATH}”
-d oceanbase/oceanbase-ce:3.1.3
【复现路径】没有操作
【附件及日志】推荐使用OceanBase敏捷诊断工具obdiag收集诊断信息,详情参见链接(右键跳转查看):