June 29, 201313 yr Hello all, forgive my total lack of knowledge of linux/slackware and the fact that this isn't really a built in problem to unraid but I bring it up as a potential issue. I was playing trying to set up ProFTPd Plugin (I know, its a plugin not supported unraid but please read on). I set up a folder /mnt/cache/.FTP for my main user ftp folder and tried to symlink my usershares here (not a problem as cache is not a usershare). Folders wouldnt show up on the server, further reading showed that it doesn't support symlinks outside its locked directory. It suggested trying to "mount --bind /mnt/user/Movies /mnt/cache/.FTP/Movies" the folder and it worked (technically had to manually create the folder first). The problem arises when I tried to stop the array. The server was unable to unmount the cache drive and just kept trying over and over (crashed the unraid/unmenu websites). I corrected it by just unmounting the two folders linked inside the cache drive myself through the console. The question is, knowing this can happen now, is it possible to make the stop array process more rugged so that it identifies if there is another mount point like I did above? I'm not asking this for the plugin or me (I know another way around the issue) but if its easy to correct this then it may be worth it to put it in (maybe through a check and a recursive unmount on failure)
June 29, 201313 yr The simple answer is that you need to manually umount before stopping the array. Why are you mounting Movies to the cache drive? This appears to do nothing. The same effect could be had by writing directly to /mnt/user/Movies.
June 29, 201313 yr Author Its to restrict the ftpuser to only those specific usershares instead of just setting them up with /mnt/user as their home directory, I have another idea on how to do it but this was the simplest one. I wasn't asking for a fix, just bringing a potential problem that can be done from people messing with their setup and perhaps a way to make the process of unloading more reliable when people mess things up like that (only if its an easy fix otherwise doesn't matter).
Archived
This topic is now archived and is closed to further replies.