|
|
[root@ceph1 ~]# ceph osd pool get-quota ocs% f i$ d/ J! M% i5 z
quotas for pool 'ocs':3 H6 l, w# }# ~7 O7 ?
max objects: N/A5 }5 r1 E/ K) Z1 k
max bytes : N/A
: P, L, v8 `, y' \6 A[root@ceph1 ~]# ceph osd pool set-quota ocs max_bytes 350G
$ P" w* X3 i0 R4 N1 @9 gset-quota max_bytes = 375809638400 for pool ocs
0 \* g) I, ^7 c: p7 u: ]9 S[root@ceph1 ~]# ceph osd pool get-quota ocs
- Y& b: w6 k4 a: S/ J5 z. fquotas for pool 'ocs':: g. t1 @' m* N9 W. V8 h9 R
max objects: N/A
3 ?8 Y: h* }5 u. p" M4 p1 D max bytes : 350 GiB
/ z8 I" Y* n% u/ p& {8 I9 U[root@ceph1 ~]# ceph osd pool get-quota default.rgw.buckets.data
9 p; r. g" q b: g+ _, Y- Bquotas for pool 'default.rgw.buckets.data':2 t" Q$ N/ }0 @! k8 n7 D
max objects: N/A' q9 x) z# \- X" V. j0 E# C1 b9 ^$ U
max bytes : N/A: c2 T7 m+ `- _+ i
[root@ceph1 ~]# ceph osd pool set-quota default.rgw.buckets.data max_bytes 200G
) @. d+ Z0 E8 j: N: F" ^7 Eset-quota max_bytes = 214748364800 for pool default.rgw.buckets.data) G' [& c( R5 s
[root@ceph1 ~]# ceph osd pool get-quota default.rgw.buckets.data
$ m7 c& I8 S4 Gquotas for pool 'default.rgw.buckets.data':) C9 Y$ b# e1 A1 r; S) z4 M2 f6 B
max objects: N/A, F/ m/ {& N* g/ N1 f9 @. ]! D
max bytes : 200 GiB7 t4 V( q' U* n3 X0 |1 A
7 o( G, b9 q& k1 w
$ D5 Y8 c) o4 R3 N9 d |
|