找回密码
 注册
查看: 3812|回复: 1

[Ceph]删除pool Error EPERM: pool deletion is disabled; you must first set the mon_

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2021-4-21 13:39:39 | 显示全部楼层 |阅读模式
[Ceph]pool 删除 Error EPERM: pool deletion is disabled; you must first set the mon_allow_pool_delete config option to true before you can destroy a pool
) d5 ?/ G; p7 ~) K/ H5 e
" c  }( k/ {% V. b  ?1 p( o# Y
# 修改配置文件添加[mon]
: ~7 x$ \! a: p+ `* B4 mmon allow pool delete = true0 d! P$ E7 _2 V$ e
, {& A  [# R& s& _9 w
7 ~7 K- ^) `) W# h' W% ]9 W& Z
# 推送配置) X, ?5 D5 b9 Z  H* h3 d6 e3 J
( F$ e" h# p' X

$ q$ {) n9 p2 c4 J[root@ceph1 ceph-deploy]# ceph-deploy --overwrite-conf config push controller2 s0 @) c5 _& h% ]/ Q7 F
' G0 [- C, ?+ b. g0 n- e5 d+ m$ S
* b7 g, A% u3 a" }: n/ K0 W
# 重启所有节点mon  X, G, C2 A/ x. E  o

  Z, y0 n$ b- Y, q* Y1 Mfor i in {1,2,3};do ssh root@controller systemctl restart ceph-mon.target ;done
5 \; `" [) s  R, n" q ( a4 N& L4 w; n2 |: r( W" e  K% h
2 I/ t9 m9 M$ ]5 c, n" X
/ S, H6 U2 w' |3 \  M* l7 e: E2 P
# R0 a) L) j3 q7 o! Z; }* A

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2021-4-21 13:40:56 | 显示全部楼层
[root@controller deploy]# systemctl restart ceph-mon.target6 ~% p7 K4 g' k  i
[root@controller deploy]# ceph osd pool rm rbd rbd --yes-i-really-really-mean-it- o! q0 N; p. q) G3 ]  i
pool 'rbd' removed
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 01:12 , Processed in 0.020887 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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