卸载osd

1.停止osd.1

  1. systemctl stop ceph-osd@1

2.将节点状态标记为out

  1. ceph osd out osd.1

3.从crush中移除节点

  1. ceph osd crush remove osd.1

4.删除节点

  1. ceph osd rm osd.1

5.删除节点认证

  1. ceph auth del osd.1

添加osd