Add a ceph start script

This commit is contained in:
Nico Schottelius 2022-04-17 19:20:53 +02:00
parent 10eac966bc
commit 03afb6161b

View file

@ -1,4 +1,12 @@
#!/bin/sh #!/bin/sh
# 2022-02-01 # 2022-02-01
/etc/init.d/lvm2 start
/opt/ungleich-tools/ceph/ceph-osd-activate-all
ceph-volume lvm activate --all
for osd in /etc/monit/conf.d/osd.*; do cmd=$(cat $osd | grep "start pro" | sed -e 's/.* = "//' -e 's/".*//'); echo $cmd; ( $cmd & ); done for osd in /etc/monit/conf.d/osd.*; do cmd=$(cat $osd | grep "start pro" | sed -e 's/.* = "//' -e 's/".*//'); echo $cmd; ( $cmd & ); done