Storage migration failed - Input/output error - How to approach?

martgb

Member
Jul 21, 2022
10
2
8
Hi Everyone,

This VM runs fine but when I try to move its disk to a different storage I'm getting this I/O error.
Any suggestions on how to get this disk to move?

As for the storage, it's a consumer grade "SN810 NVMe WDC 1024GB". It's showing PASSED on the SMART column but has a 26% wearout.
Should I be scanning this disk with some kind of utility to find damaged sectors? Looking for suggestions.

Thanks in advance.
See error message below.

Code:
transferred 30.1 GiB of 100.0 GiB (30.06%)
transferred 31.1 GiB of 100.0 GiB (31.06%)
transferred 32.1 GiB of 100.0 GiB (32.06%)
transferred 33.1 GiB of 100.0 GiB (33.06%)
transferred 34.1 GiB of 100.0 GiB (34.07%)
qemu-img: error while reading at byte 37415280128: Input/output error
qemu-img: error while reading at byte 37421571584: Input/output error
qemu-img: error while reading at byte 37425765888: Input/output error
  Logical volume "vm-104-disk-0" successfully removed.
TASK ERROR: storage migration failed: copy failed: command '/usr/bin/qemu-img convert -p -n -f raw -O raw /dev/pve/vm-104-disk-1 zeroinit:/dev/local-lvm2/vm-104-disk-0' failed: exit code 1
 
you should backup the VM from Proxmox VE WebUI first, if it's not success then consider backup data from VM inside.
 
you should backup the VM from Proxmox VE WebUI first, if it's not success then consider backup data from VM inside.
Hi David,
Thanks for replying.

I get the same error when trying to backup the VM, which makes sense since the backup command is also trying to read the entire disk to make a copy of it.

I'm not too concerned about the data stored in the VM itself. I'm more concerned about freeing up space in the Proxmox host and flagging damaged sections of my storage to avoid future issues.
 
Last edited: