找回密码
 注册
查看: 3810|回复: 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
4 p" r, c0 z% ]( L( e- i
: r2 d* m* N+ E- G
# 修改配置文件添加[mon]- [; b& N, K7 {8 T! U) w6 G: v
mon allow pool delete = true
8 q/ h& \* d8 U3 p. G  I/ j) Y" ?8 i8 _4 I% y8 T: t# M

% k+ G2 U) a2 c" @; u2 J5 I: P9 L# 推送配置1 a7 W% D" m8 k8 I
! u, h; x* w2 h

! H! t/ R' Z$ |$ X[root@ceph1 ceph-deploy]# ceph-deploy --overwrite-conf config push controller1 `4 E: H; Q4 E+ ?

* r" u* B, D  _5 X4 M+ [! {7 T5 o# |

$ x- Q5 s) c" L* k3 J# 重启所有节点mon
) Y, ~* ^) x& x" G, ^( v
  a' K8 G0 J" _5 [' J/ kfor i in {1,2,3};do ssh root@controller systemctl restart ceph-mon.target ;done
3 i% h5 Q8 X# Z8 r6 y4 A
( T% l( f# I9 G, O' f8 P& h3 I( L; }4 T; I# V; Q

, y. i& m% \+ C: D, F/ _
8 Z: h4 ?2 ~- ?; l" Q

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2021-4-21 13:40:56 | 显示全部楼层
[root@controller deploy]# systemctl restart ceph-mon.target/ |/ v5 t4 g# c3 r  g
[root@controller deploy]# ceph osd pool rm rbd rbd --yes-i-really-really-mean-it
8 k  g, m  _" ?  N% m* f6 mpool 'rbd' removed
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 01:04 , Processed in 0.019535 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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