linux虚拟机集群安装minio,配置完后启动,为啥报错呢,端口启动了,但是互相访问不了,提示以下错误:
[root@dev210 /]# systemctl status minio
● minio.service - Minio service
Loaded: loaded (/usr/lib/systemd/system/minio.service; disabled; vendor preset: disabled)
Active: active (running) since 三 2024-12-25 16:07:37 CST; 15s ago
Docs: https://docs.minio.io/
Main PID: 2665 (run.sh)
CGroup: /system.slice/minio.service
├─2665 /bin/bash /var/minio/bin/run.sh
└─2666 /var/minio/bin/minio server --config-dir /etc/minio http://192.168.1.210/data/minio/data http://192.168.1.211/data/minio/data http://192.168.1.2...
12月 25 16:07:51 dev210 run.sh[2665]: INFO: Unable to use the drive http://192.168.1.210:9000/data/minio/data: drive not found, will be retried
12月 25 16:07:51 dev210 run.sh[2665]: INFO: Unable to use the drive http://192.168.1.211:9000/data/minio/data: drive not found, will be retried
12月 25 16:07:51 dev210 run.sh[2665]: INFO: Unable to use the drive http://192.168.1.212:9000/data/minio/data: drive not found, will be retried
12月 25 16:07:51 dev210 run.sh[2665]: INFO: Unable to use the drive http://192.168.1.213:9000/data/minio/data: drive not found, will be retried
12月 25 16:07:51 dev210 run.sh[2665]: INFO: Waiting for a minimum of 2 drives to come online (elapsed 13s)
12月 25 16:07:52 dev210 run.sh[2665]: INFO: Unable to use the drive http://192.168.1.210:9000/data/minio/data: drive not found, will be retried
12月 25 16:07:52 dev210 run.sh[2665]: INFO: Unable to use the drive http://192.168.1.211:9000/data/minio/data: drive not found, will be retried
12月 25 16:07:52 dev210 run.sh[2665]: INFO: Unable to use the drive http://192.168.1.212:9000/data/minio/data: drive not found, will be retried
12月 25 16:07:52 dev210 run.sh[2665]: INFO: Unable to use the drive http://192.168.1.213:9000/data/minio/data: drive not found, will be retried
12月 25 16:07:52 dev210 run.sh[2665]: INFO: Waiting for a minimum of 2 drives to come online (elapsed 14s)
为啥呢?目录权限已经赋了,防火墙也关了;
run.sh 配置如下:
[root@dev210 /]# cat /var/minio/bin/run.sh
#!/bin/bash
export MINIO_ACCESS_KEY=minio
export MINIO_SECRET_KEY=test123456
/var/minio/bin/minio server --config-dir /etc/minio http://192.168.1.210/data/minio/data http://192.168.1.211/data/minio/data http://192.168.1.212/data/minio/data http://192.168.1.213/data/minio/data