November 7, 201510 yr I have 3 x unRAID servers - all running unRAID Server Plus v5.05. All have a valid parity drive, and no issues as far as I'm aware. All have APCUPSD configured in network mode via the Utilities, with the following settings (connected to the UPS via its built-in network interface): However, when I cut power to the UPS which serves them, after power falls below 95%, only two of them shut down. The third does not. The only difference with the third is that I have drives mapped to it from the other two unRAID servers, which it then serves as a single, unified share, giving access to all my media files using the following settings in /config/go: Are the mapped shares possibly the reason why APCUPSD can't shut down the server? #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & # #DISABLE DSF SHARES sed -i -e "s/host msdfs = Yes/host msdfs = No/" -e "s/msdfs root = Yes/msdfs root = No/" /etc/samba/smb.conf smbcontrol smbd reload-config # #CREATE FOLDER STRUCTURE TO MOUNT FOREIGN SHARES mkdir /mnt/Video mkdir /mnt/Video/Film mkdir /mnt/Video/TV mkdir /mnt/Video/Film/Comedy mkdir /mnt/Video/Film/Childrens mkdir "/mnt/Video/Film/Crime & Thriller" mkdir "/mnt/Video/Film/Documentary & Bio" mkdir /mnt/Video/Film/Drama mkdir /mnt/Video/Film/Horror mkdir /mnt/Video/Film/Musical mkdir "/mnt/Video/Film/Period & Historical" mkdir /mnt/Video/Film/Romance mkdir "/mnt/Video/Film/SciFi & Fantasy" # #CREATE LOCAL SYMLINKS # - FROM UNRAID-01 ln -s /mnt/user/Film-Action "/mnt/Video/Film/Action" ln -s /mnt/user/Film-Anime "/mnt/Video/Film/Anime" ln -s /mnt/user/TV-Fiction "/mnt/Video/TV/Fiction" ln -s /mnt/user/TV-Factual "/mnt/Video/TV/Factual" ln -s /mnt/user/TV-Comedy "/mnt/Video/TV/Comedy" ln -s /mnt/user/Music "/mnt/Video/Music" # #MAP FOREIGN SHARES # - FROM UNRAID-02 mount -t cifs //192.168.1.126/Film-Comedy -o guest /mnt/Video/Film/Comedy mount -t cifs //192.168.1.126/Film-CrimeThriller -o guest "/mnt/Video/Film/Crime & Thriller" mount -t cifs //192.168.1.126/Film-DocumentaryBio -o guest "/mnt/Video/Film/Documentary & Bio" # - FROM UNRAID-03 mount -t cifs //192.168.1.127/Film-Childrens -o guest /mnt/Video/Film/Childrens mount -t cifs //192.168.1.127/Film-Drama -o guest /mnt/Video/Film/Drama mount -t cifs //192.168.1.127/Film-Horror -o guest /mnt/Video/Film/Horror mount -t cifs //192.168.1.127/Film-Musical -o guest /mnt/Video/Film/Musical mount -t cifs //192.168.1.127/Film-PeriodHistorical -o guest "/mnt/Video/Film/Period & Historical" mount -t cifs //192.168.1.127/Film-Romance -o guest /mnt/Video/Film/Romance mount -t cifs //192.168.1.127/Film-SciFiFantasy -o guest "/mnt/Video/Film/SciFi & Fantasy"
November 7, 201510 yr Author I'm not sure I am! When I run a manual shutdown I go through the following on the GUI: Which shuts the server down fine. I don't need to unmount any shares or remotely mounted shares beforehand. I haven't put any special share unmount provision in place.
November 9, 201510 yr Author I reverted the 'go' file back to its default, and now the server shuts down on power failure. Can anyone tell me which file I need to edit to add some unmount statements to allow shutdown to complete successfully?
November 9, 201510 yr I reverted the 'go' file back to its default, and now the server shuts down on power failure. Can anyone tell me which file I need to edit to add some unmount statements to allow shutdown to complete successfully? there is a 'stop' file (that if present) gets executed as part of system shutdown. However I am not sure if it meets your needs - you may need to work out how to catch the shutdown array events and do the umounts via that route.
Archived
This topic is now archived and is closed to further replies.