[pipeline:main]
pipeline = catch_errors [...] tempauth container-quotas \
account-quotas slo dlo proxy-logging proxy-server
[filter:account_quotas]
use = egg:swift#account_quotas
[filter:container_quotas]
use = egg:swift#container_quotas
[pipeline:main]
pipeline = catch_errors [...] tempauth container-quotas \
account-quotas slo dlo proxy-logging proxy-server
[filter:account_quotas]
use = egg:swift#account_quotas
[filter:container_quotas]
use = egg:swift#container_quotas
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
使用以下命令来查看和更新对象存储配额:项目中包含的所有用户都可以查看项目上放置的配额。要更新项目上的对象存储配额,您必须在项目中具有 ResellerAdmin 角色。
swift stat
# swift stat
Account: AUTH_b36ed2d326034beba0a9dd1fb19b70f9
Containers: 0
Objects: 0
Bytes: 0
Meta Quota-Bytes: 214748364800
X-Timestamp: 1351050521.29419
Content-Type: text/plain; charset=utf-8
Accept-Ranges: bytes
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
swift post -m quota-bytes:<BYTES>
# swift post -m quota-bytes:<BYTES>
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
swift post -m quota-bytes:5368709120
# swift post -m quota-bytes:5368709120
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow