wfy8627 2024-12-25 16:12 采纳率: 60%
浏览 12
已结题

linux集群安装minio问题

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...

1225 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
1225 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
1225 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
1225 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
1225 16:07:51 dev210 run.sh[2665]: INFO: Waiting for a minimum of 2 drives to come online (elapsed 13s)
1225 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
1225 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
1225 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
1225 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
1225 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

  • 写回答

0条回答 默认 最新

    报告相同问题?

    问题事件

    • 已结题 (查看结题原因) 12月25日
    • 修改了问题 12月25日
    • 创建了问题 12月25日