# 查看集群状态
ceph -s# 查看集群磁盘容量[root@test-ceph1 ~]# ceph df
--- RAW STORAGE ---
CLASS SIZE AVAIL USED RAW USED %RAW USED
ssd 1.5 TiB 1.5 TiB 4.3 GiB 4.3 GiB 0.28
TOTAL 1.5 TiB 1.5 TiB 4.3 GiB 4.3 GiB 0.28
--- POOLS ---
POOL ID PGS STORED OBJECTS USED %USED MAX AVAIL
.mgr 11449 KiB 21.3 MiB 0474 GiB
# 查看osd布局[root@test-ceph1 ~]# ceph osd tree
ID CLASS WEIGHT TYPE NAME STATUS REWEIGHT PRI-AFF
-11.46530 root default
-70.29306host test-ceph1
1 ssd 0.09769 osd.1 up 1.000001.000007 ssd 0.09769 osd.7 up 1.000001.0000012 ssd 0.09769 osd.12 up 1.000001.00000-90.29306host test-ceph2
3 ssd 0.09769 osd.3 up 1.000001.000008 ssd 0.09769 osd.8 up 1.000001.0000013 ssd 0.09769 osd.13 up 1.000001.00000-11