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.