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.

Ensure clean array stop

Featured Replies

About 50% of the time when I stop my array I have an issue.  And then have to troubleshoot and most of the time give up and dirty reboot the server.

 

I'm hoping for a process to follow (that I can possibly script) that will give it the best chance of shutting down cleanly.

 

For example I have SMB shares that link to a windows VM.  My process now is:

1. Unmount each SMB share from the main page

2. Stop all VMs from the VM page

3. Stop all dockers from the docker page

4. Ensure no remote terminal sessions (as a work colleague sometimes has a WinSCP session on another computer to unraid) - I have a plugin for this too

 

Then stop the array.

 

But I still often get errors so there are other things I need to consider. I don't care if it kicks someone out of a session or they potentially lose data. I'd prefer everything that needs to be closed/stopped/unmounted to be done and then stop the array. 

 

Is this possible?

  • Community Expert

install tips and tweaks plugin

 

image.png.5cc4ded25806e6cde1d70c061a179328.png


Plugin click on the gears "Settings/TipsAndTweaks"
 

at the bottom add samba:
image.png.02d807c8c15f6e9c5ce78d76c2876c43.png

 

you are correct it is best to sop all vm and docker before stoping the array...

  • Author

I already have that running. For a few weeks now and still have issues I'm afraid.

  • Community Expert

did you add smaba to the bottom so it says ssh,bash,samba ???

  • Author

Oops missed that. Looking on my phone all a bit small. Will add that now. 

 

Is that all I should do?

  • Community Expert

I think so do you use nfs? if so i need to grab what is called to stop that too.
 

  • Author

Actually I don't know. I'm running the arrs, plex, a few other containers (e.g. to send Whatsapp msgs) 3 x windows VM's. I access the shares from my windows computer. That's about it so not sure about nfs. I'm something of a newb with linux/unraid I'm afraid but learning.

  • Community Expert

Unless you're using Linux and NFS, you would have to enable that in Settings and Shares.

I think that should be fine for testing.

 

I still recommend stopping Dockers/VMs before any planned reboots. Unraid will have a stop script that runs after 15 minutes.

 

Adding "Samba" to the "Tips and Tweaks" to terminate any open SMB connections will help fix any lingering open file-sharing connections when the system goes down for disk or reboots.

 

to check if nfs is running go to setting > nfs
image.png.4c28341c6a7c0a5465998906a623f6bc.png

to see if any shares are enabled:
click shares :
image.png.f9f3ee3f99dd2ca04b3ddd92ae48f5e3.png

alternative, you can run linux command 

cat /etc/exports

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.