Re: OSD Forece Removal

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

 






Thanks stephane the thing is that those steps needs to be run in the node where the osd lives, I dont have that node any more since the operating Systems got corrupted so I Couldnt make it work :(

Jesus,
On my test cluster, what i have done is (experimental....) :
  • Edit crushmap and attach failed osd (osd.2) to a running host (previously attached to delta host)
  • reinject crushmap
  • then run the 2 commands : ceph osd down osd.2; ceph osd rm 2
  • After that, ceph osd tree give me :
    • # id    weight    type name    up/down    reweight
      -100    2    root default
      -1    1        host bravo
      0    1            osd.0    up    1    
      -2    1        host charlie
      1    1            osd.1    up    1    
      2    1            osd.2    DNE   
  • edit crushmap again, suppress the reference to osd.2 (DNE)
  • Reinject, and TADA ! :
    • # id    weight    type name    up/down    reweight
      -100    2    root default
      -1    1        host bravo
      0    1            osd.0    up    1    
      -2    1        host charlie
      1    1            osd.1    up    1   
Stephane.

Thanks 


Jesus Chavez

SYSTEMS ENGINEER-C.SALES

jeschave@xxxxxxxxx
Phone: +52 55 5267 3146
Mobile: +51 1 5538883255

CCIE - 44433

On Mar 20, 2015, at 3:49 AM, Stéphane DUGRAVOT <stephane.dugravot@xxxxxxxxxxxxxxxx> wrote:




Hi all, can anybody tell me how can I force delete  osds? the thing is that one node got corrupted because of outage, so there is no way to get those osd up and back, is there anyway to force the removal from ceph-deploy node?

Hi,
Try manual :

Thanks
<image005.png>


Jesus Chavez

SYSTEMS ENGINEER-C.SALES

jeschave@xxxxxxxxx
Phone: +52 55 5267 3146
Mobile: +51 1 5538883255

CCIE - 44433


Cisco.com

        




  
Think before you print.

This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

Please click here for Company Registration Information.






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


_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux