将设为首页浏览此站
开启辅助访问 天气与日历 收藏本站联系我们切换到窄版

易陆发现论坛

 找回密码
 开始注册
查看: 289|回复: 3
收起左侧

ceph调整pool池的pg数

[复制链接]
发表于 2021-4-23 13:01:25 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?开始注册

x
2021-04-21 16:42:56 ceph osd pool set volume size 2
* v* J% x% z+ E  796  2021-04-21 16:43:15 ceph osd pool ls ! W0 x7 O8 J3 s* m' _0 z1 d! k- f$ f
  797  2021-04-21 16:43:30 ceph osd pool  detail
6 Q- t: }4 b* M! t$ ?- Y+ N) A  798  2021-04-21 16:43:53 ceph osd pool ls detail4 z" t3 v3 J/ l! A2 _# h
  799  2021-04-21 16:44:02 ceph -sh 4 r+ p( `+ U! B6 w- e
  800  2021-04-21 16:44:05 ceph -s
1 j$ u% p4 q9 v; _  801  2021-04-21 16:44:29 ceph osd pool set rbd pg_num 64
% E5 b3 i3 O. n  O* g6 t  802  2021-04-21 16:44:36 ceph osd pool set volume pg_num 64$ u( ]/ w+ H7 f- H% N5 j3 s% l
  803  2021-04-21 16:44:40 ceph -s
; E8 e5 M4 i( h6 U0 c  804  2021-04-21 16:45:12 ceph osd pool set volume pg_num 64
0 `8 B" ?% k4 [9 {- b: I8 i" i' X  805  2021-04-21 16:45:15 ceph osd pool set volume pg_num 32
# k' u+ u; K3 N4 w  ~8 C3 X, u
 楼主| 发表于 2021-4-23 13:02:57 | 显示全部楼层
ceph osd pool ls detail
 楼主| 发表于 2021-4-23 13:03:13 | 显示全部楼层
ceph osd pool ls detail
* m) i9 r" z$ l2 Z1 Tpool 1 'vms' replicated size 2 min_size 1 crush_rule 0 object_hash rjenkins pg_num 128 pgp_num 128 autoscale_mode warn last_change 78 flags hashpspool,selfmanaged_snaps stripe_width 0 application rbd2 e& d2 O0 J( S0 ?* u
removed_snaps [1~3]
& `- R2 \3 r" |0 }% }' L, O% H5 t1 h* c& Ppool 3 'images' replicated size 1 min_size 1 crush_rule 0 object_hash rjenkins pg_num 32 pgp_num 32 autoscale_mode warn last_change 92 flags hashpspool,selfmanaged_snaps stripe_width 0 application rbd
, b* g( u. o1 F2 Z  E) u( e: M( } removed_snaps [1~3]. Z1 W: U1 ?5 l
pool 4 'volumes' replicated size 1 min_size 1 crush_rule 0 object_hash rjenkins pg_num 32 pgp_num 32 autoscale_mode warn last_change 100 flags hashpspool,selfmanaged_snaps stripe_width 0 application rbd+ U* k: m7 }$ k( k
removed_snaps [1~3]/ H' P) V6 x- f  x8 Z
pool 5 'backups' replicated size 1 min_size 1 crush_rule 0 object_hash rjenkins pg_num 32 pgp_num 32 autoscale_mode warn last_change 101 flags hashpspool,selfmanaged_snaps stripe_width 0
7 v/ l. G. ?- s% W$ X+ @2 _ removed_snaps [1~3]8 e6 V5 w/ N4 x. K0 ?( e
 楼主| 发表于 2021-4-23 14:12:28 | 显示全部楼层
rbd remove --pool vms user1
6 v+ E: v2 V( DRemoving image: 100% complete...done.
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

如有购买积分卡请联系497906712

QQ|返回首页|Archiver|手机版|小黑屋|易陆发现 点击这里给我发消息

GMT+8, 2021-6-20 20:02 , Processed in 0.064227 second(s), 23 queries .

Powered by 龙睿 bbs168x X3.2

© 2001-2020 Comsenz Inc.

快速回复 返回顶部 返回列表