October 11, 200916 yr Just looking for some clarification on the powerdown script and cache_dirs. I have installed both but now I'm wondering about a few things: 1. Cache_dirs: I thought I might need this to prevent disks from unnecessarily spinning up; however, I'm using my UnRAID server to feed my PCH which has a jukebox installed on a local HD in the PCH. Is cache_dirs going to be of any benefit in this situation since I am browsing my media library with a static jukebox on a completely separate hard drive? If cache_dirs is still a benefit then is there any modifications required to make it work with the powerdown script (e.g. location of files on my flash drive)? Currently, I have to hit the stop button twice on the UnRAID main menu to powerdown the server. 2. Powerdown: I have a UPC installed and have installed the powerdown script via unmenu. Sorting through various (mostly older) threads, I want to make sure I understand the benefit of this script and that I have everything installed correctly. Does the powerdown script that I installed via unmenu allow me to safely shutdown the UnRAID server under the following conditions: a) Power loss via my UPC b) command line script "powerdown" and 3) ctrl-alt-del from server keyboard? I read the release notes for 4.5 beta4 which indicates UnRAID will not powerdown clean using the server power button. Can anyone confirm?
October 11, 200916 yr a) Powerdown does not have any functionality to do with UPS and battery backup. If you want the system to power off when your UPS detects a power failure, you will need to install another package, typically APCUPSD. b) It should hook into the system shutdown and reboot so the typical command can be shutdown -h now, or shutdown -r now, reboot. I think it can also be invoked via powerdown. I prefer to stick with the standard unix commands. c) It should hook into the CAD from server keyboard if you enabled 'sysctl -w kernel.poweroff_cmd' setting. All of this is from memory in how my system functions, I do not remember how much I modified the powerdown script to be Slackware friendly. There were some oddities that didn't seem to play well with my setup; it was preventing a clean shutdown. I have a customized rc.local / rc.local_shutdown file setup that hooks into the rc.unRaid script as well as other daemons.
October 12, 200916 yr Thanks BRiT for the info. I'm still interested to hear some feedback regarding cache_dirs questions.
Archived
This topic is now archived and is closed to further replies.