Ceph集群存储在分区中新建OSD

如果是全新新建的话,直接用这个就行了:



sudo ceph-volume lvm create --data /dev/sda3 --crush-device-class ssd

记得用fdisk进行分区,例子中是sda3作为osd的分区,ssd是crush中的磁盘类型

如果因为连接cluster失败的话,先初始化pveceph init,并更新keyring:



ceph auth get client.bootstrap-osd > /var/lib/ceph/bootstrap-osd/ceph.keyring


This article is under CC BY-NC-SA 4.0 license.
Please quote the original link:https://www.liujason.com/article/1153.html
Licensed under CC BY-NC-SA 4.0
comments powered by Disqus
Built with Hugo
Theme Stack designed by Jimmy