Docu review done: Mon 03 Jul 2023 17:08:10 CEST

Table of Content

Commands

CommandsDescription
ceph healthshows ceph overall status
ceph -sshows ceph overall status detailed
ceph -wruns ceph -s in a watch
ceph dfshows cluster usage status
ceph osd statshows status for OSDs
ceph osd dumpshows status for OSDs in detail
ceph osd treeshows crush tree with hosts where osds are running and weight
ceph osd perfshows performanoce dump of OSDs
ceph osd df plainshows OSDs utilization
ceph osd df treeshows OSDs utilization
ceph mon statshows status for mon services
ceph mon dumpshows status for mon servces in detail
ceph quorum_statusshows quorum status
ceph mds statshows status for Metadata servers
ceph mds dumpshows status for Metadata servers in details
ceph fs dumpshows status for Metadata servers in details
ceph fs statusshows status about cephfs
ceph fs lsshows list of filesystems
ceph auth listshows keys and permissions for osds
ceph osd blacklist lsshows blacklisted clients
ceph osd blacklist rm <EntityAddr>removes entry from blacklist
ceph osd crush rule listlists all replicated crush rules
ceph osd crush rule lslists all replicated crush rules
ceph pg statshows placement group status
ceph pg dump_pools_jsonshows pg pools infor in jason

Errors

ceph -s shows:

clock skew detected on mon.ceph01

Solution

ssh to the node which has the issue and run as root:

$ /etc/init.d/ntp stop ; ntpdate <NTPserver> ; /etc/init.d/ntp start ; systemctl restart ceph-mon*

URLs

http://docs.ceph.com/docs/luminous/man/8/ceph/