NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
BfloEagle
Dec 30, 2020Aspirant
ReadyNAS Ultra 4 BIOS
The last post in this thread says that ReadyAS resolved their problem by changing an option in the BIOS. The ReadyNAS Ultra 4 (RNDU4000) does not have a VGA header on the motherboard. It does have ...
Sandshark
Dec 30, 2020Sensei
BfloEagle wrote:
Before anyone suggests a UPS... The UPS I have (unfortunately) does not play nice with NUT. NUT can shutdown everything (including this NAS and the UPS itself) but the UPS restarts itself automatically a few seconds after turning off the load... So the power is cut to the RNDU4000, but then comes back even though the UPS is still running on battery... Which then means it will crash hard when those batteries are drained a minute or two later since everything else was already shutdown including the switch between it and the NUT Master server itself...
NUT does not control how or why the UPS shuts down or turns back on. It simply monitors the UPS (or another machine that's monitoring the UPS) to determine when to shut down the NAS. If your UPS is behaving in this manner, it's either broken or some internal setting is wrong. Turning off the NAS would change the time it would take for the battery to drain, but it should not result in an UPS restart, and that's what it sounds like is happening. An unmonitored UPS is just barely better than no UPS at all -- it will get you through quick power events but you are at risk with longer ones.
On the other hand, are you sure the UPS is what's re-starting, and not the NAS? Maybe there is something mis-configured or broken in the NAS where the NAS is doing a restart, not a power-down. You could test this by connecting the NAS to mains power and unplugging the UPS till it signals the NAS to shut down. If the NAS just power cycles, not powers down, the problem is with the NAS.
As for using the serial port, I have to assume that's what the other user did. The Pro4, Ultra4Plus, and Ultra4 all have the same motherboard, and it has no VGA header. If there is a tool for setting options on your NAS, you may also be able to set it up so it does not come back on.
BfloEagle
Dec 30, 2020Aspirant
When a critical battery level is reached, a NUT Master server can (and does in my case) send a signal via the USB connection/driver to the UPS which kills the load and cuts power to the protected outlets. I can confirm this is happening as I've got my switch attached to it as well. The switch loses power once the NUT master server sends the "load.off" command as the outlet it is connected is no longer powered. But unfortunately for me, the UPS restarts itself (something the NUT developers confirmed can happen here, quote below), power is restored to my switch, and the NAS as well.
ondelay... "Some UPS’es will restart no matter what, even if the power is (still) out at the moment this timer elapses."
The suggestion they make to get around this does not work for me either. Go figure... And it's a "cheaper" Tripp Lite UPS (ECO350UPS) so who knows if things are implemented to standards (you mentioned an internal setting being wrong which is entirely possible since the value retrieved by NUT for ups.timer.reboot and ups.timer.shutdown from the UPS are 65535 whereas I'm seeing other "better" UPS's have a value of -1 here while the power is on, plus it only supports a generic driver). There's also reports of CyberPower UPS's having similar behavior where no matter what value NUT sends as the ondelay value, the ups sets it to 10 and restarts after 10 seconds. FWIW, I've also set this value extremely high so that if the my UPS will restart no matter what, why not make it wait a few tens of hours? I figured that would kill the battery but my UPS still restarts itself after a few seconds.
Back on topic... So the voltage present on the plug the NAS is connected to (from the battery) is lost. Then a few seconds later, the UPS powers up, power returns to the protected outlets, and the NAS starts itself thinking power has been restored.
As for the test you suggested... The NAS unit does shut down and does not automatically restart. BUT... As described in the other post as well, this happens because voltage remains live on the outlet. If I unplug the NAS, and then plug it back in, the unit power up right away which is essentially the same thing that happens when my UPS powers down (and subsequently powers back up) during an outage.
It seems that Netgear chose this functionality by design as most people probably would want to restart automatically after a power outage. I, and apparently ReadyAS, are not most people and do not want this though. Why Netgear chose to not make that an option in the UI is beyond me. My second NAS (a QNAP) is configured this way to not start after power is restored due to my annoying UPS sitution... QNAP even lets you chose to restore the last state so if you shut it down gracefully and then power is restored it _won't_ come online, or if it was on when power was lost it will turn itself back on, which means it's doing something to make that decision in the absence of a physical on/off switch. I've seen the arguement that Netgear had to hide this setting because of the scheduled power on options but that doesn't sit right with me. If one vendor can do it (use trickle power to determine if it should come online or not when that trickle power is restored), the other vendors should be able to as well.
And I fully acknowledge that it's very easy for me to say that on the outside. Maybe there is a technical reason and Netgear could not expose this. Maybe not... There hasn't been much said by them over the years of posts I've found on this topic though.
The new cable will be here tomorrow. I hope to have an answer shortly after that.
- StephenBDec 31, 2020Guru - Experienced User
BfloEagle wrote:
There's also reports of CyberPower UPS's having similar behavior where no matter what value NUT sends as the ondelay value, the ups sets it to 10 and restarts after 10 seconds.
I haven't seen this behavior with my various CyberPower UPS. Once the UPS battery drains, the UPS remains off until power is restored.
BfloEagle wrote:
It seems that Netgear chose this functionality by design as most people probably would want to restart automatically after a power outage. I, and apparently @ReadyAS, are not most people and do not want this though.Why Netgear chose to not make that an option in the UI is beyond me.
Me too.
Though I don't think the trickle power bit is strictly needed, it'd be sufficient to just document what happens if automatic restart is disabled with a power schedule is set.
- BfloEagleDec 31, 2020Aspirant
I went back in my history to find some of the CyberPower emails/posts I was referring to (specifically the ondelay/offdelay and battery.charge.low settings). Here are a few. I didn't catch it at the time but they are all a few years old so it's likely those specific issues have been fixed by now.
https://alioth-lists.debian.net/pipermail/nut-upsuser/2015-January/009503.html
https://github.com/networkupstools/nut/issues/578
https://github.com/networkupstools/nut/issues/520
After re-reading them (thrice), I was off about quoting a problem with their restart functionality. It's not that they restart, but that they don't honor the time sent in via NUT for some settings (the ones I'm using with NUT for my Tripp Lite UPS). I misunderstood and shouldn't have mentioned them since they really are different issues. Apologies for the confusion.
- BfloEagleDec 31, 2020Aspirant
BINGO! Got into the BIOS (Del key for this model), went to Advanced Options, SuperIO Configuration, and set "Restore on AC Power Loss by IO" to "AC power off"... It was set to "AC Power On" as proven by the above troubleshooting.
BIOS Advanced OptionsBIOS SuperIO Configuration
Here are the step I took for anyone going down this path in the future...
- I bought one of these (CP2102 Module USB to TTL). Windows 10 detected it and installed the module right away (nothing to download). It landed on COM7 for me... YMMV.
- Connected it to the serial pins exposed in the back (under the wide sticker if you still had that). Using this as a guide, I connected the TX pin on the NAS (second from the USB ports) to the RX pin on the board, and RX pin on the NAS (third from the USB ports) to the TX pin on the board. I did not connect the ground or the +3v cables... Probably should have connected the ground to the first pin from the USB ports but I'm already done.
- Red light lit up on the adapter module showing data being received.
- Opened Putty, set the connection to Serial, used COM7, and used the port settings from here (also linked in a post above). A blank putty window opened and the blue light on the adapter module flickered when I hit keys on my main computer keyboard.
- I plugged a USB keyboard in to one of the back USB ports but probably didn't have to. As soon as I plugged in the NAS, it powered on as expected. A few characters displayed and then I was presented with a normal looking AMI Motherboard BIOS screen telling me to press DEL if I wanted to enter setup. My main computer keyboard was able to control the output as I hit Del there and not on the keybaord I plugged into the NAS. I jumped in the BIOS and that was that...
Now my NAS stays off when the power cord is disconnected and reconnected (or when my UPS cuts power and then restores it for any reason). Definitely not for the faint of heart, but also not impossible either. Hope this helps someone in the future.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!