|
|
[root@ceph1 ~]# ceph osd pool get-quota ocs
$ j0 x9 m+ g# P; Vquotas for pool 'ocs':& i% M# ^- N; X
max objects: N/A: s+ s6 O2 h E" E
max bytes : N/A& c2 y6 I; B Z" p; K! M
[root@ceph1 ~]# ceph osd pool set-quota ocs max_bytes 350G5 [& c# l: T0 d+ j0 R5 V. T0 {( u
set-quota max_bytes = 375809638400 for pool ocs
2 l, ?. G3 m R! U" e[root@ceph1 ~]# ceph osd pool get-quota ocs
0 t1 U7 ~# R7 [3 g5 B* wquotas for pool 'ocs':0 M& f1 d8 h( ]! K; y
max objects: N/A' j: \: _) [$ q8 T! p
max bytes : 350 GiB
2 g: P2 p, h0 O$ q ?[root@ceph1 ~]# ceph osd pool get-quota default.rgw.buckets.data
% |6 j6 ?2 B# gquotas for pool 'default.rgw.buckets.data':
5 ^$ S: C; N1 x- u0 L( T3 O max objects: N/A7 o7 q( [/ H$ {8 e% d
max bytes : N/A
! v; Y7 O) F! c- S3 v[root@ceph1 ~]# ceph osd pool set-quota default.rgw.buckets.data max_bytes 200G
5 K7 d4 R! E% |! s8 ^4 y5 wset-quota max_bytes = 214748364800 for pool default.rgw.buckets.data
! n0 C# `4 H" n% @[root@ceph1 ~]# ceph osd pool get-quota default.rgw.buckets.data& N: ` o E+ R% ~7 Z
quotas for pool 'default.rgw.buckets.data':
0 {7 t4 { b$ `" w" C- U9 ? p max objects: N/A
2 N, M' r) Q2 m9 y8 b! {# ] max bytes : 200 GiB7 T' Q* V- l, N [+ g
- o) A& d6 V) k+ n6 Q# b( i
# m$ N7 x- F; c Z |
|