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.

mount --bind command and its use

Featured Replies

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)

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.

  • 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.

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.