ubuntu22单机版安装报错:not enough disk space

【 使用环境 】ubuntu22
【 OB or 其他组件 】
【 使用版本 】默认最新版 all in one
【问题描述】运行odb demo后提示空间不足
【复现路径】odb demo
【附件及日志】
[WARN] Use centos 7 remote mirror repository for ubuntu 22.04
Package obproxy-ce-4.2.1.0-11.el8 is available.
[WARN] Use centos 7 remote mirror repository for ubuntu 22.04
Package oceanbase-ce-4.2.2.0-100010012024022719.el8 is available.
[WARN] Use centos 7 remote mirror repository for ubuntu 22.04
Package obagent-4.2.2-100000042024011120.el8 is available.
[WARN] Use centos 7 remote mirror repository for ubuntu 22.04
Package prometheus-2.37.1-10000102022110211.el8 is available.
[WARN] Use centos 7 remote mirror repository for ubuntu 22.04
Package grafana-7.5.17-1 is available.
install obproxy-ce-4.2.1.0 for local ok
install oceanbase-ce-4.2.2.0 for local ok
install obagent-4.2.2 for local ok
install prometheus-2.37.1 for local ok
install grafana-7.5.17 for local ok
Cluster param config check ok
Open ssh connection ok
Generate obproxy configuration ok
Generate observer configuration x
[ERROR] OBD-2003: (127.0.0.1) / not enough disk space. (Avail: 20.8G, Need: 24.0G)
【其他说明】
df -hT
Filesystem Type Size Used Avail Use% Mounted on
tmpfs tmpfs 3.2G 2.3M 3.2G 1% /run
/dev/mapper/ubuntu–vg-ubuntu–lv ext4 37G 14G 21G 39% /
tmpfs tmpfs 16G 0 16G 0% /dev/shm
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda2 ext4 2.0G 252M 1.6G 14% /boot
/dev/sda1 vfat 1.1G 6.1M 1.1G 1% /boot/efi
/dev/sdb1 xfs 100G 35G 66G 35% /data
tmpfs tmpfs 3.2G 4.0K 3.2G 1% /run/user/1000

[ERROR] OBD-2003: (127.0.0.1) / not enough disk space. (Avail: 20.8G, Need: 24.0G)

磁盘空间不足了,清理下吧

1 个赞

能通过改下配置文件解决么?担心清理了也不够

obd demo --oceanbase-ce.datafile_size=8G --oceanbase-ce.log_disk_size=8G 你可以试着往下调小后面这2个参数 启动。但是我们不建议这样做 数据目录和日志目录太小 可能会有非预期的问题,不能保证稳定运行

1 个赞

现在提示这个错误:
[ERROR] OBD-2003: (127.0.0.1) / not enough disk space. (Avail: 18.2G, Need: 20.0G), Please reduce the datafile_size or datafile_disk_percentage

接着减小 把8g 调整到7 或者6G 现在是需要20 可用18.2

1 个赞