November 4, 201312 yr My emhttp gets stuck with that segmentation error issue that I've seen posted about on his forum, and the only way to fix it is to restart the whole machine, but that leaves the parity requiring a check. Is there any way to nicely shutdown the array without the help of emhttp? The old powerdown script had a reference to /etc/rc.d/rc.unRAID but that doesn't appear to exist anymore
November 4, 201312 yr Have a look at this thread: http://lime-technology.com/forum/index.php?topic=27085.0, entitled, "How To: Reatart emhttp WebUI without rebooting." I have not tried it first-hand, but it looks like a good method.
November 4, 201312 yr Author As I stated above, /etc/rc.d/rc.unRAID is not available, so this method does not work.
November 5, 201312 yr I don't know where I got this from but put it in a file called stop.sh or something similar and then just run it if you need to stop the array. Once stopped you can reboot. # Stop Samba killall smbd nmbd # # Kill any processes using the disks for fs in /mnt/user /mnt/disk* do if [ ! -d ${fs} ] ; then continue ; fi for pid in $(fuser -cu $fs 2>/dev/null) do kill -TERM ${pid} done done # #un-mouunt the disks for disk in /mnt/disk* do /bin/umount ${disk} done # # Stop the unRAID array echo stop > /proc/mdcmd # echo "The unRAID array is stopped I'd recommend you go to any plug-in web interface pages and try to shut them down that way before running this.
Archived
This topic is now archived and is closed to further replies.