++ ceph emergency script
This commit is contained in:
parent
dc1f42ab02
commit
048697a812
1 changed files with 4 additions and 0 deletions
4
ceph/start-all-monit-osds.sh
Normal file
4
ceph/start-all-monit-osds.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
# 2022-02-01
|
||||
|
||||
for osd in /etc/monit/conf.d/osd.*; do cmd=$(cat $osd | grep "start pro" | sed -e 's/.* = "//' -e 's/".*//'); echo $cmd; ( $cmd & ); done
|
Loading…
Reference in a new issue