qm migrate --online --with-local-disks -> is copying block level

Discussion in 'Proxmox VE: Installation and configuration' started by andy77, Dec 7, 2018.

  1. andy77

    andy77 Member
    Proxmox VE Subscriber

    Joined:
    Jul 6, 2016
    Messages:
    169
    Likes Received:
    4
    Hello @ all,

    I am wondering if it is really nececerry to use block-level copying on "qm migrate --online --with-local-disks"?

    Because having volumes with 400GB for example and only a couple of gigs are used inside (thin provisioning), takes of course long to copy on block-level instead copying only the file stream.

    With zfs send | zfs receive, zfs is copying only the file stream wich of course, in my example, takes just a couple of seconds.

    Regards
     
  2. wolfgang

    wolfgang Proxmox Staff Member
    Staff Member

    Joined:
    Oct 1, 2014
    Messages:
    4,072
    Likes Received:
    250
    Hi,

    zfs send/receive is can't be used when the guest is online.
    What is the working alternative?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. andy77

    andy77 Member
    Proxmox VE Subscriber

    Joined:
    Jul 6, 2016
    Messages:
    169
    Likes Received:
    4
    Hi Wolfgang,

    aha, I didn't knew that.


    I though it is possible this way:
    Code:
    take a initial snapshot -> zfs send the snapshot -> suspend machine -> take a final snapshot -> zfs send incremental the final snapshot -> unsuspend machine on new node.
     
  4. wolfgang

    wolfgang Proxmox Staff Member
    Staff Member

    Joined:
    Oct 1, 2014
    Messages:
    4,072
    Likes Received:
    250
    We have discussed this way in the past and we will not implement this semi-online mode.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. andy77

    andy77 Member
    Proxmox VE Subscriber

    Joined:
    Jul 6, 2016
    Messages:
    169
    Likes Received:
    4
    OK, thx for the answer
     
  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