• Welcome to LiuJason's Blog!

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

Linux笔记 Jason 3 years ago (2021-01-25) 598 Views 0 Comments

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

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
Like (1)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址