From 4301a33371a4c7253285942f071a680cbf8c86a1 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Fri, 29 May 2020 07:57:45 -0700 Subject: [PATCH] update docs to mention quota not supported on FS --- docs/bucket/quota/README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/bucket/quota/README.md b/docs/bucket/quota/README.md index ffd1ba900..02dc71fec 100644 --- a/docs/bucket/quota/README.md +++ b/docs/bucket/quota/README.md @@ -7,33 +7,33 @@ Buckets can be configured to have one of two types of quota configuration - FIFO - `Hard` quota disallows writes to the bucket after configured quota limit is reached. - `FIFO` quota automatically deletes oldest content until bucket usage falls within configured limit while permitting writes. -> NOTE: Bucket quotas are not supported under Gateway deployments. +> NOTE: Bucket quotas are not supported under gateway or standalone single disk deployments. -## 1. Prerequisites +## Prerequisites - Install MinIO - [MinIO Quickstart Guide](https://docs.min.io/docs/minio-quickstart-guide). - [Use `mc` with MinIO Server](https://docs.min.io/docs/minio-client-quickstart-guide) -## 2. Set bucket quota configuration +## Set bucket quota configuration -1. Set a hard quota of 1GB for a bucket `mybucket` on MinIO object storage: +### Set a hard quota of 1GB for a bucket `mybucket` on MinIO object storage: ```sh $ mc admin bucket quota myminio/mybucket --hard 1gb ``` -2. Set FIFO quota of 5GB for a bucket "mybucket" on MinIO to allow automatic deletion of older content to ensure bucket usage remains within 5GB +### Set FIFO quota of 5GB for a bucket "mybucket" on MinIO to allow automatic deletion of older content to ensure bucket usage remains within 5GB ```sh $ mc admin bucket quota myminio/mybucket --fifo 5gb ``` -3. Verify the quota configured on `mybucket` on MinIO +### Verify the quota configured on `mybucket` on MinIO ```sh $ mc admin bucket quota myminio/mybucket ``` -4. Clear bucket quota configuration for `mybucket` on MinIO +### Clear bucket quota configuration for `mybucket` on MinIO ```sh $ mc admin bucket quota myminio/mybucket --clear