mirror of
https://github.com/ceph/ceph
synced 2024-12-26 21:43:10 +00:00
2e49d5c4b7
A few basic sanity checks, including a tell on a down osd. Signed-off-by: Sage Weil <sage@inktank.com>
25 lines
301 B
Bash
Executable File
25 lines
301 B
Bash
Executable File
#!/bin/sh -x
|
|
|
|
set -e
|
|
|
|
ceph status
|
|
ceph -s
|
|
ceph quorum_status
|
|
|
|
ceph osd dump
|
|
ceph osd tree
|
|
ceph pg dump
|
|
ceph mon dump
|
|
ceph mds dump
|
|
|
|
ceph tell osd.0 version
|
|
ceph tell osd.9999 version && exit 1
|
|
ceph tell osd.foo version && exit 1
|
|
|
|
for id in `ceph osd ls` ; do
|
|
ceph tell osd.$id version
|
|
done
|
|
|
|
echo OK
|
|
|