【ceph】部署osd
uuidgen
ceph osd create uuidgen
mkdir -R /var/lib/ceph/osd/ceph-3
ceph-osd -i 0 --mkfs --mkkey --osd-uuid 63970d8a-597a-4123-9767-097f88bbcd00
sudo ceph auth add osd.{osd-num} osd 'allow *' mon 'allow profile osd' -i /var/lib/ceph/osd/{cluster-name}-{osd-num}/keyring
例如:
ceph auth add osd.0 osd 'allow *' mon 'allow profile osd' -i /data0/osd.0/keyring
ceph osd crush add-bucket node1 host # 添加一个host节点node1
ceph osd crush add osd.16 1.00 root=default rack=rack01 host=node4