Unable to move 60GB disk-storage back from NAS to local

lyricnz

New Member
Nov 8, 2022
9
0
1
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:

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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!