Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

Custom Device Class

Hi,

Is it possible to create a custom device class for osd ?  I Have a setup where some off the osd have a write cache.  I would like to make a pool only using these disk.

Can this be done within the interface or is it possible in command line.

Raf

I found a solution for this.

ceph osd crush rm-device-class osd.2 osd.3
ceph osd crush set-device-class CachedHDD osd.2 osd.3

We also need to change the ceph option

osd_class_update_on_start = false

Would it be possible to integrate something like is this in the interface ?

Then it would possible to create pools with different performance levels.

Regards
Raf


make sure when you create a pool  that you create a custom crush rule that uses your new device class