November 25, 20241 yr 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?
November 25, 20241 yr Community Expert install tips and tweaks plugin Plugin click on the gears "Settings/TipsAndTweaks" at the bottom add samba: you are correct it is best to sop all vm and docker before stoping the array...
November 25, 20241 yr Author I already have that running. For a few weeks now and still have issues I'm afraid.
November 25, 20241 yr Author Oops missed that. Looking on my phone all a bit small. Will add that now. Is that all I should do?
November 25, 20241 yr Community Expert I think so do you use nfs? if so i need to grab what is called to stop that too.
November 25, 20241 yr 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.
November 25, 20241 yr 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 to see if any shares are enabled: click shares : 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.