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?
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.
Minio needs at least 4 instances, try add one more and it should start working.