Re: [ceph-users] clear active+degraded pgs

2014-07-07 Thread Gregory Farnum
CRUSH is a probabilistic algorithm. By having all those non-existent OSDs in the map, you made it so that 10/12 attempts at mapping would fail and need to be retried. CRUSH handles a lot of retries, but not enough for that to work out well. -Greg Software Engineer #42 @ http://inktank.com | http://

Re: [ceph-users] clear active+degraded pgs

2014-07-07 Thread hua peng
Hi, I have resolved it by run these: root@ceph2:~# ceph osd crush rm osd.0 removed item id 0 name 'osd.0' from crush map root@ceph2:~# ceph osd crush rm osd.1 removed item id 1 name 'osd.1' from crush map root@ceph2:~# ceph osd crush rm osd.2 removed item id 2 name 'osd.2' from crush map root@cep

[ceph-users] clear active+degraded pgs

2014-07-07 Thread hua peng
Hi, I have 135 pgs degraded in the system. How can I remove them? They are in test environment, all data are not important. Thanks for the kind helps. root@ceph2:~# ceph osd tree # idweight type name up/down reweight -1 0.8398 root default -2 0.8398 host ceph2 0