最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How would I set size limits to buckets on minio? - Stack Overflow

programmeradmin3浏览0评论

I'm using minio on a VPS to host an S3 server. I'm making a cloud storage website as a personal project. I want every user to have a set amount of space, each user would have their own bucket. I already have most of the stuff set up, all I need is for the user to get a warning if their upload is over the capacity limit and cancel the file transfer.

I'm using minio on a VPS to host an S3 server. I'm making a cloud storage website as a personal project. I want every user to have a set amount of space, each user would have their own bucket. I already have most of the stuff set up, all I need is for the user to get a warning if their upload is over the capacity limit and cancel the file transfer.

Share Improve this question asked Jan 20, 2021 at 7:28 DontAsk_DontAsk_ 1823 silver badges14 bronze badges 1
  • Take a look at github./minio/minio/issues/3846 for answer. – rkj Commented Feb 9, 2021 at 22:19
Add a ment  | 

1 Answer 1

Reset to default 3

You can set bucket quotas with the MinIO Client through mc admin bucket quota, for example mc admin bucket quota myminio/mybucket --hard 100GB.

Note that quotas are lazily enforced, meaning it is possible for a period to go over quota.

发布评论

评论列表(0)

  1. 暂无评论