Jump to content
Soda

Compare Error Using Copy Function on NAS

Recommended Posts

Hi,

 

I've been using a copy script to backup from a NAS(ext4) to an external HD (HFS format). The operation completed and took nearly 9 hours for about 95,000 files. On verification roughly 80 files show a compare error "different data size".

Is this to be expected when copying between different filesystems?

Would I be better off with a backup script rather than copy, which I only used as I didn't want an incremental backup?

 

Thanks

Share this post


Link to post
Share on other sites

Can you give some examples of the changed files? It's entirely possible that a bit of Finder metadata (eg, .DS_Store) might have been updated due to regular file browsing activity, or an application was changing some files during the copy/verify process.

Share this post


Link to post
Share on other sites

Why are you still using HFS? Or it is just a typing error and you mean HFS+ ?

 

How is the NAS volume mounted? SMB or AFP?

I think Ext4 is largely irrelevant here.

 

Did any of the "different" files have a resource fork?

Share this post


Link to post
Share on other sites

Hi, thanks for the input. I'm using HFS+ and AFP, also the files don't have resource fork. I think it's quite likely it was something that happened in the background since the file size change was quite small, and the the time between copy and compare was quite long. I have since copied them again using a backup script instead of copy and had no discrepancies.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×