datacenter.cfg bwlimit clone migration move restore

alebeta

Well-Known Member
Mar 20, 2018
45
3
48
34
gonkar.com
Hello everyone,

I had been reading the documentation (https://pve.proxmox.com/pve-docs/datacenter.cfg.5.html) to set a bandwidth limit for the next tasks: clone, migration, move, restore.

PVE Version:
pve-manager/5.2-8/fdf39912

If more details are necessary please let me know.

Inside of my datacenter.cfg I set this keys and values:

bwlimit: clone=55,migration=55,move=55,restore=55

In this case I want to limit the bandwidth to 55 MiB/s (using MiB/s because is what is explained in the documentation):

clone=<LIMIT>
bandwidth limit in MiB/s for cloning disks

default=<LIMIT>
default bandwidth limit in MiB/s

migration=<LIMIT>
bandwidth limit in MiB/s for migrating guests

move=<LIMIT>
bandwidth limit in MiB/s for moving disks

restore=<LIMIT>
bandwidth limit in MiB/s for restoring guests from backups

I would like to know why my configuration is not working properly. Everytime I'm cloning a VM it is using full bandwidth. In the other hand for backups I had to configure /etc/vzdump.conf which is working as expected.

Thanks in advance.
 
Hi,

This function doesn't work (yet). You have to move the disks offline with rsync and bwlimit for example.