Questions tagged [crush]

CRUSH is an acronym for Controlled Replication Under Scalable Hashing. It is the algorithm that drives the Ceph object storage environment. DO NOT use this tag for questions about generic program crashes - use relevant tags for your language instead.

CRUSH is a hash-based algorithm for calculating how and where to store and retrieve data in a distributed object–based storage cluster. Distribution is controlled by a hierarchical cluster map called a CRUSH map.

9 questions
4
votes
1 answer

Can someone explain the strange leftover OSD devices in the Ceph CRUSH map -- renamed from osd.N to deviceN?

A while back we removed two damaged OSDs from our Ceph cluster, osd.0 and osd.8. They are now gone from most Ceph commands, but are still showing up in the CRUSH map with weird device names: # devices device 0 device0 <----- device 1 osd.1 device…
DanJ
  • 1,654
  • 1
  • 16
  • 23
1
vote
1 answer

Rookv1.2 does not add labels on CrushMap

I'm currently working with Rook v1.2.2 to create a Ceph Cluster on my Kubernetes Cluster (v1.16.3) and I'm failing to add a rack level on my CrushMap. I want to go from : ID CLASS WEIGHT TYPE NAME -1 0.02737 root default -3 0.01369 …
Ryctus
  • 109
  • 2
  • 12
1
vote
1 answer

ceph crush map - replication

Still somewhat confused how Ceph crush maps work and was hoping someone can shed some light. Here's my osd tree: core@store101 ~ $ ceph osd tree ID WEIGHT TYPE NAME UP/DOWN REWEIGHT PRIMARY-AFFINITY -1 6.00000 root…
gambol
  • 53
  • 1
  • 7
0
votes
0 answers

VSCode crush after click on Accounts

Can someone help me with a recurring issue in Visual Studio Code? Whenever I click on "accounts", the program crashes and disappears without warning. I have to restart it every time this happens, regardless of how many times I run it. I've also…
Miki
  • 1
0
votes
0 answers

How can I make showCrushStatus using jgit.api

How can I make showCrushStatus using jgit.api i make clone,commit,push,pull using google search but i don't know at all making when push, show Crush status more how to show crush files.
0
votes
1 answer

Need help to setup a crush rule in ceph for ssd and hdd osd

we are having a proxmox cluster with 3 nodes. Each node have 4 ssd and 12 hdd. My plan is to create 2 crush rules (one for ssd devices and another one for hdd devices). With these 2 rules I will create 2 pools. One ssd pool and one hdd pool. But…
Osti
  • 79
  • 1
  • 11
0
votes
1 answer

Understanding the mechanism of crush rule in ceph

I would like to know the difference between these 2 rules: # rules rule rack_rule{ ruleset 0 type replicated min_size 1 max_size 10 step take default step chooseleaf firstn 0 type rack step emit } and rule 2rack_2host{ ruleset 0 type…
USR
  • 15
  • 4
0
votes
1 answer

ceph crushtool piping commands is not working

I am running this command inside a ceph monitor container ceph osd getcrushmap | crushtool -d - | less It shows me the output of the decompiled crush map. When I try with ceph osd getcrushmap | crushtool -d - | crushtool -c - I get an error,…
USR
  • 15
  • 4
0
votes
1 answer

Why Ceph calculate PG ID by object hash rather than CRUSH algorithm?

Ceph using CRUSH algorithm for PG->OSD mapping and it works fine for increasing/decreasing of OSD nodes. But for obj->PG mapping, Ceph still uses the traditional hash, which is pgid = hash(obj_name) % pg_num. This approach may lead to massive data…
Wizmann
  • 839
  • 1
  • 9
  • 14