Jump to content

Best way to create persistent folder mount


Recommended Posts

I have a new unraid setup, my first time using it, and I have a question about the best way to set up a link from one folder to another (I have limited Linux experience). The reason for doing this is that I have a bunch of files that are synced via Resilio, and have everything synced by Resilio into its own user share, but want to have one particular folder accessible within another folder in a different user share, as part of a library from multiple sources. I tried a creating symlink, but it's not visible to my Windows computer via an SMB share. Instead I've used a mount --bind and it works perfectly, but it's not persistent after a reboot. Any advice on how to handle this? 

  • Is the best way to make a binding mount and to make it persistent by adding it to the fstab? Does that change have to be made on the Unraid boot USB drive?
  • Or is there some other way to reestablish the mount on boot (i.e., a script)?  
  • Apparently there are ways to make symlinks work on a SMB share, but they sound a little hacky and less secure. Or is that okay?
Link to comment
  • 1 month later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...