Ocman76 Posted September 9, 2024 Posted September 9, 2024 Recently my unraid array is stopping itself, even though the server itself is not shutting off or losing power. Each time this happens I get an unclean shutdown error, even though the hardware itself has not lost power. I can simply restart the array but cannot find any reason why it is stopping. I have now had this occur 4 times over the course of 3 weeks. Parity checks do not show any issues. Attached are logs. I've looked through them but cannot figure out where in the logs the array is stopping. The only way I know the issue has occurred is when I try to access any of the dockers I use and discover they are off because the array has been stopped. If anyone has any suggestions on how best to troubleshoot this help would be greatly appreciated. syslog syslog-previous Quote
JorgeB Posted September 9, 2024 Posted September 9, 2024 Not seeing anything relevant logged, do you know the timecode from when it last crashed? Quote
Ocman76 Posted September 9, 2024 Author Posted September 9, 2024 9 hours ago, JorgeB said: Not seeing anything relevant logged, do you know the timecode from when it last crashed? This is part of what I'm struggling with. The only way I currently can tell when the array has shut off is when I manually check it (or any of my dockers) to see. I thought perhaps the logs would show when the array shut off but I'm not seeing anything. I could try manually checking multiple times a day to try and catch when it shuts off but it has been taking as long as a week to occur. Quote
JorgeB Posted September 9, 2024 Posted September 9, 2024 14 minutes ago, Ocman76 said: The only way I currently can tell when the array has shut off What do you mean by this? Was the server off or the array stopped? Quote
Ocman76 Posted September 9, 2024 Author Posted September 9, 2024 2 minutes ago, JorgeB said: What do you mean by this? Was the server off or the array stopped? The array stopped. The server has not shut off at all since this issue has been occurring. The odd thing is I keep getting unclean shutdown errors which I thought could only occur when the server itself was shut off, rather than the array stopping. Quote
JorgeB Posted September 9, 2024 Posted September 9, 2024 16 minutes ago, Ocman76 said: The array stopped. This seems unlikely, when you think this happened, check the server uptime, probably it's rebooting by itself. Quote
Ocman76 Posted September 9, 2024 Author Posted September 9, 2024 (edited) 12 hours ago, JorgeB said: This seems unlikely, when you think this happened, check the server uptime, probably it's rebooting by itself. Edit: I stand corrected. My server does show the uptime as only a few days meaning the server is indeed rebooting and not just shutting off the array. What I now need to figure out is why the server is rebooting automatically as my intention was for it to never reboot automatically. The times in the past when it has been shut off for other accidental reasons it has not rebooted automatically so something has changed, perhaps a setting in Unraid. Original response: My server is not set up to reboot automatically. In order for it to restart after being shut off I have to manually press its power button and then enter a password to start it. Without these steps the online GUI and array cannot be accessed at all. I have separate passwords for starting the server to access the GUI, as well as for starting the array once in the GUI. Edited September 10, 2024 by Ocman76 Quote
JorgeB Posted September 10, 2024 Posted September 10, 2024 13 hours ago, Ocman76 said: What I now need to figure out is why the server is rebooting automatically This is almost always a hardware issue. Quote
Ocman76 Posted September 10, 2024 Author Posted September 10, 2024 8 hours ago, JorgeB said: This is almost always a hardware issue. Does this mean the system logs won't help diagnose the issue? Where would you recommend I start? RAM? PSU? Motherboard? I assume I have to start swapping components out and see if it prevents the crash? Quote
JorgeB Posted September 10, 2024 Posted September 10, 2024 10 minutes ago, Ocman76 said: Does this mean the system logs won't help diagnose the issue? Most likely. Start by running memtest, but note that memtest is only definitive if it finds errors, if you have multiple sticks try using the server with just one, if the same try with a different one, that will basically rule out bad RAM. Quote
JorgeB Posted September 10, 2024 Posted September 10, 2024 PSU would also be one of the main suspects. Quote
Ocman76 Posted September 10, 2024 Author Posted September 10, 2024 3 minutes ago, JorgeB said: Most likely. Start by running memtest, but note that memtest is only definitive if it finds errors, if you have multiple sticks try using the server with just one, if the same try with a different one, that will basically rule out bad RAM. Will do, I have a spare set of RAM sticks I can borrow so I will just swap them out and see if it prevents the crashes. Quote
Recommended Posts
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.