different osds
Hi!
Let's say I have 6 osd. 5 of them are the same, 6 - has twice the amount of disk size.
Should I somehow specifically describe it in CRUSH mapor seph will understand without it?
WBR,
Fyodor.
P.S. I'd like to receive "secret knowledge" about the "weight" in crush map. :)
Quoted 7 lines · Fyodor Ustinov
Hi!
Let's say I have 6 osd. 5 of them are the same, 6 - has twice the amount of disk size.
Should I somehow specifically describe it in CRUSH mapor seph will understand without it?
Right, you just need to weight it 2x that of the other nodes, and it'll get twice the data (and IO traffic). I just pushed a patch to master that will let you do it with something like
ceph osd getcrushmap -o orig
crushtool -i orig --reweight-item <name> <weight> -o new ceph osd setcrushmap -i new
I usually set the weights in terms of some real units, like TB, so that the map dumps make sense. You probably want to
crushtool -d orig > orig.txt
crushtool -d new > new.txt
diff orig.txt new.txt
to verify all is well before reinserting the updated map into the cluster.
sage