Cannot copy vm image larger than 5gb on Centos 6 running KVM virtualization.
I am running Centos 6.6 64bit as a VM host using KVM. I discovered the issue while trying to copy an image file to a backup location.
If I try to copy a file larger than about 5gb from a mounted 2 tb drive it starts copying but quits at about 5gb and gives different errors depending on how I try to copy the file. The issue is not limited to a single file, it happens to any file larger than 5gb. I believe it may be related to the hard drive itself, I've mounted the hard drive in another system and get the same types of errors.
cp returns this error: input/output error
dmesg shows a bunch of these:
I've also tried to clone the vm and it also errors out at about 5gb.
My goal now is to retrieve a copy of this vm image so that I can use it on different hardware. I cannot rebuild the vm from scratch because I do not know all of the configurations that need to be in place. It is a custom spam filter and would require to many hours to reconfigure. What are my options to get a working copy of this vm onto other hardware?
The vm itself runs fine and is is Centos 6.6 64bit also.
Thank you so much for your help. I'll try dd-rescue to recover the data. I did find a backup of the VM (nearly a year old) on another drive so I can probably rebuild it from that if I need to. Ironically I discovered this problem while putting regular backup schedules for these linux boxes in place - lesson learned!