Skip to content

Commit

Permalink
ceph: improve "60 seconds cluster overview" (#430)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berendt <[email protected]>
Signed-off-by: Marc Schöchlin <[email protected]>
  • Loading branch information
berendt authored and scoopex committed May 21, 2024
1 parent 25fffcb commit cbc8451
Showing 1 changed file with 47 additions and 10 deletions.
57 changes: 47 additions & 10 deletions docs/guides/operations-guide/ceph.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,53 @@ Shiny new features aren't worth the risk of total or partial data loss/corruptio

The following commands can be used to quickly check the status of Ceph:

```
$ ceph -s # Print overall cluster status
$ ceph health detail # Print detailed health information
$ ceph osd tree # Display current OSD tree
$ ceph df # Cluster storage usage by pool and storage class
$ ceph osd pool ls detail # List pools with detailed configuration
$ ceph osd df {plain|tree} {class e.g. hdd|ssd} # Get usage stats for OSDs
$ ceph -w # Watch Ceph health messages sequentially
$ ceph versions # List daemon versions running in the cluster
```
* Print overall cluster status

```
ceph -s
```

* Print detailed health information

```
ceph health detail
```

* Display current OSD tree

```
ceph osd tree
```

* Cluster storage usage by pool and storage class

```
ceph df
```

* List pools with detailed configuration

```
ceph osd pool ls detail
```

* Get usage stats for OSDs

```
ceph osd df {plain|tree} {class e.g. hdd|ssd}
```

* Watch Ceph health messages sequentially

```
ceph -w
```

* List daemon versions running in the cluster

```
ceph versions
```

Also you can run the following on each node running ceph-daemons,
to provide further debug information about the environment:
Expand Down

0 comments on commit cbc8451

Please sign in to comment.