O'Reilly logo

Ceph Cookbook - Second Edition by Karan Singh, Michael Hackett, Vikhyat Umrao

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Throttle the backfill and recovery:

If you want to add the new OSD node in production peak hours or non-peak hours and you want to have the least impact in client IO as compared to Ceph data rebalance - recovery and backfill IO due to new OSD new. You can throttle the backfill and recovery with the help of following commands:

  • Set osd_max_backfills = 1 option to throttle the backfill threads. You can add this in ceph.conf [osd] section and you can also set it dynamically with the following command: 
    # ceph tell osd.* injectargs '--osd_max_backfills 1'
  • Set osd_recovery_max_active = 1 option to throttle the recovery threads. You can add this in ceph.conf [osd] section and you can also set it dynamically with the following command: 
    # ceph tell ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required