Read error: Input/output error, when copying ESXi 5.5 VMDK

Tom Redzepovic
Tom Redzepovic used Ask the Experts™
on
Hi,
When copying a VMDK from one datastore to another I get:

cp /vmfs/volumes/datastore1/vm.vmdk  /vmfs/volumes/datastore2/vm.vmdk
cp: read error: Input/output error

I also get read error trying to backup the VM with VEEAM.

Is the VMDK corrupt? How can I fix it?

//tom
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
The datastore is corrupt, and if the datastore os corrupted any data on the datastore, is likely o be corrupted.

What is the datastore? RAID or single disk ?

You could try VOMA, to check the VMFS datastore

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2036767

Author

Commented:
Hi,

The datastore is a RAID6 volume, 7 disks each 300 GB. Recently 2 disks failed but were replaced successfully. It's really difficult to perform a VOMA check on the datastore because there are 5 VM's running on it.

Any other options? Can the corruption be repaired?

//tom
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
did two disks fail at the same time ?

VOMA attempts the repair, to be honest with you with RAID corruption, I would BACKUP NOW!

1. Destroy the datastore.
2. Rebuild the array.
3. Re-create the datastore.
4. Restore the VMs.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial