-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read corruption on large files (vmdk) #8
Comments
Is /dev/sda3 sata, scsi, iscsi, ... ? |
Here's info on the file: |
Any update on this issue? Still using vmfs-tools for backup and still experiencing the error above.... |
Is anyone else doing a checksum/md5 to verify integrity? I can't believe I'm the only one experiencing this... |
You are definitely not alone.
Other useful information:
This tool is a great asset when you need it, but large file support is becoming the norm everywhere it seems. |
Friend, I have the same problem. |
I've discovered that when reading large files from a vmfs volume, vmfs-tools does not consistantly present the same data to the reading application (i.e. corruption). For example, after copying a large vmdk file to an external disk, I ran sha1sum on the source and destination 3 times. As you can see below, the source (vmfs) presents a different sum on almost every run:
Compare 1 failed on file [/mnt/vmfs/dvr/dvr-flat.vmdk]. MD5/SHA source=c8809289e7e48549c9594400a66e1b987947c326, destination=15a78ae7140b3ab82009a35bc64f32bc32a60274
Compare 2 failed on file [/mnt/vmfs/dvr/dvr-flat.vmdk]. MD5/SHA source=c8809289e7e48549c9594400a66e1b987947c326, destination=15a78ae7140b3ab82009a35bc64f32bc32a60274
Compare 3 failed on file [/mnt/vmfs/dvr/dvr-flat.vmdk]. MD5/SHA source=7d1d7ce34910758ae75545da8b0decbafdcb2b02, destination=15a78ae7140b3ab82009a35bc64f32bc32a60274
I ran the sha1sum under valgrind using debugvmfs but found only one error (not sure it's related):
valgrind --leak-check=full --show-reachable=yes /usr/local/sbin/debugvmfs /dev/sda3 cat /PBX2/PBX2-flat.vmdk | sha1sum -b ==4945== Memcheck, a memory error detector ==4945== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==4945== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==4945== Command: /usr/local/sbin/debugvmfs /dev/sda3 cat /PBX2/PBX2-flat.vmdk ==4945== ==4945== Warning: noted but unhandled ioctl 0x5382 with no size/direction hints
==4945== This could cause spurious value errors to appear.
==4945== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==4945== Conditional jump or move depends on uninitialised value(s)
==4945== at 0x40A303: vmfs_vol_open (vmfs_volume.c:223)
==4945== by 0x407A9F: vmfs_fs_open (vmfs_fs.c:203)
==4945== by 0x40295D: main (debugvmfs.c:675)
==4945==
This same problem presents on 3 different VMware ESXIi 4.1 hosts (we are hoping to use vmfs-tools as our bare metal backup). We are running vmfs-tools 0.2.5 under Centos 6.2 x86_64..
The text was updated successfully, but these errors were encountered: