I'm trying to import a .vmdk as per the official instructions, but it keeps failing, reporting that there is no space left. This is very much not true, as there are terabytes of space in the volume group, and the .vmdk is less than 130 gigabytes.
The .vmdk is on an HDD connected via USB and mounted as
At first, I was getting an error after a while stating "failed to write at byte x", but now it says
The target storage is an LVM called VMStorage_1 and is mounted as
Here is some LVM info:
The .vmdk is on an HDD connected via USB and mounted as
/mnt/usb
. The command being used is
Bash:
qemu-img convert -f vmdk /mnt/usb/old-pc/old-pc.vmdk -O qcow2 /mnt/VM_Storage/vm-100-disk-1.qcow2
At first, I was getting an error after a while stating "failed to write at byte x", but now it says
Bash:
qemu-img: /mnt/VM_Storage/vm-100-disk-1.qcow2: error while converting qcow2: Could not write qcow2 header: No space left on device
The target storage is an LVM called VMStorage_1 and is mounted as
/mnt/VMStorage
. All disk images for the VMs on this node reside here. I'll be the first to admit LVM is still very new to me, but as far as I can tell the volume is making use of all available space and should not be complaining. Any help towards a solution would be much appreciated, as I need to get this critical system virtualized as soon as possible.Here is some LVM info:
Bash:
# pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 pve lvm2 a-- <558.38g 15.99g
/dev/sdb VMStorage_1 lvm2 a-- <2.73t 2.24t
Bash:
# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
vm-104-disk-0 VMStorage_1 -wi-ao---- 64.00g
vm-105-disk-0 VMStorage_1 -wi-ao---- 32.00g
vm-115-disk-0 VMStorage_1 -wi-ao---- 32.00g
vm-118-disk-0 VMStorage_1 -wi-ao---- 64.00g
vm-119-disk-0 VMStorage_1 -wi-ao---- 64.00g
vm-122-disk-0 VMStorage_1 -wi-ao---- 32.00g
vm-134-disk-0 VMStorage_1 -wi-ao---- 64.00g
vm-144-disk-0 VMStorage_1 -wi-ao---- 80.00g
vm-162-disk-0 VMStorage_1 -wi-ao---- 32.00g
vm-165-disk-0 VMStorage_1 -wi-ao---- 32.00g
data pve twi-a-tz-- <429.61g 0.00 0.40
root pve -wi-ao---- 96.00g
swap pve -wi-ao---- 8.00g
Bash:
# vgs
VG #PV #LV #SN Attr VSize VFree
VMStorage_1 1 10 0 wz--n- <2.73t 2.24t
pve 1 3 0 wz--n- <558.38g 15.99g