interwebtech Posted October 3, 2014 Share Posted October 3, 2014 I thought the first time it was because I did not shut down Plex docker before trying to stop the array but today I did stop Plex and still got the "Retrying... retrying..." when stopping array which never is able to complete. Power button shutdown from there results in 8 hour parity check. Really difficult to troubleshoot other issues if there is an 8 hour wait between steps. os: 6 b10a drive config: 1 cache, 1 parity, 13 data dockers: Plex add-ons via unMenu: smtp mail, monthly parity, daily status, & Powerdown (installed just now, have not tested - btw, Powerdown shows twice in Pkg manager) ps: problem predated add-on installs so I don't think they are involved. Quote Link to comment
interwebtech Posted October 3, 2014 Author Share Posted October 3, 2014 BTW, I am trying to setup User Shares but it requires that the array be stopped to turn it on and I can't get the array stopped because it hangs. Quote Link to comment
dlandon Posted October 3, 2014 Share Posted October 3, 2014 Powerdown should only show once. Remove both instances of the plugin and re-install. A good test to see what is not stopping is to get the powerdown plugin installed properly. Be sure you have version 2.11. And then log into the server and type 'powerdown -r'. This will re-boot the server and save the log. You can then look at the log on the flash drive and you'll see what process is still running. Post the log and I can review it for you if it's not obvious what is holding up the unmounting of the drives. This will probably result in an unclean shutdown and a parity check, but you'll be able to see what is not allowing the unmount. EDIT: Don't use the unMenu powerdown. Use the latest plugin here: http://lime-technology.com/forum/index.php?topic=31735.0 Quote Link to comment
interwebtech Posted October 3, 2014 Author Share Posted October 3, 2014 should I stop the current running parity check? Need to restart to uninstall unmenu version ps. what I meant was it shows up twice in the unmenu package manager Quote Link to comment
interwebtech Posted October 3, 2014 Author Share Posted October 3, 2014 set old powerdown to not reinstall on reboot & installed new 2.11 - looked like it found the old one and "upgraded" based on the install log. Quote Link to comment
sureguy Posted October 3, 2014 Share Posted October 3, 2014 I'd restart the parity check after you reboot. But it won't harm anything to do that. Quote Link to comment
interwebtech Posted October 3, 2014 Author Share Posted October 3, 2014 success! reboot was clean with no parity check. Log attached. syslog.zip Quote Link to comment
interwebtech Posted October 3, 2014 Author Share Posted October 3, 2014 trying to stop the array again and it hangs with: "Stop AVAHI...Stop SMB...Spinning up all drives...Sync filesystems...Retry unmounting user share(s)...Retry unmounting user share(s)...Retry unmounting user share(s)...Retry unmounting user share(s)...Retry unmounting user share(s)...Retry unmounting user share(s)...Retry unmounting user share(s)..." will try powerdown to get it cleared again but really need to be able to stop the array latest log attached syslog-20141003-130831.txt Quote Link to comment
dlandon Posted October 3, 2014 Share Posted October 3, 2014 When it's stuck in that loop, you can use the command line powerdown to shut it down. Then post a log so we can see what is not behaving. Quote Link to comment
interwebtech Posted October 3, 2014 Author Share Posted October 3, 2014 When it's stuck in that loop, you can use the command line powerdown to shut it down. Then post a log so we can see what is not behaving. that is what I did. restarted and no p.check (that alone is helpful) new log in previous post Quote Link to comment
dlandon Posted October 3, 2014 Share Posted October 3, 2014 Ok. I have a hunch that you have an issue with Xen or docker. Powerdown shuts down Xen early and the webgui shuts down Xen as a plug which is a little late in the process. Do you have any Xen VMs? Quote Link to comment
interwebtech Posted October 3, 2014 Author Share Posted October 3, 2014 no xen or vms. just plex docker and it is having problems of its own (doesn't persist between boots) Quote Link to comment
interwebtech Posted October 3, 2014 Author Share Posted October 3, 2014 going to try deleting plex docker and see if I can stop the array via webgui. see if it is the offender. Quote Link to comment
interwebtech Posted October 3, 2014 Author Share Posted October 3, 2014 as suspected, I can now stop the array after having removed the docker. Will try reinstalling to see if magically fixes itself Quote Link to comment
dlandon Posted October 3, 2014 Share Posted October 3, 2014 I see an issue with your user shares /mnt/user. Try this: Shut down the array from the webgui and go to a terminal and type "/etc/rc.d/rc.docker stop" and see if the webgui finally unmounts the drives. If so docker is holding up the unmounting. If not I recommend you remove all the stuff you have running and put things back one at a time and see what is causing the problem. The good news is that powerdown lets the array shut down cleanly. Quote Link to comment
interwebtech Posted October 3, 2014 Author Share Posted October 3, 2014 I see an issue with your user shares /mnt/user. Try this: Shut down the array from the webgui and go to a terminal and type "/etc/rc.d/rc.docker stop" and see if the webgui finally unmounts the drives. If so docker is holding up the unmounting. If not I recommend you remove all the stuff you have running and put things back one at a time and see what is causing the problem. The good news is that powerdown lets the array shut down cleanly. with fresh Plex docker installed (nothing more than install using defaults done), tried to stop the array with it running, it hangs as before. Ran your command "/etc/rc.d/rc.docker stop" at console (have kvm connected to both towers), it returned to the prompt with no message. WebGUI still hung... Quote Link to comment
dlandon Posted October 3, 2014 Share Posted October 3, 2014 as suspected, I can now stop the array after having removed the docker. Will try reinstalling to see if magically fixes itself Is Plex your only docker? Quote Link to comment
interwebtech Posted October 3, 2014 Author Share Posted October 3, 2014 yes. plain vanilla install only still hangs the webgui. Quote Link to comment
dlandon Posted October 3, 2014 Share Posted October 3, 2014 I see an issue with your user shares /mnt/user. Try this: Shut down the array from the webgui and go to a terminal and type "/etc/rc.d/rc.docker stop" and see if the webgui finally unmounts the drives. If so docker is holding up the unmounting. If not I recommend you remove all the stuff you have running and put things back one at a time and see what is causing the problem. The good news is that powerdown lets the array shut down cleanly. with fresh Plex docker installed (nothing more than install using defaults done), tried to stop the array with it running, it hangs as before. Ran your command "/etc/rc.d/rc.docker stop" at console (have kvm connected to both towers), it returned to the prompt with no message. WebGUI still hung... Run it before you try to shut down using the webgui. Will probably work just fine. The issue is that docker needs to stop before the shares are stopped. Quote Link to comment
interwebtech Posted October 3, 2014 Author Share Posted October 3, 2014 I see an issue with your user shares /mnt/user. Try this: Shut down the array from the webgui and go to a terminal and type "/etc/rc.d/rc.docker stop" and see if the webgui finally unmounts the drives. If so docker is holding up the unmounting. If not I recommend you remove all the stuff you have running and put things back one at a time and see what is causing the problem. The good news is that powerdown lets the array shut down cleanly. with fresh Plex docker installed (nothing more than install using defaults done), tried to stop the array with it running, it hangs as before. Ran your command "/etc/rc.d/rc.docker stop" at console (have kvm connected to both towers), it returned to the prompt with no message. WebGUI still hung... Run it before you try to shut down using the webgui. Will probably work just fine. The issue is that docker needs to stop before the shares are stopped. did not work. The docker is not starting up on its own when I boot. With it not running, I can stop the array. I can only start the docker by refreshing the settings (normal "start" button has no effect) essentially resetting it I believe. Once it is running, I did your command via telnet got message that it shut down but webgui still hangs when I try and stop the array. Will Powerdown and post new log. Quote Link to comment
interwebtech Posted October 3, 2014 Author Share Posted October 3, 2014 error on console screen... Error response from daemon: Cannot start container PlexMediaServer : setup mount namespace bind mounts stat /mnt/user/appdata/plexmediaserver : no such file or directory 2014/10/03 13:45:13 Error: failed to start one or more containers Quote Link to comment
interwebtech Posted October 3, 2014 Author Share Posted October 3, 2014 log from last powerdown -r syslog-20141003-135410.zip Quote Link to comment
dlandon Posted October 3, 2014 Share Posted October 3, 2014 error on console screen... Error response from daemon: Cannot start container PlexMediaServer : setup mount namespace bind mounts stat /mnt/user/appdata/plexmediaserver : no such file or directory 2014/10/03 13:45:13 Error:P failed to start one or more containers Now you've narrowed it down to docker as the offender. Check your appdata share. Something is amiss there. Looks like it is missing or has a permission problem. Quote Link to comment
dlandon Posted October 3, 2014 Share Posted October 3, 2014 log from last powerdown -r The log shows /mnt/user is not empty. Check your shares. In a previous post I suggested a problem with appdata. Look at that. Quote Link to comment
interwebtech Posted October 3, 2014 Author Share Posted October 3, 2014 I have hit my wall in expertise. I don't know where to find this file/folder location. I installed a cache drive yesterday to use for Plex. The docker img file I can see on that drive. Other than that I am lost. I really appreciate your help with this. Quote Link to comment
Recommended Posts
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.