Skip to Content
Mastering Proxmox - Third Edition
book

Mastering Proxmox - Third Edition

by Wasim Ahmed
November 2017
Intermediate to advanced
494 pages
14h 29m
English
Packt Publishing
Content preview from Mastering Proxmox - Third Edition

Ceph command list

The following table shows some of the common Ceph commands used in a cluster:

Command

Function

#ceph -s

Displays the Ceph cluster status.

#ceph -w

Displays the Ceph cluster running log.

#ceph health detail

Displays a detailed error if there is one.

#ceph osd tree

Displays a list of all OSDs categorized by nodes.

#ceph set osd noout #ceph set osd nodown

Prevents any OSDs from getting marked out and down, so Ceph does not start rebalancing. It is necessary during maintenance when the node requires a reboot due to updates. 

#ceph unset osd noout #ceph unset osd nodown

Must be run after the maintenance is over in order to resume normal operation.

#ceph daemon osd.X config show | grep ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Linux Security and Hardening - Third Edition

Mastering Linux Security and Hardening - Third Edition

Donald A. Tevault
Mastering KVM Virtualization - Second Edition

Mastering KVM Virtualization - Second Edition

Vedran Dakic, Humble Devassy Chirammal, Prasad Mukhedkar, Anil Vettathu

Publisher Resources

ISBN: 9781788397605Other