March 20Mar 20 I have an issue where SATA cables occasionally come loose, causing drives to be disabled and throw CRC errors. I’ve replaced cables, changed the motherboard, and even used new HDDs, but the problem still happens. It might be due to case vibration or fans.Setup:Parity 1Parity 2Disk 1Disk 2Disk 3Recently, I moved the NAS for cleaning and Disk 1 started showing CRC errors and was disabled. I left it that way for 2 days.Today, I replugged the cable and followed the usual process: stopped the array, unassigned Disk 1, started in maintenance mode, stopped again, reassigned Disk 1, and started the array in normal mode. Unraid automatically began rebuilding Disk 1.Then Parity 1 started throwing CRC errors, likely because I accidentally bumped its SATA cable while fixing Disk 1.When I tried to shut down, Unraid became unresponsive (no web UI, HDMI, or SSH), so I had to force an unclean shutdown.After booting again, Unraid reported the unclean shutdown and started the array unmounted. I repeated the same process for Disk 1 (maintenance mode, reassign, etc.), but this time it did not automatically start rebuilding.Current state:Parity 1 has a red X (disabled)Disk 1 shows as emulated (yellow warning)There is a “Sync” button that says it will rebuild data, but not much detail if it's going to write to all drives or just disk 1.So my concerns,What exactly will the Sync button do? Will it rebuild only Disk 1, or something else? Do I go ahead and click sync? I feel like it's going to try and build the parity instead.Why didn’t Disk 1 rebuild automatically this time?Is it safe to use new Config on Parity 1 to re enable it without rebuilding, assuming Disk 1 rebuilds successfully and there are no more errors?Keeping in mind, data was likely written during the 2 days Disk 1 was emulated (while parity was healthy), and later Parity 1 developed errors while the array was running in normal mode rather quickly within minutes. I don't think any of my dockers wrote anything that quickly, but i can't be sure.That said, I can't confirm any other cables going bad and another disk getting disabled, i did my best to be careful, my cables do have latches and I did try a variety of sata cables, all end up with same issue. To verify, is there a way I can do a read only test to see if any of the sata cables throw errors before i attempt anything further and get unraid to disable another disk again? maybe there's a way through terminal? Edited March 20Mar 20 by Shant1993
March 20Mar 20 Author Completely forgot to post diagnostics, here it is. These diagnostics are -after- i did everything i mention in this reply.Since I wrote this, I did the following, i'm not sure if it was a mistake or the right call. I had the array in maintenance mode, so no disks mounted, and I ran the following in terminal as a read only test to see if any of the disks, be it disabled, emulated, or healthy, would throw off crc errors. I ran it on all of them with different terminal instancesdd if=/dev/sdg of=/dev/null bs=4M iflag=direct status=progressThen I monitored syslogs to see if it will throw any errorstail -f /var/log/syslogAs well as monitored the web ui errors tab (not sure if errors would reflect here when running the read test through terminal)Overall, I got zero CRC errors on all the drives, but i didn't do a 100% read, only a few hundred GB (I know, I probably should have done a full test)So I stopped array again, unassigned parity 1 which is disabled anyway, to no disk, and started array in maintenance mode again, and clicked sync parity.Right now it's rebuilding Disk 1, so far no CRC or other errors. Hoping for the best.Eager to hear opinions nevertheless if I should have done something else or taken more precaution.tower-diagnostics-20260320-1534.zip Edited March 20Mar 20 by Shant1993
March 20Mar 20 Community Expert Hopefully it finishes without issues, but if there are any more errors, post new diags, it may also be worth replacing the SATA cables; typically that's what causes UDMA CRC errors.
March 20Mar 20 Community Expert 2 hours ago, Shant1993 said:i did my best to be careful, my cables do have latchesHave a look at this FAQ:https://support-en.wd.com/app/answers/detailweb/a_id/15954The point is to make sure that the cable has 'friction' when removing one without the latch. and that it is locked if you have the latch. Read carefully as apparently shroud or no-shroud is dependent on the model...
March 20Mar 20 Author 34 minutes ago, JorgeB said:Hopefully it finishes without issues, but if there are any more errors, post new diags, it may also be worth replacing the SATA cables; typically that's what causes UDMA CRC errors.I promise I have tried a dozen sata cables, they all end up with this isue... I have changed my motherboard one time, have bought new hdds at other times, i have tried new cables... It always happens on both new and old drives over time. Some cables take more time, some less. I am guessing maybe something to do with my chasis vibrating from fans. So far no errors yet.
March 20Mar 20 Author 37 minutes ago, Frank1940 said:Have a look at this FAQ:https://support-en.wd.com/app/answers/detailweb/a_id/15954The point is to make sure that the cable has 'friction' when removing one without the latch. and that it is locked if you have the latch. Read carefully as apparently shroud or no-shroud is dependent on the model...This is great. I'll be sure to pay attention to friction and shroud the next time I have to touch those cables. Does SAS have similar issues?
March 20Mar 20 Community Expert 13 minutes ago, Shant1993 said:Does SAS have similar issues?WD doesn't day...Now also be careful not to bundle multiple SATA data cables together for 'neatness'. This can cause two problems that can contribute to UDMA CRC errors. First is that it can put stress on the cables which can cause them to loosen when subjected to vibration. Second, it can allow cross-talk between the cables which can also cause CRC errors if the cables are not shielded.PS: Always double and triple check that all SATA connectors are firmly seated anytime, you are working around any SATA cable. Last inspection should be a visual one. Edited March 20Mar 20 by Frank1940
March 20Mar 20 Author 42 minutes ago, Frank1940 said:WD doesn't day...Now also be careful not to bundle multiple SATA data cables together for 'neatness'. This can cause two problems that can contribute to UDMA CRC errors. First is that it can put stress on the cables which can cause them to loosen when subjected to vibration. Second, it can allow cross-talk between the cables which can also cause CRC errors if the cables are not shielded.PS: Always double and triple check that all SATA connectors are firmly seated anytime, you are working around any SATA cable. Last inspection should be a visual one.I mean in terms of CRC errors for SAS. I remember reading that SAS is more resilient, but I don't have first hand experience with it.I'm using those bundled sata cables, where it's 6-8 sata cables in one shielding so it's neat. Surprisingly these gave me less errors than individual ones. I suppose my chassis is too tight and crammed, but good advise on cross talk issues. I should really buy that Jonsbo N5...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.