May 20, 201214 yr Hi All. Want to say I love this community and all the time you all spend helping others. Thank you! I built my first unraid server a couple weeks ago. On version 5.0rc2. Right now, I just have 2x 2TB hard drives in there, one data, one parity. I will be putting some more in soon. I setup 2 user shares, Media and torrents. Both have high water, 50gb level, and split 2. (in preparation for my next hard drive to be in there) I was installing couchpotato/sickbeard but was having an issue, so I decided to reboot. (I went to telnet and typed "reboot"). When I got the server back up, my user share was missing files! But they still existed on Disk1. For example... /mnt/user/Media/ does not contain a "Movies" folder but /mnt/user/disk1/ has my "Movies" folder with all of my data in it. How do I fix this??? My transmission client looks in the /mnt/user/Media/ directory and it's now unable to seed. Thanks! Shane
May 20, 201214 yr First, this is a customization question, so I'm moving it to that forum. Second, it sounds as if you have the add-on starting BEFORE unRAID has set up the user-shares, therefore, they cannot initialize properly. The user-shares are a VIRTUAL union of all the disk shares. They never exist... it just looks like they do. ALL files are on the /mnt/diskX/sharename director hierarchies. You may, or may not have made them visible to windows. You do not want to move anything, the files are already there. Step 1. disable your add on, or make absolutely sure it does not start until AFTER the array has started and user-shares are available. Step 2. reboot. (and make sure you stop the array FIRST, before rebooting) The only other possibility I can think of is you have "Movies" and "movies" (different capitalization on multiple disk shares) and one is visible. Joe L.
May 20, 201214 yr Author Thanks for the reply, Joe. Can you explain to me how I make my addons start AFTER unraid sets up the user-shares? I have to stop the array everytime I reboot unraid? Is that something that can be in some sort of a shutdown script? the folder "Movies" no longer exists on the "Media" user share. It's only on disk1.
May 20, 201214 yr Author Also, I just tried stopping the array and it gave me the following message: 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)...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)...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)...Retry unmounting user share(s)... And it kept repeating "Retry unmounting user share(s)..." and hasn't stopped.
May 20, 201214 yr you have an app running and it is not allowing your array to shutdown. Perhaps sab, sickbeard, couchpotato, swapfile, mysql or something.....
May 20, 201214 yr Author Is there an easy way to have everything shut down and take the array offline? A shutdown script or something?
May 20, 201214 yr Is there an easy way to have everything shut down and take the array offline? A shutdown script or something? The author of each package should supply a way to stop it. In the later 5.0 series, there is an event that is called prior to stopping the array. The packages should all use it. You can install the clean powerdown script, but that is a brute force command that kills everything running. It may, or may not stop a particular program cleanly. In the earlier 5.0 series and everything prior, there is no "event" I personally use a script I wrote that monitors the syslog. If you search the forums for unraid_addon_control.zip you should find it. It is not too hard to configure, but most have not used it as they are waiting for true event driven add-on control. As you already know, that does not really exist at this time, even though it is a bit closer now than ever before. On the other hand, my script has been running on my servers for over 2 years now. It cleanly stops and starts two of my add-ons.
Archived
This topic is now archived and is closed to further replies.