Comments (9)
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.
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.
How did you calculate hashes for mounted files? Is it generic programs like sha1sum/sha256sum?
from r8152.
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.
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.
from r8152.
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.
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.
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)
- synology ds220J with USB nic RTL8156 won't work HOT 3
- Ugreen 2.5g .USB_C and DSM 7.1 XPenology HOT 1
- Package suddenly not worked (endless broken) HOT 7
- 2.5G Ethernet very slow on DS214play (evansport) HOT 6
- DS923+ Problem after update (DSM 7.2.1) HOT 1
- Suggestion for Updating the biaze KZ13 Product Link to Offer a More Competitive Price HOT 1
- DS420+ does not recognize 2.5GB USB Ethernet Adapter HOT 2
- r8152-rtd1296 for 6.2 ? HOT 1
- Which Driver Do I Need for DS923+? HOT 1
- Can IPv6 be disable? HOT 3
- ds920+ download only 1Gbps when I use this plugin HOT 2
- r1852 adaper regconnized but it does not appear in network interface HOT 2
- DS620Slim w/ UGreen type C shows only 100Mbps HOT 1
- r8152-2.18.1-1 fails to build on kernel 6.9.x HOT 1
- Synology DS420+ HOT 1
- DS1520+ with TRENDnet TUC-ET2G HOT 2
- delete
- DS412+ works with ASUS C2500, but is slow
- Please help me resolve the package service execution failure on Synology DS923+.
- The hub crashes during a transfer of more than 797Mo HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from r8152.