Throttle RBD Export

RBD export works great, sometimes too great and can overload the disks it’s writing too, if those disks happen to be serving say VM’s then goodnight VM.

Solution – Use https://github.com/Phredward/throttle

Example – Export at 50MB\s

rbd export volumes/volume-371b6662-1bc2-4dad-8545-c30ec1f0bfce - | python /root/throttle.py --bandwidth=52428800 > /data/MyExportedImage.img