Custom Device Class
RafS
32 Posts
February 16, 2021, 1:24 pmQuote from RafS on February 16, 2021, 1:24 pmHi,
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
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
RafS
32 Posts
February 17, 2021, 8:35 amQuote from RafS on February 17, 2021, 8:35 amI 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
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
DividedByPi
32 Posts
February 18, 2021, 7:16 pmQuote from DividedByPi on February 18, 2021, 7:16 pmmake sure when you create a pool that you create a custom crush rule that uses your new device class
make sure when you create a pool that you create a custom crush rule that uses your new device class
Custom Device Class
RafS
32 Posts
February 16, 2021, 1:24 pm
Quote from RafS on February 16, 2021, 1:24 pmHi,
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
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
RafS
32 Posts
February 17, 2021, 8:35 am
Quote from RafS on February 17, 2021, 8:35 amI 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
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
DividedByPi
32 Posts
February 18, 2021, 7:16 pm
Quote from DividedByPi on February 18, 2021, 7:16 pmmake sure when you create a pool that you create a custom crush rule that uses your new device class
make sure when you create a pool that you create a custom crush rule that uses your new device class