大网数据广告活动
服务器运维问答

Deploy Minio distributed on 3 nodes with 1 drive

· 52CE 我爱测

I need to deploy a MinIO infrastructure on three nodes, where each nodes has a single local directory where they can save files in. I read the MinIO Erasure Code Quickstart Guide , but I don't need MinIO to manage data replicatio…

问题原文

原帖链接 · Mat · CC BY-SA 4.0

I need to deploy a MinIO infrastructure on three nodes, where each nodes has a single local directory where they can save files in.

I read the MinIO Erasure Code Quickstart Guide, but I don't need MinIO to manage data replication on different local drives because all three nodes are on separated virtual machines on separated hardware and the local storage is already protected by ZFS.

For this reason I only MinIO replicates data between nodes creating three replicas of each files, but when I try to start it with a single data directory it fails:

minio@storage3:/usr/local/bin$ export MINIO_ACCESS_KEY=foo
minio@storage3:/usr/local/bin$ export MINIO_SECRET_KEY=bar
minio@storage3:/usr/local/bin$ ./minio server http://storage{1...3}/minio1
ERROR Invalid command line arguments: Invalid total number of endpoints for erasure mode.
      > Please provide correct combination of local/remote paths.
      HELP:
        For more information, please refer to https://docs.min.io/docs/minio-erasure-code-quickstart-guide

Could you help me please?

社区高分解答

原帖链接 · Chau Chee Yang · CC BY-SA 4.0

A Minio cluster can setup as 2, 3, 4 or more nodes (recommend not more than 16 nodes). As long as the total hard disks in the cluster is more than 4.

For example, if you have 2 nodes in a cluster, you should install minimum 2 disks to each node.

If you have 3 nodes in a cluster, you may install 4 disks or more to each node and it will works.

Number of disks is the key factor here, not number of nodes.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2019-08-09)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。