ceph 10.3版的安装

  • 2019 年 11 月 8 日
  • 筆記

yum install ceph ceph-deploy  ssh-copy-id  root@c2{5,6,7}  ceph-deploy  new c25 c26 c27  ceph-deploy --ceph-conf ceph.conf --overwrite-conf  mon create c25  ceph-deploy gatherkeys  c25  ceph-deploy --ceph-conf=/etc/ceph/ceph.conf  --overwrite-conf mds create c25:c25  ceph-deploy --ceph-conf=/etc/ceph/ceph.conf disk zap c27:/dev/vdb  ceph-deploy --ceph-conf=/etc/ceph/ceph.conf  --overwrite-conf  osd  prepare  c27:/dev/vdb  ceph-deploy --ceph-conf=/etc/ceph/ceph.conf  --overwrite-conf  osd activate  c27:/dev/vdb1:/dev/vdb2  ceph osd pool create cephfs_data  64  ceph osd pool create cephfs_metadata  64  ceph fs new cephfs  cephfs_metadata   cephfs_data