ceph-crush-location(1)

πŸ’– ceph-crush-location β€” get CRUSH location πŸ’–

okay so bestie, this is ceph-crush-location(1), a little User Commands moment, and honestly it's giving "tiny tool, huge main character energy" ✨


🌸 NAME 🌸

ceph-crush-location β€” get the CRUSH location, no cap πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So basically, this generates a CRUSH location for whatever entity you throw at it. That's the whole vibe. 🫢

The CRUSH location is literally a list of key=value pairs, all separated by spaces, all squished onto a single line. It tells you where in the CRUSH hierarchy this entity should be placed β€” like a little home address but for your cluster's brain 🌈


✨ OPTIONS ✨

  • --cluster <clustername> β€” the name of the cluster, fr fr. (peep /etc/ceph/$cluster.conf for the tea πŸ‘€)
  • --type <osd|mds|client> β€” the daemon/entity type. pick your fighter: osd, mds, or client πŸ’–
  • --id <id> β€” the id, bestie. that's the osd number, the mds name, or the client name, depending on what you said for --type ✨

πŸ‘‘ SEE ALSO πŸ‘‘

ceph-conf(8) β€” go read it, iykyk πŸ“–


that's it, that's the whole page, periodt πŸ’…

shoutout to ceph-crush-location from April 2014 β€” yeah she's an elder but she still ate, and this whole thing is part of the User Commands collection πŸŽ€ πŸ¦‹πŸ’–βœ¨

πŸ“¦ where this page comes from