Howto define OSD weight in Crush map

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

 



Hi,
after adding an OSD to Ceph it is adviseable to create a relevant entry in Crush map using a weight size depending on disk size.

Example:
ceph osd crush set osd.<id> <weight> root=default host=<hostname>

Question:
How is the weight defined depending on disk size?
Which algorithm can be used to calculate the weight?

From my first Ceph installation (luminous) the Crush map entry for
- HDD device with 1.80TB size (output of lsscsi -s): weight was 1.627229
- NVMI device with 3.20TB size (output of lsscsi -s): weight was 2.910889

THX


_______________________________________________
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