Show disk usage per bucket

Show how much storage each bucket uses

mc du --depth 1 myminio

tool
minio10 commands
tags
miniomonitoring

More minio commands

  • mc ilm import myminio/my-bucket < lifecycle.json

    Apply lifecycle rules to a bucket to expire objects or move them to another tier

  • mc rm myminio/my-bucket/path/to/file.txt

    Delete one object from a bucket

  • mc rb --force myminio/my-bucket

    Delete a bucket and all its objects

  • mc alias set myminio https://minio.example.com ACCESSKEY SECRETKEY

    Add a MinIO server to the mc client

  • mc ls myminio

    Show all buckets on the server

all 10 minio commands