FreeNAS Version: FreeNAS-9.3-STABLE-201503270027
UPS: Cyberpower 1350PFCLCD
UPS Driver: Cyber Power Systems ups 2 CP1000PFCLCD USB (usbhid-ups)
Issue:
I'm attempting to lengthen the shut off delay for my UPS, as the system doesn't quite seem to get to a power off state before the command to shut off the ups goes out. The resulting countdown on my ups is less than 5 seconds. I'm not sure of the intended behavior, but the screen on the ups shows a countdown starting with "0" and then shuts off almost immediately, and prior to the system completing shutdown. See the comment at the end of this bug report for more info on what seems to be happening: https://bugs.pcbsd.org/issues/7675
I attempted to follow Vagelis Savvas's guidance there to add the ups.delay.shutdown string to the aux parameters in the UPS service gui. Any entry in that area seems to cause the ups driver to fail to load, with the following message appearing in the console over and over:
I have verified that the file gets created correctly (in this example I was trying ups.timer.shutdown, to see if it would work where the ups.delay.shutdown did not...the behavior was identical):
I am not sure if this a freenas issue, nut issue, or particular isssue with my ups to be honest....
It seems like it'd be wise to at very least allow the user to prevent nut from issuing the power off command to the ups, as not all ups's might support overriding the shutdown delay (which could be my problem, though I'm not 100% sure...)
UPS: Cyberpower 1350PFCLCD
UPS Driver: Cyber Power Systems ups 2 CP1000PFCLCD USB (usbhid-ups)
Issue:
I'm attempting to lengthen the shut off delay for my UPS, as the system doesn't quite seem to get to a power off state before the command to shut off the ups goes out. The resulting countdown on my ups is less than 5 seconds. I'm not sure of the intended behavior, but the screen on the ups shows a countdown starting with "0" and then shuts off almost immediately, and prior to the system completing shutdown. See the comment at the end of this bug report for more info on what seems to be happening: https://bugs.pcbsd.org/issues/7675
I attempted to follow Vagelis Savvas's guidance there to add the ups.delay.shutdown string to the aux parameters in the UPS service gui. Any entry in that area seems to cause the ups driver to fail to load, with the following message appearing in the console over and over:
Code:
Mar 27 16:23:20 freenas upsmon[34699]: Poll UPS [ups] failed - Driver not connected Mar 27 16:23:20 freenas kernel: <118>Mar 27 16:23:20 freenas upsmon[34699]: Poll UPS [ups] failed - Driver not connected Mar 27 16:23:25 freenas upsmon[34699]: Poll UPS [ups] failed - Driver not connected Mar 27 16:23:25 freenas kernel: <118>Mar 27 16:23:25 freenas upsmon[34699]: Poll UPS [ups] failed - Driver not connected
I have verified that the file gets created correctly (in this example I was trying ups.timer.shutdown, to see if it would work where the ups.delay.shutdown did not...the behavior was identical):
Code:
[ups] driver = usbhid-ups port = /dev/ugen0.3 desc = "" ups.timer.shutdown = 60
I am not sure if this a freenas issue, nut issue, or particular isssue with my ups to be honest....
It seems like it'd be wise to at very least allow the user to prevent nut from issuing the power off command to the ups, as not all ups's might support overriding the shutdown delay (which could be my problem, though I'm not 100% sure...)