admin管理员组文章数量:1430055
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
1 Answer
Reset to default 3You 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.
本文标签: javascriptHow would I set size limits to buckets on minioStack Overflow
版权声明:本文标题:javascript - How would I set size limits to buckets on minio? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745463246a2659418.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论