From a9d401ac106c9f754cae3d8428fdfb55089cd566 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Mon, 13 Apr 2020 23:08:14 -0700 Subject: [PATCH] fix: update docs to mention erasure guide (#9339) --- cmd/config/errors.go | 2 +- docs/erasure/README.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/config/errors.go b/cmd/config/errors.go index e1a42394c..cc9305cf2 100644 --- a/cmd/config/errors.go +++ b/cmd/config/errors.go @@ -33,7 +33,7 @@ var ( ErrInvalidErasureSetSize = newErrFn( "Invalid erasure set size", "Please check the passed value", - "Erasure set can only accept any of [4, 6, 8, 10, 12, 14, 16] values", + "Erasure set can only accept any of [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16] values", ) ErrInvalidWormValue = newErrFn( diff --git a/docs/erasure/README.md b/docs/erasure/README.md index 49359fcef..9d2480251 100644 --- a/docs/erasure/README.md +++ b/docs/erasure/README.md @@ -24,9 +24,9 @@ MinIO's erasure coded backend uses high speed [HighwayHash](https://github.com/m ## How are drives used for Erasure Code? -MinIO divides the drives you provide into erasure-coding sets of 4, 6, 8, 10, 12, 14 or 16 drives. Therefore, the number of drives you present must be a multiple of one of these numbers. Each object is written to a single erasure-coding set. +MinIO divides the drives you provide into erasure-coding sets of *4 to 16* drives. Therefore, the number of drives you present must be a multiple of one of these numbers. Each object is written to a single erasure-coding set. -Minio uses the largest possible EC set size which divides into the number of drives given. For example, 18 drives are configured as 3 sets of 6 drives; but 24 drives are configured as 2 sets of 12 drives. +Minio uses the largest possible EC set size which divides into the number of drives given. For example, *18 drives* are configured as *2 sets of 9 drives*, and *24 drives* are configured as *2 sets of 12 drives*. The drives should all be of approximately the same size. @@ -41,7 +41,7 @@ Install MinIO - [MinIO Quickstart Guide](https://docs.min.io/docs/minio-quicksta Example: Start MinIO server in a 12 drives setup, using MinIO binary. ```sh -minio server /data1 /data2 /data3 /data4 /data5 /data6 /data7 /data8 /data9 /data10 /data11 /data12 +minio server /data{1...12} ``` Example: Start MinIO server in a 8 drives setup, using MinIO Docker image. @@ -56,7 +56,7 @@ docker run -p 9000:9000 --name minio \ -v /mnt/data6:/data6 \ -v /mnt/data7:/data7 \ -v /mnt/data8:/data8 \ - minio/minio server /data1 /data2 /data3 /data4 /data5 /data6 /data7 /data8 + minio/minio server /data{1...8} ``` ### 3. Test your setup