CephBasics: Difference between revisions

From T2B Wiki
Jump to navigation Jump to search
(Created page with "== Check Ceph cluster status == The command : <pre> ceph -s </pre> shows the actual status of the Ceph cluster : <pre> [root@cephq1 ~]# ceph -s cluster 82766e04-585b-49a6-...")
 
Line 17: Line 17:


</pre>
</pre>
The following command displays a real-time summary of the status of the cluster, and major events :
<pre>
ceph -w
</pre>
== Remove OSDs ==
== Remove OSDs ==

Revision as of 21:55, 3 November 2015

Check Ceph cluster status

The command :

ceph -s

shows the actual status of the Ceph cluster :

[root@cephq1 ~]# ceph -s
    cluster 82766e04-585b-49a6-a0ac-c13d9ffd0a7d
     health HEALTH_OK
     monmap e1: 3 mons at {cephq2=192.168.41.2:6789/0,cephq3=192.168.41.3:6789/0,cephq4=192.168.41.4:6789/0}
            election epoch 8, quorum 0,1,2 cephq2,cephq3,cephq4
     osdmap e78: 6 osds: 6 up, 6 in
      pgmap v1293: 192 pgs, 2 pools, 0 bytes data, 0 objects
            27920 kB used, 4021 GB / 4106 GB avail
                 192 active+clean

The following command displays a real-time summary of the status of the cluster, and major events :

ceph -w

Remove OSDs