We had a power outage this morning that caused our FreeNAS server to reboot. The power outage lasted a matter of a few seconds and the FreeNAS server is connected to a APC UPS with good working batteries. None of the other servers on the UPS went down and the UPS isn't set-up to shutdown the server if the power goes out. Is there a setting in FreeNAS that would cause the server to shutdown if there is a power outage? I've never set one if there is so it would have to be a default setting. Can someone point me to why this would have happened? I'm running FreeNAS Build: FreeNAS-9.3-STABLE-201602031011.
Thanks,
Nic
Did it voluntarily reboot? What do the logs indicate?
Just so you know, a heavily loaded server such as a NAS ... especially with a
poorly sized power supply (read "The Importance of Clean Power") ... can easily be unable to cope with the wild power spike that can result from this sort of thing. A high quality, somewhat oversized PSU is the go-to answer for part of the problem, and a UPS that can easily start shouldering the load during a failure is the other part of the problem.
You should be able to yank the power on the UPS and plug it back in, several times in rapid succession (half second, several seconds, etc) without anything happening to the server. If not, your power setup sucks and needs to be addressed. Your power company will not be kind to you when a tree falls on the feeder, so be a little aggressive about testing.