Documentation

mc quota

Changed in version RELEASE.2024-07-31T15-58-33Z: mc quota and its subcommands are deprecated.

Description

The mc quota commands configure, display, or remove a quota limit on a bucket.

When a bucket with a quota configured reaches the specified limit, as determined by the MinIO object scanner, MinIO rejects further PUT requests for the bucket.

Each time the MinIO object scanner scans a bucket for pending object lifecycle transitions, it also checks if the bucket has exceeded a configured quota.

Quota enforcement is not immediate

Bucket quotas are not intended to enforce a strict hard limit on a bucket’s size. If a bucket exceeds its quota between scanner passes, MinIO continues to accept PUT requests for that bucket until _after_ the next scanner pass identifies the quota violation.

Subcommands

mc quota includes the following subcommands:

Subcommand

Description

clear

The mc quota clear command removes a configured storage quota for a bucket.

info

The mc quota info command displays the currently configured quota for a bucket.

set

The mc quota set assigns a hard quota limit to a bucket beyond which MinIO does not allow writes.