January 2019
Intermediate to advanced
606 pages
15h 1m
English
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 ...Read now
Unlock full access