ceph集群
1.创建存储池
ceph osd pool create test1 100
2.创建镜像
rbd create --size 1024 test1/foo
客户端
1.安装ceph
2.映射块设备
# rbd map test1/foo
/dev/rbd0
3.格式化
mkfs -t ext4 /dev/rbd0
4.挂载
mount /dev/rbd0 /cephfs/
# cd /cephfs/
# ls
lost+found
ceph osd pool create test1 100
rbd create --size 1024 test1/foo
# rbd map test1/foo
/dev/rbd0
mkfs -t ext4 /dev/rbd0
mount /dev/rbd0 /cephfs/
# cd /cephfs/
# ls
lost+found