Robert,

I did try that without success.
The error was:
Invalid command:  missing required parameter srcpool(<poolname>)


Upon "debian112"'s recommendation on IRC channel and looking at this post: http://cephnotes.ksperis.com/blog/2014/10/29/remove-pool-without-name

I 've used the command:

rados rmpool "" "" --yes-i-really-really-mean-it

which actually removed the problematic pool!


It would be a good idea for developers to also include a way to manipulate (rename, delete, etc.) pools using the ID which is definitely unique and in my opinion would be error-resistant or at least less susceptible to errors.


Best regards,

George

Can you try

ceph osd pool rename " " new-name



On Tue, May 5, 2015 at 12:43 PM, Georgios Dimitrakakis
<gior...@acmac.uoc.gr> wrote:

Hi all!

Somehow I have a pool without a name...

$ ceph osd lspools
3 data,4 metadata,5 rbd,6 .rgw,7 .rgw.control,8 .rgw.gc,9 .log,10
.intent-log,11 .usage,12 .users,13 .users.email,14 .users.swift,15
.users.uid,16 .rgw.root,17 .rgw.buckets.index,18 .rgw.buckets,19
.rgw.buckets.extra,20 volumes,21 ,


which doesn't have any objects in there...

$ rados df
pool name category KB objects clones degraded unfound rd rd KB wr wr KB - 0 0 0
0           0            0            0            0           0
.intent-log - 0 0 0
0           0            0            0            0           0
.log - 0 0 0
0           0            0            0            0           0
.rgw - 2 8 0
0           0          947          725           28           8
.rgw.buckets - 133181101 672223 0
0           0      3301538    191937648      3668657    179126038
.rgw.buckets.extra - 0 1 0
0           0         1068        10488        17397           0
.rgw.buckets.index - 0 4 0
0           0     12680399     75160699     12381179           0
.rgw.control - 0 8 0
0           0            0            0            0           0
.rgw.gc - 0 32 0
0           0      2164762      2263771      3688270           0
.rgw.root - 1 3 0
0           0          450          298            3           3
.usage - 0 3 0
0           0        20250        20250        40500           0
.users - 1 3 0
0           0          158           93            9           6
.users.email - 1 2 0
0           0            3            2            6           4
.users.swift - 1 2 0
0           0            4            2            6           4
.users.uid - 1 4 0
0           0        10741        10661         9985           10
data - 0 0 0
0           0            0            0            2           1
metadata - 2 20 0
0           0          230          262           21           8
rbd - 0 0 0
0           0            0            0            0           0
volumes - 691911002 172198 0
0           0      6726256    607996917      7872745   1122764623


How can I either rename it so that I can modify the min_size and replication level of that pool (I have some unclean pgs due to that) or delete it
completely?


Best,


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

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

Reply via email to