|
|
[root@ceph1 ~]# ceph osd pool get-quota ocs$ K3 p, ]2 E1 D$ `5 q* J* l
quotas for pool 'ocs':4 N( _1 A: z- [1 ]( f% w
max objects: N/A
% W# ~$ A% h7 o2 I/ Z2 l max bytes : N/A
5 ]* P e! A8 `/ O- g- a0 h/ u2 i[root@ceph1 ~]# ceph osd pool set-quota ocs max_bytes 350G
! f+ A* u! |# h+ X4 b* ?% T! ^set-quota max_bytes = 375809638400 for pool ocs$ r/ t* F% O4 h# E/ E# ]
[root@ceph1 ~]# ceph osd pool get-quota ocs
1 G$ K+ c+ F/ tquotas for pool 'ocs':
( O" n: E3 p, t( t, A ?4 i3 l* ~+ ~3 N max objects: N/A
( F }4 ^* p- |& E2 ] max bytes : 350 GiB
+ ~: |* J! `& N& E4 J( S[root@ceph1 ~]# ceph osd pool get-quota default.rgw.buckets.data: q" @- f+ @, P; s/ ^ g/ C
quotas for pool 'default.rgw.buckets.data':
9 E! u, M, e$ E6 B7 F max objects: N/A
+ c0 z1 @, @+ t1 r7 Z2 y max bytes : N/A2 Z6 m; w" I* Q) D) ?* j1 {
[root@ceph1 ~]# ceph osd pool set-quota default.rgw.buckets.data max_bytes 200G
; F+ y$ T3 K2 K# |1 @set-quota max_bytes = 214748364800 for pool default.rgw.buckets.data
! b$ M- a: K& ^; }[root@ceph1 ~]# ceph osd pool get-quota default.rgw.buckets.data' @: N$ p& u, b& {
quotas for pool 'default.rgw.buckets.data':
8 G3 @+ ^. [% m! X/ U6 G0 A9 r max objects: N/A
* d: d, R+ l+ P/ r! T max bytes : 200 GiB! W9 l! ?1 z+ K) W+ j" C, r1 d x( E
6 ~" f& L) C& H: y. Z4 N
; i9 I* g# q) P( T7 V8 d7 _) D |
|