mirror of
https://github.com/ceph/ceph
synced 2024-12-27 14:03:25 +00:00
25 lines
301 B
Bash
25 lines
301 B
Bash
|
#!/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
|
||
|
|