Re: Cannot delete a pool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> 在 2018年3月1日,下午8:04,Max Cuttins <max@xxxxxxxxxxxxx> 写道:
> 
> I was testing IO and I created a bench pool.
> 
> But if I tried to delete I get:
> 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
> 
> So I run:
> 
> ceph tell mon.\* injectargs '--mon-allow-pool-delete=true'
> mon.ceph-node1: injectargs:mon_allow_pool_delete = 'true' (not observed, change may require restart)
> mon.ceph-node2: injectargs:mon_allow_pool_delete = 'true' (not observed, change may require restart)
> mon.ceph-node3: injectargs:mon_allow_pool_delete = 'true' (not observed, change may require restart)
> 
> I restarted all the nodes.
> But the flag has not been observed.
> 
> Is this the right way to remove a pool?


IIRC, “not observed” means the option value could not dynamically get changed during online. 
So you should set the option in the config file and restart monitor nodes.


Thanks,
Chengguang.

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux