Created
November 14, 2018 07:20
-
-
Save wido/8179260a9f6d57351ea4839dee414eef to your computer and use it in GitHub Desktop.
Ceph tell all SSD OSDs to change max backfills
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/sh | |
ceph osd tree|grep osd|grep ssd|awk '{print $1}'|sort -n|xargs -I{} -n 1 ceph tell osd.{} config set osd_max_backfills 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment