Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Failure to Shutdown on Power Failure

Featured Replies

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):

 

apcupds01.jpg

 

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"

  • Author

I'm not sure I am!

 

When I run a manual shutdown I go through the following on the GUI:

 

shutdown1.jpg

 

shutdown2.jpg

 

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.

 

 

  • 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?

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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.