November 10Nov 10 Currently a Parity-Check is running and its only hitting about 381 kbs. I cannot copy or move data on the system. I have disabled all my docker containers and it made no change. My CPU's are flip flopping between them and hitting 100%. From 2% to 100 in a second or two. In my trying to figure out logs, it looks like possibly a controller issue? This is all a bit over my head, any help would be greatly apprciated.Thankstower-diagnostics-20261110-0443.zip Edited November 10Nov 10 by ProblemWithField
November 10Nov 10 Disk5 has a connection problem. Since boot, its link has failed and reset about every 30 seconds: ata30: SError: { RecovComm PHYRdyChg CommWake 10B8B DevExch } ata30.00: failed command: READ DMA EXT ata30: hard resetting link A parity check needs all the disks, so the whole array, including copies and moves, slows down to the speed of that link. The disk's SMART looks fine. These errors usually come from a bad SATA cable or a bad power connection. What I recommend: 1. Cancel the parity check that is running now. At this speed it cannot finish.2. Shut down the server. Replace disk5's SATA cable, and use a different power connector for it. If you use a power splitter or adapter, remove it.3. While you are in the BIOS, set the onboard SATA controller to AHCI mode. It is set to IDE now. This is safe for the array, because Unraid identifies the disks by serial number.4. Start the server, wait a few minutes, and check the syslog for more ata errors. If they continue, move disk5 to a different port to see if the problem follows the disk or the port.5. When the log is clean, run a parity check again. It needs to be a correcting check, because there was an unclean shutdown.Also, disk6 is connected through a port multiplier on the ASM1061 controller, and it is logging errors too. We do not recommend port multipliers. If you can, connect that disk directly to a port, or use an HBA.After the changes, please post new diagnostics.
November 10Nov 10 Author Thanks VERY much I will work on the changes you shared. Is there an HBA you recommend, I would like to get one ordered asap. I will work on this when I get back home tonight. Thank you so much.
November 10Nov 10 You can see here: https://forums.unraid.net/topic/102010-recommended-controllers-for-unraid/
November 10Nov 10 Author Actually I had time this morning. I see now I have read errors on disk 4, I haven't done anything yet, I wanted to see what your fedback was. I replaced the cable on disk 5. As for the controller that disk 6 was on, I realized I had a difffernt controller that had an open port. I am not sure if thats HBA controller or not. Let me know and I can upgrade if needed. I also made the change to the BIOS.tower-diagnostics-20261110-0638.zip
November 10Nov 10 Author Looks I am still geting 5% to 100% CPU hits as well. It seems to only be when I reinable the docker.Did reseat the cable on drive 4 that had the error, and it seems to be corrected. I am not sure if I should spin up the dockers again. I also cannot copy any data to the NAS from elsewhere via drag and drop. It gets till it's just about finished and then erros out. Edited November 10Nov 10 by ProblemWithField
November 10Nov 10 Good progress. Disk5 is clean now, and disk6 is also clean on its new port.The card you used is an ASM1064. It is not an HBA. The ASM1064 chip has only 4 SATA ports, but your card shows 6 to Unraid. On cards with more than 4 ports, the extra ports are usually behind a port multiplier, which we do not recommend. How many SATA ports does the card have? If it has 4, it is fine to use. If it has more than 4, it is not a good option. In that case, consider an HBA from the recommended controllers thread.The new problem: disk4, disk1 and parity, all on the onboard SATA ports, now show the same kind of connection errors that disk5 had. Disk4 had the most. Its link reset many times and dropped to the lowest speed. Parity and disk1 had fewer resets. This started right after the work inside the case, so the most likely cause is that their cables or power connectors were moved or loosened. Another possibility is that these disks share a power cable or splitter that cannot supply them reliably.About the disk4 read errors: they were caused by the connection drops, not by the disk. SMART for disk4 is clean. Unraid read that data from parity and wrote it back to the disk, so no data was lost and the disk stays enabled. The error count will clear on the next reboot.What I recommend:1. Shut down the server.2. Reseat both ends of the SATA and power cables for disk4, disk1 and parity. Replace disk4's SATA cable if you have a spare.3. If these disks share one power cable from the PSU, or use a splitter, spread them over different PSU cables if you can.4. Start the server and leave the array idle for a few minutes. Then copy a large file to the array, or start a parity check briefly, so the disks get some load. Then download and post new diagnostics.5. When the log is clean, run a full correcting parity check.
November 10Nov 10 Author Sorry to bug you, I just want to make sure I do this right. This controller has the ASM1064 and only 4 ports, https://www.amazon.com/10Gtek-Profile-Bracket-Controller-Expansion/dp/B09Y1NRHX3/ref=sr_1_1?crid=1PQ4EG4VDPNIL&dib=eyJ2IjoiMSJ9.2sWWGGvvvc-mX1oQm-rFM1FeN23Sl1zjP5ZTX0hjBVb45zwytoQpNny6SIckaA0vBLKMgiocspqXZSKcx0TsAVmgWfcdWR_1riYU2AFTRoVgj09pG562GgvvVIey0lI_Q_DzwfKtd2YEOo22PhmSm3F5NENxKidRAFZFk5e83zkS2-UNO8Yj-mGLb3GppXqqXXgtAULqkHWRv_pn9gbiALYhIVaf6yeHjI4s44NDz-g.jEOMtl1tZFwmWPrLS2bYfiPaT1JIILcqQ03LWcEUxjg&dib_tag=se&keywords=Asmedia%2BASM1064&qid=1794324336&sprefix=asmedia%2Basm1064%2B%2Caps%2C188&sr=8-1&th=1
November 10Nov 10 The first diags were showing a port multiplier installed. Was there something between the disk and the controller:Nov 9 19:19:21 Tower kernel: ata26.15: Port Multiplier 1.2, 0x197b:0x5755 r0, 5 ports, feat 0x5/0xf
November 10Nov 10 1 minute ago, JorgeB said:The first diags were showing a port multiplier installed. Was there something between the disk and the controller:Nov 9 19:19:21 Tower kernel: ata26.15: Port Multiplier 1.2, 0x197b:0x5755 r0, 5 ports, feat 0x5/0xfInterestingly the description in the provided link talks about port multiplier command compatibility. I wonder quite what that means?
November 10Nov 10 It means the Asmedia supports being connected to a port multiplier, but with just four ports, there shouldn't be one included, unless it's some Frankenstein model, where it's missing some ports and still has the multiplier chip, but that wouldn't make much sense
November 10Nov 10 Author 13 minutes ago, JorgeB said:The first diags were showing a port multiplier installed. Was there something between the disk and the controller:Nov 9 19:19:21 Tower kernel: ata26.15: Port Multiplier 1.2, 0x197b:0x5755 r0, 5 ports, feat 0x5/0xfWhen I went to look at the system after you ran down my issues and told me what to look for, I replaced the cable on disk 5 with a new one. I realized that I had two cards in the system: the one that drive 6 was connected to, and another card with a drive plugged into it (I apologize, I am not sure what drive it was). So, I eliminated the port multiplier that disk 6 was plugged into and plugged six into the other card, hoping it was an HBA. I made sure there were no power splitters on the drives, spun it back up again, and sent the diagnostics to you. I did some reading when the error came up on disk 4, so I reseated all the cables just to be sure and spun the system up again. I have attached the diag for the tower as it sits now. Let me know if the link I shared above will meet the requirements for an HBA. I was having a hard time finding the ASMedia and JMicron boards on Amazon without a long shipping time. If the link I provided won't fit the bill, please let me know. Thanks for taking the time to help resolve this and for your patience. tower-diagnostics-20261110-0945.zip
November 10Nov 10 Author Actually this is the card that is currnetly in the machine with Disk 6 and the second Disk plugged into it.
November 10Nov 10 Thanks for the update. That card is fine. It has 4 ports, and the port multiplier I quoted was on the other card, the one you already removed. Nothing in the new diagnostics shows a port multiplier now, and both disks on that card are linked at full speed. The "6 ports" Unraid sees is just how that chip reports itself, so you can ignore what I said about the extra ports. You don't need to buy an HBA for this.Parity and disk1 are clean now. Disk4 still logged link errors right after the array started, the same type as before, just fewer. The log was quiet after that, but the array was idle, so that doesn't prove much.What I recommend:1. Shut down and replace disk4's SATA cable. Reseating it was not enough.2. Start the array and put some load on it, for example by copying a large file to the array. Then post new diagnostics.3. If disk4 still shows errors, move it to one of the free ports on the ASM1064 card. Unraid identifies disks by serial number, so you don't need to change any assignments. If the errors stop, the onboard port was the problem. If they follow the disk, it's the disk or its power connection.About the copies failing near the end: with your settings, every write to the array reads all the data disks, including disk4. Each time its link resets, writes stall, and that can make a copy fail. Fix disk4 first. If copies still fail after that, tell me the exact error message and which share you are copying to, and post diagnostics taken right after a failed copy.About the CPU spikes with Docker: these diagnostics were taken with Docker disabled, so I can't see what causes them. You don't have a pool, so the Docker image and appdata are on the array disks. That makes Docker much slower than on an SSD pool, and waiting on disk4 makes it worse. Once disk4 is fixed, enable Docker again. If the spikes continue, post diagnostics while they are happening.When the log is clean under load, run a correcting parity check.
November 10Nov 10 Author Thanks sooo much for taking all this time with me to get this worked out. I will make sure the cable on 4 is replaced when I get home tonight and will post the results.Could you point me to setting up the SSD pool? It has been a while since I read anything on a SSD pool. I am thinking it is 2 SSD drives, forgive me if I am talking stupid. But I am I correct in assuming this would be a cache pool? If so, can I use the two remaining open ports on the card ASM1064 card? Thanks.
November 10Nov 10 Yes, that is a cache pool, and two SSDs is a good choice. With two devices the pool is a mirror, so if one SSD fails, Docker and appdata keep working.You can use the two free ports on the ASM1064 card. In your board, that card runs at PCIe 2.0 x1, so all four ports share about 400 MB/s, and disk6 and disk7 already use two of them. That is enough for Docker and appdata, but the SSDs may be slower while a parity check is running.Please fix disk4 first. Mover needs to read from the array, and disk4's link resets would make the move slow or fail.1. Stop the array. On the Main page, click Add Pool, name it cache, and set 2 slots. Your system and isos shares already point to a pool with that name.2. Assign the two SSDs, start the array, and format the pool. The default mirror is fine, btrfs or ZFS.3. Keep Docker disabled. If you use VMs, disable VM Manager as well.4. On the Shares page, set appdata and system (and domains if you use VMs) to: Primary storage cache, Secondary storage Array, Mover action Array -> Cache.5. On the Main page, click Move. When it finishes, click Compute on the Shares page and check that those shares are only on cache.6. If you want those shares to stay on the pool, set Secondary storage to none. Then enable Docker again.More details here: https://docs.unraid.net/unraid-os/using-unraid-to/manage-storage/cache-pools/ (see "Move from array to pool").After that, Docker should run much better, and we can see if the CPU spikes are still there.
November 10Nov 10 Author Thank you, I wont start on the pool until I send my diag and I get a clean bill of health. I just wanted to get the ball rolling so i could order anything I needed to get started once the other issues are fixed. Is it better to have bigger drives like 1TB or could i go with smaller ones? I am guessing the bigger the better?
November 10Nov 10 If you think you need the space, get the bigger ones, but only i you need them; especially considering current prices, there won't be other advantages.
November 11Nov 11 Author Here is the diagnostics after reseating everything. I will do a file transfer and turn the docker on in a little bit and reupdiagnostics. For the Pool Cache can the drives be different sizes?tower-diagnostics-20261110-1823.zip
November 11Nov 11 Author Docker is started and looks to be running better. Here is the diag from after I started Docker. Is there someplace that I can learn about what the logs are telling me?tower-diagnostics-20261110-1915.zip
November 11Nov 11 Both diagnostics look good. There are no disk connection errors in either log. Disk4 is on a different port now, and it links at full speed like the others. In the second diagnostics, all the disks had real activity with Docker running, and there were still no errors. All disks show 0 errors, and SMART is fine. I think the connection problem is fixed.The CPU also looks normal: a minute after Docker started, it was about 96% idle.What I recommend now:1. Copy a large file to the array and check that it completes. If a copy still fails near the end, tell me the exact error and which share you copied to, and post diagnostics taken right after the failure.2. Run a correcting parity check. One is needed because of the earlier unclean shutdown. It should run at normal speed now. If it slows down a lot again, post diagnostics while it is running.3. After the check finishes, you can set up the cache pool.About the pool: yes, the SSDs can be different sizes, but with two devices the pool is a mirror, so the usable space is the size of the smaller SSD. For example, a 1TB and a 500GB SSD give you 500GB. So it's best to get two SSDs of the same size.About the logs: we don't have a guide to reading the syslog, but this page has general troubleshooting information: https://docs.unraid.net/unraid-os/troubleshooting/The best way to learn is to search the forum for the exact error line. Most errors have been discussed before, and over time you will recognize the common ones, like the ata link resets you had here.
November 11Nov 11 Author I was just running a bigger file 1.45 gb. It showed it would take 7 min (Which seemed kind of long compared to past transfers). It made it 3/4 and failed with a -50 error code I am going from a Mac to the server.tower-diagnostics-20261111-0453.zip
November 11Nov 11 First, a correction: I said the connection problem looked fixed, but that was too early. About 13 minutes after the diagnostics you posted with Docker running, parity and disk1 both started having link errors, at exactly the same moments, for about 8 minutes. Both links then dropped to the lowest speed, and they will stay there until you reboot. SMART is fine on both, and no data errors were logged, so the disks themselves look OK.When two disks fail at exactly the same time, the cause is usually something they share, most often the same power cable from the PSU. This has now happened on four different onboard ports (disk5, disk4, disk1 and parity), so I also suspect the power supply.1. Please tell me the PSU model and roughly how old it is. Also tell me how the disks are powered: how many SATA power cables come from the PSU, how many disks are on each, and whether you use any Molex to SATA adapters.2. Shut down. Move parity and disk1 to different PSU power cables, so they don't share one, and replace their SATA cables if you have spares.3. Start the server and copy a large file to the array, or run a parity check for about 15 minutes. Then wait at least an hour with normal use before you post diagnostics, because these errors don't always appear right away.4. If errors still appear on disks that use different power cables, try a different PSU if you can.About the -50 error: the copy itself doesn't look like a server problem. There were no disk errors during the copy, and the server was almost idle. The log shows that the Mac's network connection to the server dropped at the moment the copy failed, and the Mac couldn't reconnect to the file. The server also lost its connection to the shares on that Mac twice during the night. The speed, about 3.5 MB/s, is also much lower than a wired gigabit connection should give.Is the Mac on Wi-Fi? If so, please try the same copy with the Mac connected by an Ethernet cable. If it is already wired, try a different cable and switch port. Also check that the Mac isn't set to sleep, or to turn off its network, while it is in use.Please hold off on the parity check and the cache pool until the log stays clean under load.
November 11Nov 11 Author The power supply was purchased July of 2024.it is this one here: https://www.amazon.com/dp/B0C1JKB652Thermaltake Toughpower GF A3 750W, True 300W 12VHPWR Connectors on PSU & NVIDIA RTX 40 Series, ATX 3.0/PCI-E 5.0, 80+ Gold, SLI/Crossfire Ready Power Supply, PS-TPD-0750FNFAGU-L, 10 Year WarrantyParity, 1,2,3 are connected to one line off the power supply, and 4,5,6,7 are on another line. I have one other line that I was going to use for the pool cache. I guess it wouldn't surpise me if it has issues this is the second one I have apparently had.Is there a power supply you would recommend or a brand? The Mac I used to do the file transfer was wireless. When I tried it previously and had the issue, I did try it from a ethernet connected Mac. I will work from that machine for future tests. (I did copy a large amount of files last night from my Synology Server to the Unraid (Via Krusader) and that worked fine, but did seem slower than it used to be.I will switch the poer and sata cables and do the test, and send the report after an hour. Thanks again for your continued help with this.
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.