obd start一直报错空间不足

root@qwerty:/home/wsh/observer# obd cluster start test Get local repositories and plugins ok Open ssh connection ok Cluster param config check ok Check before start observer x [WARN] (127.0.0.1) clog and data use the same disk (/) [ERROR] (127.0.0.1) / not enough disk space for clog. Use redo_dir to set other disk for clog, or reduce the value of datafile_size

空间设的10G,硬盘至少还有100G的剩余空间

datafile_size: 10G

1 个赞

需要2个信息

  1. 你的配置文件贴一下
  2. 你的硬件配置

这是我的配置文件和磁盘剩余空间的截图

配置文件和磁盘空间截图.zip (193267 KB)

  memory_limit: 8G # The maximum running memory for an observer

  system_memory: 4G # The reserved system memory. system_memory is reserved for general tenants. The default value is 30G.

你只有8G的内存,需要用miniob的部署方式;

  datafile_size: 5G  

redo_dir: /redo

redo建议换个位置,不建议放在跟目录下,因为obd要求留给clog的的磁盘空间不低于autodeploy 的话clog能到72%,你需要给clog一个独占盘或者使用磁盘空间剩余比较大的盘;

你现在的配置部署ob只能是试用(内存8G),不能保证长期能跑