How to set IO limit on RBD image (ceph qos settings)

2.5k views Asked by At

From the ceph doc :

librbd supports limiting per image IO, controlled by the following settings.

Running the commands from the doc prints unknown options qos ....

I haven't found anything on the web so far. Can anyone help me please?

2

There are 2 answers

0
aiqency On BEST ANSWER

I've finally found the correct command here. I'm posting it here hoping it helps someone in the future.

At the image level: rbd config image set <pool>/<image> rbd_qos_iops_limit <value>

At the pool level: rbd config pool set <pool> rbd_qos_iops_limit <value>

0
Seena Fallah On

Are you using Ceph nautilus or octopus? QOS on rbd images released in nautilus and above.