Re: different osds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 22 May 2011, Fyodor Ustinov wrote:
> 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
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux