I moved the disk of one of my VMs to the NAS (using the UI, works fine), so I could live-migrate. But as it happens, it's a bit slow, so I want to move it back. Attempted to move it back, and got an error - it seems that one of the commands proxmox runs under the covers takes a really loooong time, which times out:
I created a bug on this https://bugzilla.proxmox.com/show_bug.cgi?id=4795 but does anyone know what manual commands I can run to achieve the same thing? Looks like proxmox UI is all written in perl, and it's been way too long for me to figure that out.
Code:
create full clone of drive sata0 (truenas:112/vm-112-disk-0.qcow2)
command '/usr/bin/qemu-img info '--output=json' /mnt/pve/truenas/images/112/vm-112-disk-0.qcow2' failed: got timeout
could not parse qemu-img info command output for '/mnt/pve/truenas/images/112/vm-112-disk-0.qcow2' - malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "(end of string)") at /usr/share/perl5/PVE/Storage/Plugin.pm line 953.
Use of uninitialized value $size in division (/) at /usr/share/perl5/PVE/QemuServer.pm line 8137.
--virtualsize may not be zero.
TASK ERROR: storage migration failed: lvcreate 'pve/vm-112-disk-0' error: Run `lvcreate --help' for more information.
I created a bug on this https://bugzilla.proxmox.com/show_bug.cgi?id=4795 but does anyone know what manual commands I can run to achieve the same thing? Looks like proxmox UI is all written in perl, and it's been way too long for me to figure that out.