Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| proxmox:pve:migration:pve-pve [2025/09/09 18:23] – admin | proxmox:pve:migration:pve-pve [2025/09/09 21:56] (current) – admin |
|---|
| ls -al /etc/pve/qemu-server/ | ls -al /etc/pve/qemu-server/ |
| |
| | find /etc/pve/qemu-server/ -maxdepth 1 -type f -name '*.conf' -exec sed -i 's/local-tmp1/remote-tmp1/g' {} \; |
| | find /etc/pve/qemu-server/ -maxdepth 1 -type f -name '*.conf' -exec sed -i 's/local-tmp2/remote-tmp2/g' {} \; |
| |
| |
| | |
| | </code> |
| | |
| | https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/qemu/{vmid}/move_disk |
| | |
| | |
| | check task status: |
| | <code> |
| | cat /var/log/pve/tasks/active |
| | |
| | root@pve01:~# cat /var/log/pve/tasks/active |
| | UPID:pve01:00031D9A:0061C8D0:68C05BDD:qmmove:132:root@pam: 0 # last digit of the task's unique reference string -> "D" |
| | UPID:pve01:00032A7E:00632EAA:68C05F71:qmmove:133:root@pam: 0 |
| | UPID:pve01:00031EB5:0061E5A8:68C05C26:qmmove:128:root@pam: 1 68C05D04 OK |
| | UPID:pve01:0003197C:00615595:68C05AB6:qmmove:132:root@pam: 1 68C05BB0 OK |
| | |
| | cat "/var/log/pve/tasks/D/UPID:pve01:00031D9A:0061C8D0:68C05BDD:qmmove:132:root@pam:" # /var/log/pve/tasks/D/ <- last digit of the task's unique reference string |
| | watch -n15 tail "/var/log/pve/tasks/D/UPID:pve01:00031D9A:0061C8D0:68C05BDD:qmmove:132:root@pam:" |
| | </code> |
| | |
| | alternative: |
| | <code> |
| | pvesh get /nodes/$(hostname)/tasks -typefilter qmmove |
| | pvesh get /nodes/$(hostname)/tasks -typefilter qmclone |
| | pvesh get /nodes/$(hostname)/tasks/UPID:pve01:00031D9A:0061C8D0:68C05BDD:qmmove:132:root@pam:/status |
| | pvesh delete /nodes/$(hostname)/tasks/UPID:pve01:00031D9A:0061C8D0:68C05BDD:qmmove:132:root@pam: |
| </code> | </code> |