在进行minio扩容时,报错
parity validation returned an error: parity 4 should be less than or equal to 2 <- (4, 4), for pool(2nd
#!/bin/bash
export MINIO_ROOT_USER=admin
export MINIO_ROOT_PASSWORD=123456789
nohup /minio/run/minio server --config-dir /minio/config --address :8009 http://192.168.3.{102...105}/minio/data/data{1...2} --console-address ":8002" > /minio/minio.log 2>&1 &
更改之后,我分别在103、104两个节点各增加了1个挂载盘/incease,每个盘增加了data{1…4} 4个文件夹
#!/bin/bash
export MINIO_ROOT_USER=admin
export MINIO_ROOT_PASSWORD=123456789
nohup /minio/run/minio server --config-dir /minio/config --address :8009 http://192.168.3.{102...105}/minio/data/data{1...2} http://192.168.3.{103...104}/increase/data/data{1...4} --console-address ":8002" > /minio/minio.log 2>&1 &
例如目前集群有3个Server Pool:
Pool A has 3 TiB of free space
Pool B has 2 TiB of free space
Pool C has 5 TiB of free space
Minio分别向各个Pool中写入的概率为:
Pool A:30% = 3 / (3 + 2 + 5)
Pool B:20% = 2 / (3 + 2 + 5)
Pool C:50% = 5 / (3 + 2 + 5)
除了可用空间加权后,如果继续写入文件会使得磁盘使用率超过99%或者空闲的inode计数低于1000,同样不会再往该Pool中写入新文件。
作为程序员第 248 篇文章,每次写一句歌词记录一下,看看人生有几首歌的时间,wahahaha … 

