Giter Site home page Giter Site logo

Comments (9)

bb-qq avatar bb-qq commented on August 17, 2024

I believe this corruption issue does not relate to the device driver or the device itself because TCP/IP and Ethernet has a checksum in each layer independently. If corruption is detected in a packet, the packet is discarded immediately.

I've heard that rsync has a problem with error handling when disconnecting and that you should use the --checksum and --append-verify options. Are you using these options?

Also if you are facing a disconnection issue when this driver please try to use the front port.

from r8152.

joelcarlton avatar joelcarlton commented on August 17, 2024

Maybe I didn't describe the issue properly. Rsync worked fine. In the cli of each nas the hashes matched every time with no rotation; so everything good with rsync.

When hashing the same file on the nas using a bash terminal on another machine over mounted share is when I see the issue. SMB seems to rotate the hash each time with AFP does not.

On the built in nic. Both AFP and SMB show the same hash every time.

Local NAS

SSH

  • ssh NAS > teminal sha512: ...00x07

SMB

Built in NIC on computer and NAS

  • smb NAS built in nic > terminal local share sha512: ...00x07
  • smb NAS built in nic > terminal local share sha512: ...00x07
  • smb NAS built in nic > terminal local share sha512: ...00x07

Pluggable NIC + r8152 Driver

  • smb NAS through pluggable and r8152 > terminal local share sha512: ...230sy
  • smb NAS through pluggable and r8152 > terminal local share sha512: ...ira03
  • smb NAS through pluggable and r8152 > terminal local share sha512: ...209ft

Built in NIC on computer and NAS

  • smb NAS built in nic > terminal local share sha512: ...00x07
  • smb NAS built in nic > terminal local share sha512: ...00x07
  • smb NAS built in nic > terminal local share sha512: ...00x07

AFP

Built in NIC on computer and NAS

  • afp NAS built in nic > terminal local share sha512: ...00x07
  • afp NAS built in nic > terminal local share sha512: ...00x07
  • afp NAS built in nic > terminal local share sha512: ...00x07

Pluggable NIC + r8152 Driver

  • afp NAS through pluggable and r8152 > terminal local share sha512: ...043er
  • afp NAS through pluggable and r8152 > terminal local share sha512: ...043er
  • afp NAS through pluggable and r8152 > terminal local share sha512: ...043er

Built in NIC on computer and NAS

  • afp NAS built in nic > terminal local share sha512: ...00x07
  • afp NAS built in nic > terminal local share sha512: ...00x07
  • afp NAS built in nic > terminal local share sha512: ...00x07

I can connect, disconnect, and reconnect to the same share and hash the same file and I get predictable results every time. I can only get the hash that matches the local NAS files system when I hash NOT using the Pluggable + r8152 driver.

With 1.5TB of 100,000+ files, I could only get one to match with a hash-based deduper. Using the built-in adapters every file and all 1.5TBs were matched.

from r8152.

bb-qq avatar bb-qq commented on August 17, 2024

How did you calculate hashes for mounted files? Is it generic programs like sha1sum/sha256sum?

from r8152.

transformcube avatar transformcube commented on August 17, 2024

The problem may cause by the USB3 (superspeed?) port in DS1815+ not enough power to drive the 2.5G dongle. Try to find a external USB3 superspeed Hub with power supply may helpπŸ€”.

from r8152.

bb-qq avatar bb-qq commented on August 17, 2024

Even if there wasn't enough power, it's weird to see data corruption happen, because there are many mechanisms to guarantee data integrity in upper communication protocols.

If the corruption also occurs with sha1sum/sha256sum, we should suspect hardware issues in CPU or RAM.

from r8152.

joelcarlton avatar joelcarlton commented on August 17, 2024

from r8152.

bb-qq avatar bb-qq commented on August 17, 2024

Could you compare the original file with the corrupted file using the cmp command? If there are some "pattern of corruption", it might be a hint to resolve the issue.

from r8152.

robloh avatar robloh commented on August 17, 2024

I've seen this before with Synology and it turned out one of the 2 NAS' I was using had faulty memory. If you install the Windows Synology tool you can run a memory check (takes a long time, and you may have to check the log after the unit comes back up for the result: cat /var/log/messages | grep 'Memtest')

from r8152.

bb-qq avatar bb-qq commented on August 17, 2024

I agree with the expectation that memory failure is the cause.
There have been no other similar reports so far, so I'm closing this issue, but please feel free to reopen it if you have additional comments.

from r8152.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.