Skip to content

Instantly share code, notes, and snippets.

@furlongm
Last active March 21, 2017 07:06
Show Gist options
  • Save furlongm/4a99519eb54997ca5041b4fe457c44f3 to your computer and use it in GitHub Desktop.
Save furlongm/4a99519eb54997ca5041b4fe457c44f3 to your computer and use it in GitHub Desktop.
#!/bin/bash
for osd in $(ceph osd tree | awk '{print $3}' | grep ^osd | sort | uniq) ; do
ceph osd deep-scrub ${osd}
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment