Last active
March 6, 2017 04:28
-
-
Save furlongm/f0412127140eecc16161e6de8dc8835f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for osd in $(systemctl --all | grep ceph-osd\@ | cut -d " " -f 3 | grep -v target) ; do | |
systemctl stop ${osd} | |
sleep 30 | |
systemctl start ${osd} | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment