fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


proxmox:pve:migration:pve-pve

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
proxmox:pve:migration:pve-pve [2025/09/09 19:02] adminproxmox:pve:migration:pve-pve [2025/09/09 21:56] (current) admin
Line 15: Line 15:
  
  
 +</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>
proxmox/pve/migration/pve-pve.1757437368.txt.gz · Last modified: by admin