Ceph Reweight Only works in same host?

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

 



Hi all,

Currently, I have 3 OSDs in 3 different hosts:

# ceph osd tree:

ID  CLASS  WEIGHT   TYPE NAME       STATUS  REWEIGHT  PRI-AFF
-1         0.03908  root default
-3         0.00980      host node1
 0    hdd  0.00980          osd.0       up   1.00000  1.00000
-9               0      host node2
-5         0.00980      host node3
 1    hdd  0.00980          osd.1       up   1.00000  1.00000
-7         0.01949      host node4
 2    hdd  0.01949          osd.2       up   1.00000  1.00000

When I insert data into the pool, the data is equally distributed on 3 OSDs. (3 replicas)
However, I want the osd.2 to hold more data since it has more space. I thought this is already handled by the WEIGHT in the CRUSH map.
Nonetheless, I tried changing both osd.0 and osd.1 to 0.5 REWEIGHT, still getting the same result.

How I can configure it so that the osd.2 will hold double the data of what osd.0 or osd.1 hold?
Does it has something to do with "osd_crush_chooseleaf_type"?

Thanks for any advice.
Isaiah

_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux