[Discussion] [Warning/Solutions] TRAID and Raid5 Resyncs May Cause Server to be Unresponsive

RAID, Volume, storage pool, hard drive, USB, SSD cache and iSCSI LUN
Post Reply
User avatar
circulate3728
Posts: 2
Joined: 16 Oct 2025, 03:17
Bahamas

[Discussion] [Warning/Solutions] TRAID and Raid5 Resyncs May Cause Server to be Unresponsive

Post by circulate3728 »

Image
dmesg output for the raid


Image
call stack - 1


Image
call stack - 2

This is on the latest version of TOS 6, using the 6.1.120+ kernel.

So, this situation is occurring during an active resync of a TRAID. From the processes that are spawned, it looks like the TRAID is a modified (or unmodified) raid 5? Let me know if this is the case.

It definitely affects raid 5, judging from the callstack, and it may affect any raid type with striping. It has happened multiple times over the past week with the exact same call-stack, so I believe this is reproducible. The times when the bug occurs seems to be random. I've had it happen in between two and ten hours. After which, the server begins to perform unresponsively, the SMB service no longer works and files do not appear to be able to be written or read from the share or the nginx proxy. The nginx and ssh services eventually become unresponsive too. Rebooting the server will cause (what I believe) this error to occur. After which, the server is only recoverable after power cycling the server physically. Performing a shutdown over ssh might work instead, I haven't attempted it. Also the resync loses its progress and is started immediately on boot, so it is a vicious cycle that one can enter.

The terramaster and smartctl report that all disks are good and I did not see any issues reported in dmesg in regards to physical hardware issues.

Here are a list of solutions I have to address this issue.

1.Freeze the resync process - using "mdadm --misc --action=frozen $RAIDDEVICE" (example: /dev/md0) will freeze the resync and the kernel panic will no longer occur. This has the consequence of your RAID being in a degraded state, so it is not a permanent solution. You can create a cron job or a scheduled task to run this every so often if you are worried that it might resume somehow (it WILL resume on shutdown/restart).

2. Wait to see if the Resync process completes - Basically, hope and pray that the issue doesn't occur. :D Other than checking dmesg, you can also cat /proc/mdstat to see how far along your resync process is. After the process crashes, the number of synced blocks stops incrementing.

3. Switch to RAID1 - Since disk mirroring doesn't have striping, it shouldn't be touched by this issue at all. I may need some help as to how one can accomplish this (either through mdadm commands, or if copying files to a different system, deleting the TRAID pool, and recreating as RAID1 will suffice). This would be, I believe, a permanent solution to the problem. It might depend on your storage limitations as to whether all data from the TRAID can be stored on RAID1.

Let me know if there are any other potential solutions!
User avatar
Gremlin
Gold Member
Posts: 1720
Joined: 02 Dec 2022, 22:31
Great Britain

Re: [Discussion] [Warning/Solutions] TRAID and Raid5 Resyncs May Cause Server to be Unresponsive

Post by Gremlin »

Which model of nas are you using? 12 drives? {Yes, Traid is "self-adapting" - sort of - depending on the number of drives/config it will report single disk - raid 1, raid 5, etc but provides the improved expansion options not available in pure raid.}
F5-221 TOS7.0.1130 - 4x4TB (Ironwolf) Traid
F2-424 TOS7.0.1130 - 2x500GB nvme (P3) Traid, 2x6TB HDD (HGST) Traid
F2-221 TOS7.0.1130 - 1x3TB Ext4, 1x4TB Btrfs
F2-425+ TOS7.0.1130 - 2x500GB nvme (P3) Traid, 2x6TB HDD (EXOS) Traid
User avatar
circulate3728
Posts: 2
Joined: 16 Oct 2025, 03:17
Bahamas

Re: [Discussion] [Warning/Solutions] TRAID and Raid5 Resyncs May Cause Server to be Unresponsive

Post by circulate3728 »

It is the U12-500+ with 12 drives, and good to know
User avatar
TMzethar
TM Support
Posts: 3021
Joined: 27 Oct 2020, 16:43

Re: [Discussion] [Warning/Solutions] TRAID and Raid5 Resyncs May Cause Server to be Unresponsive

Post by TMzethar »

We're sorry to hear about the difficultie(Kernel Panic) you're experiencing. Regarding the issue you mentioned, based on the information we have, unfortunately, we are currently unable to pinpoint the cause of the problem either.
Maybe you can try lowering the synchronization speed to see if it can complete successfully. (Control Panel > Storage Pool > Settings)
We will continue to track and monitor the matter.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
TMroy
TM Support
Posts: 3106
Joined: 10 Mar 2020, 14:04
China

Re: [Discussion] [Warning/Solutions] TRAID and Raid5 Resyncs May Cause Server to be Unresponsive

Post by TMroy »

circulate3728 wrote: 01 Aug 2026, 02:18
We have reviewed the logs you provided. TRAID is a widely used array type, and no similar cases have been reported before. The logs suggest a possible scenario: during stripe reading, XOR/PQ parity calculation, or asynchronous commit operations, RAID5 accessed invalid memory, which then triggered a cascade of errors. We recommend running multiple rounds of memory tests to rule out any memory faults first.

Creating a 12-disk RAID 5 array involves sustained heavy XOR computations, extensive memory copying, and concurrent I/O operations—making it far more effective than routine light workloads at exposing marginal instabilities in RAM modules, CPUs, motherboards, or power delivery systems. So power delivery from the CPU, motherboard, and backplane may also be contributing factors.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Support team: support(at)terra-master.com (for technical support only)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Post Reply

Return to “Storage”