找回密码
 注册
查看: 3811|回复: 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" v& M' j) t0 N

9 @0 D! ?, ]3 S* i
# 修改配置文件添加[mon]3 K+ `' `. k: s9 D: V# M; D2 N
mon allow pool delete = true
6 x9 n9 C9 ]8 l, C" l0 I1 |
( N* [! `  H+ R5 U3 I6 W
6 A$ a. ^& `; _6 w% T4 U+ z
# 推送配置
0 E, j0 h! M7 x! |2 e' `  z5 s: Z( J7 z" m& [. a4 O6 I8 M

' \/ ^; b% n4 p: S[root@ceph1 ceph-deploy]# ceph-deploy --overwrite-conf config push controller
/ U4 a! F. L+ o# ~
6 {3 t6 @1 ~, d4 O% c5 @! F3 k
0 h, `9 W* G+ V4 ^
# 重启所有节点mon
& Y* w- ~( k3 M' O( y" D6 z- |) M1 N+ U0 d% D4 Z: m( Z' l
for i in {1,2,3};do ssh root@controller systemctl restart ceph-mon.target ;done+ P, ^- \3 J. n1 g, E

* q1 D9 {& u* F$ c
- U8 l* x) L  ~3 Q! V% N7 q
( X' ?  f- w1 D6 _& d! q
: D' P9 I3 b1 |! c# l/ i

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2021-4-21 13:40:56 | 显示全部楼层
[root@controller deploy]# systemctl restart ceph-mon.target
+ G" ]. r3 e9 |+ C7 R[root@controller deploy]# ceph osd pool rm rbd rbd --yes-i-really-really-mean-it' Y0 T- d& g/ g5 ?6 G, j0 P
pool 'rbd' removed
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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