Microceph

Microceph actually installs a full ceph installation for distributed storage. so you have use commands for both ceph and microceph - each command will sometimes give slightly different information

Check the health of your microceph cluster

 microceph status
ceph -s

Arguably the most useful is ceph health detail, showing actual warnings and statuses of the cluster

ceph health
ceph health detail

Check disk space

ceph df

Check out the microceph service status daemon/mon/mgr/mds/osd

sudo snap services microceph.mon
 sudo snap restart microceph.mon

To Check the status of a service

sudo systemctl status snap.microceph.mon

To check the logs for a specific service you might use (the -r flag orders the logs by latest first)

journalctl -u snap.microceph.mon -r

To get full logs you can navigate here in the node

cd /var/snap/microceph/common/logs

view the logs available

ls

view the last 100 entries

tail -n 100 /var/snap/microceph/common/logs/[log-filename]

Last updated