O'Reilly logo

Learning Ceph - Second Edition by Karan Singh, Vaibhav Bhembre, Anthony D'Atri

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Watching cluster events

We can specify the -w switch in the ceph utility to watch the cluster for events in real time. We can watch for all types of messages including debug (DBG), info (INF), warn (WRN), error, (ERR), and security (SEC). Output will be continually printed as events occur until we terminate the process.

root@ceph-client0:~# ceph -wcluster e6d4e4ab-f59f-470d-bb76-511deebc8de3health HEALTH_OKmonmap e1: 1 mons at {ceph-mon0=192.168.42.10:6789/0}election epoch 5, quorum 0 ceph-mon0fsmap e15527: 1/1/1 up {0=ceph-mds0=up:active}osdmap e6264: 6 osds: 6 up, 6 inflags sortbitwise,require_jewel_osdspgmap v16377: 128 pgs, 9 pools, 3656 bytes data, 191 objects2102 MB used, 63231 MB / 65333 MB avail128 active+clean2017-09-16 23:39:10.225183 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required