
重装 PVE 的 Ceph
如果你的ceph被玩坏了 重装方式如下(清空数据)
systemctl stop ceph-mon.target
systemctl stop ceph-mgr.target
systemctl stop ceph-mds.target
systemctl stop ceph-osd.target
rm -rf /etc/systemd/system/ceph\*
killall -9 ceph-mon ceph-mgr ceph-mds
rm -rf /var/lib/ceph/mon/ /var/lib/ceph/mgr/ /var/lib/ceph/mds/
pveceph purge
apt purge ceph-mon ceph-osd ceph-mgr ceph-mds
apt purge ceph-base ceph-mgr-modules-core
rm -rf /etc/ceph/\*
rm -rf /etc/pve/ceph.conf
rm -rf /etc/pve/priv/ceph.\*
最后在 WebUI 重新配置即可
- 感谢你赐予我前进的力量
赞赏者名单
因为你们的支持让我意识到写文章的价值🙏
本文是原创文章,采用 CC BY-NC-ND 4.0 协议,完整转载请注明来自 Dr. KS
评论
匿名评论
隐私政策
你无需删除空行,直接评论以获取最佳展示效果