ceph换盘
1、手动删除osd,下面以osd1为例
停止服务
# systemctl stop ceph-osd@1
从crush map中移除osd
# ceph osd out osd.1
# ceph osd crush remove osd1
删除认证信息
# ceph auth del osd.1
删除osd
# ceph osd rm 1
2、更换硬盘
略
3、添加osd(在ceph-deploy节点的ceph安装目录执行)
ceph-deploy disk zap storage1:sdb
ceph-deploy --overwrite-conf osd create storage1:sdb