Setting default quotas via CLI
You can limit storage usage for all users or buckets by default with the set-quotas
command and the following parameters: -o
specifying user
for users or bucket
for buckets, and -q
specifying the usage limit in gigabytes:
# ostor-s3-admin set-quotas -o user -q 1024 -V 0100000000000002 version: '1' size: '1024' type: 'user'
# ostor-s3-admin set-quotas -o bucket -q 256 -V 0100000000000002 version: '1' size: '256' type: 'bucket'