.
I'm running XY Pro v14.20.0300 (ie the latest) under Windows 7 32-bit.
I was copying MP3 files to a cheap player, which plugs into a USB2 port and appears as an external drive. All very standard. I use FastCopy (terrific program) for all but the simplest jobs, with "Verify" enabled. I've been told that this is largely a waste of time, since Windows does a CRC verification anyway. But I do it, and sure enough - there never are any failures.
FastCopy copied the several hundred files, but reported verification errors on dozens of them. Surprised, I used Beyond Compare (great program) to check source and destination "by CRC" comparison. It found no errors. I became more surprised.
[Digression: I guess the CRC that Windows wrote was from the data as it was being written to the target disk; not from a read-back].
So then I had BC do a byte-by-byte comparison. It now revealed the same dozens of errors that FastCopy had reported. A manual hash check of several of these files individually confirmed that source <> target. Repeated copy attempts under BC failed, always reporting good CRC matches but bad byte-to-byte.
Now I've been vaguely considering moving to XY's Custom Copy, and it is very rare to have a test bed for "bad copies". So I tried copying the same files again using XY Custom Copy with Byte-to-byte verification. I attach a picture of the settings I used.
Unfortunately - and this was the biggest surprise - XY performed the copies without reporting any errors. And yet both Beyond Compare byte-for-byte and manual hash checks show that still, source <> target. That is, the copies made by XY had the same kind of errors as the copies made by FC and BC.
So it looks like XY is not really doing a byte-for-byte readback after writing, even when that's requested.
Apparent failure to actually verify copies
Forum rules
You might want to read this if you're looking for priority service
Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
You might want to read this if you're looking for priority service
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
-
Papoulka
- Posts: 455
- Joined: 13 Jul 2013 23:41
Apparent failure to actually verify copies
To see the attached files, you need to log into the forum.
-
RalphM
- Posts: 2145
- Joined: 27 Jan 2005 23:38
- Location: Cairns, Australia
Re: Apparent failure to actually verify copies
Did you see the warning on your config screen?
Maybe update your XYCopy.exe to the latest version and try again.
Maybe update your XYCopy.exe to the latest version and try again.
Ralph 
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
-
Papoulka
- Posts: 455
- Joined: 13 Jul 2013 23:41
Re: Apparent failure to actually verify copies
I saw that but didn't think it would matter. I've updated XYCopy.exe now, and get the same results.
HOWEVER, another thing occurs to me: maybe the MP3 flash drive is internally scrambling the data AFTER it has been correctly written and byte-to-byte verified.
I think FastCopy does its verification after ALL files have been written. If XY does it after EACH file has been written, and if a few seconds after that the flash drive loses its marbles, it would explain everything I've seen.
So - there could be no problem at all with XY, only with the flash drive, and it only shows up because of a unique timing situation. I rather think that's the case, but the symptoms were confusing.
HOWEVER, another thing occurs to me: maybe the MP3 flash drive is internally scrambling the data AFTER it has been correctly written and byte-to-byte verified.
I think FastCopy does its verification after ALL files have been written. If XY does it after EACH file has been written, and if a few seconds after that the flash drive loses its marbles, it would explain everything I've seen.
So - there could be no problem at all with XY, only with the flash drive, and it only shows up because of a unique timing situation. I rather think that's the case, but the symptoms were confusing.
-
Enternal
- Posts: 1175
- Joined: 10 Jan 2012 18:26
Re: Apparent failure to actually verify copies
Very very interesting. FastCopy does verification check by CRC by default but can be changed to MD5. I'm guessing that's what you're using which is why errors were picked up since it seems CRC is showing up as valid.
Anyway, have you tried copying using XYCopy using all the other available hashes to see if the other ones are doing what it's supposed to do? All we supposedly know right now is that Byte-to-Byte is possibly not working as expected. MD5 should at least show that there are errors. Same thing for SHA512 that is more complicated than MD5.
I remember reading about verification can be a pain since software using it must be careful on how they verify since they might end up only verifying the Windows cache of the file copied rather than what's actually written on the disk.
http://blogs.msdn.com/b/oldnewthing/arc ... 50645.aspx
Anyway, have you tried copying using XYCopy using all the other available hashes to see if the other ones are doing what it's supposed to do? All we supposedly know right now is that Byte-to-Byte is possibly not working as expected. MD5 should at least show that there are errors. Same thing for SHA512 that is more complicated than MD5.
I remember reading about verification can be a pain since software using it must be careful on how they verify since they might end up only verifying the Windows cache of the file copied rather than what's actually written on the disk.
http://blogs.msdn.com/b/oldnewthing/arc ... 50645.aspx
-
Papoulka
- Posts: 455
- Joined: 13 Jul 2013 23:41
Re: Apparent failure to actually verify copies
.
Writing my previous post made me think more. If the flash drive was scrambling the data after a good write, maybe it would keep on doing so. That appears to be the case: the more time I let pass, the more errors I find when Beyond Compare does a byte-for-byte comparison.
So now the most likely explanation is that the data is written correctly by all the programs, but quickly starts going bad. Depending on when the byte-to-byte comparison is done, the errors may or may not be picked up.
This looks like a false alarm, I'm glad to say.
Writing my previous post made me think more. If the flash drive was scrambling the data after a good write, maybe it would keep on doing so. That appears to be the case: the more time I let pass, the more errors I find when Beyond Compare does a byte-for-byte comparison.
So now the most likely explanation is that the data is written correctly by all the programs, but quickly starts going bad. Depending on when the byte-to-byte comparison is done, the errors may or may not be picked up.
This looks like a false alarm, I'm glad to say.
-
Linkeree
- Posts: 8
- Joined: 22 Aug 2014 04:54
Re: Apparent failure to actually verify copies
To OP: Have you checked if you got the same problem with the same operation with the same files to different USB flash disk or hard drive?
I used to have copying problems with cheap/fake brand USB disk.
Has this issue been solved?
Thanks
I used to have copying problems with cheap/fake brand USB disk.
Has this issue been solved?
Thanks
-
Papoulka
- Posts: 455
- Joined: 13 Jul 2013 23:41
Re: Apparent failure to actually verify copies
@Linkeree
Yes, solved. False alarm regarding XY. The solution was eventually finding out that the written data stayed good long enough to convince XY, and WIndows, and probably most other copy programs that everything was OK. Then the data would fade away. FastCopy caught it because it was still doing its read-back verification, which takes a while with 8GB over USB2.
Yes, solved. False alarm regarding XY. The solution was eventually finding out that the written data stayed good long enough to convince XY, and WIndows, and probably most other copy programs that everything was OK. Then the data would fade away. FastCopy caught it because it was still doing its read-back verification, which takes a while with 8GB over USB2.
XYplorer Beta Club