datacenter.cfg bwlimit clone migration move restore

Discussion in 'Proxmox VE: Installation and configuration' started by alebeta, Dec 12, 2018.

  1. alebeta

    alebeta New Member

    Joined:
    Mar 20, 2018
    Messages:
    11
    Likes Received:
    0
    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.
     
  2. check-ict

    check-ict Member

    Joined:
    Apr 19, 2011
    Messages:
    93
    Likes Received:
    1
    Hi,

    This function doesn't work (yet). You have to move the disks offline with rsync and bwlimit for example.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice