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.

Safely shutdown with emhttp seg fault

Featured Replies

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

  • Author

As I stated above, /etc/rc.d/rc.unRAID  is not available, so this method does not work.

  • Author

Perfect, thanks!

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.

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.