I have a backup of a vdi file on an external 2TB hard disk with plenty of space. It's 25GB heavy. I was able to copy TO it obviously.
Now I am trying to copy it back to a new laptop I got for work, and whatever I try, it always fails to copy.
For example, with rsync, it gets right to the end of it, but then outputs an input/output error and there's no file :(
rsync -avvz --progress arch.vdi /home/me/vboxvms/arch/arch.vdi sending incremental file list delta-transmission disabled for local transfer or --whole-file arch.vdi 25,527,582,720 100% 12.61MB/s 0:32:11 (xfr#1, to-chk=0/1) rsync: read errors mapping "/media/me/Ext/bak/arch/arch.vdi": Input/output error (5) WARNING: arch.vdi failed verification -- update discarded (will try again). arch.vdi 5,006,721,024 19% 15.94MB/s 0:20:57 This is a run I tried from the actual directory on the external disk. I also tried with params rsync -avvz -W --ignore-errors but also failed. I have tried with plain cp and with GUIs etc - nothing works. Also tried dd but that copied only 6GB (I assume because it's from NTFS to ext4).
I have searched extensively and apparently many people have faced this issue but I haven't been able to find any solution...
The file is good, I tried to start the virtualbox instance by loading the file directly from the external disk and it works (but I want it on the local disk...).
Could not create the clone medium '/home/me/vboxvms/arch/arch.vdi' (VERR_DEV_IO_ERROR). Result Code: VBOX_E_FILE_ERROR (0x80BB0004) Component: MediumWrap Interface: IMedium {ad47ad09-787b-44ab-b343-a082a3f2dfb1}