Skip to content

Instantly share code, notes, and snippets.

@wido
Created November 14, 2018 07:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wido/8179260a9f6d57351ea4839dee414eef to your computer and use it in GitHub Desktop.
Save wido/8179260a9f6d57351ea4839dee414eef to your computer and use it in GitHub Desktop.
Ceph tell all SSD OSDs to change max backfills
#!/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