使用国内源
export CEPH_DEPLOY_REPO_URL=https://mirrors.163.com/ceph/debian-jewel
export CEPH_DEPLOY_GPG_URL=https://mirrors.163.com/ceph/keys/release.asc
osd 使用lvm
sudo pvcreate /dev/sdb
sudo vgcreate ceph-volumes /dev/sdb
sudo lvcreate -L10G -nceph0 ceph-volumes
sudo mount /dev/ceph-volumes/ceph0 ~/ceph/osd0/
先将/etc/hosts 的hostname对应为ip 127.0.0.1不识别