Re: Best way to remove a decommissioned server from crush map

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

 



You can remove it with this command:

$ ceph osd crush remove <hostname>


Zitat von Jaep Emmanuel <emmanuel.jaep@xxxxxxx>:

Hi,

I want trying to do some cleanup of a server that has been forcefully decommissioned.

I manage to remove the OSDs using the manual procedure in the documentation. However, the host still shows up in the crush map. I was thinking of the following procedure to remove the host from the crush map:
```
ceph osd getcrushmap -o /tmp/crush
crushtool -d /tmp/crush -o /tmp/crush_decompiled

vi /tmp/crush_decompiled
```

remove all references of the host.

```
crushtool -c /tmp/crush_decompiled -o /tmp/crush_recompiled
ceph osd setcrushmap -i /tmp/crush_recompiled
```


Is it the correct way to do it?
Is there anything ’safer’?

Best,

Emmanuel



_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[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