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.

Folder on a Pool Device is coming up as shared folder under /mnt/user (SOLVED)

Featured Replies

I have an array of 3 Disks + Parity, a NMVE as Cache and an 8TB HDD under pool device for a local backup. Having rsync with source of /mnt/user/ and /mnt/backup_hdd as target. The rsync runs fine and creates a new folder under /mnt/backup_hdd.

So far so good - the folder created by rsync appears under the user shares and is therefore now also part of /mnt/user - which would result in an endless loop and doesn't make sense.

 

I didn't checked that before I run rsync but seams to be a common behavior - each folder I create under /mnt/backup_hdd is automatically added to the shared folders

 

Is there a way to prevent this behavior? My array is running a parity check and therefore I can't test if the option Enable user share assignment within the backup_hdd setting would do the trick. Did anyone know?

Edited by wawibu

Solved by itimpi

  • Solution

Normally if you have a share of a given name then all top level folders of that name on any pool or array drive are combined to give a single unified view under /mnt/user.   Doing an rsync between a user share (anything under /mnt/user) and a drive share (which is what /mnt/backup_hdd is) can easily lead to data loss unless you are very careful and know what you are doing.

 

Have you read the section of the online documentation that discusses User Shares and how they are implemented?

For your purpose an Unassigned Device might be more appropriate.

  • Author

I adjusted the rsync script in a way to include and exclude specific folders. Makes it also more reliable on what gets backup.

Was just surprised to see that a folder created on a pool device automatically poping up under shared folders. Once you know, it makes complete sense and provides a simplicity to /mnt/user

 

Thanks

  • wawibu changed the title to Folder on a Pool Device is coming up as shared folder under /mnt/user (SOLVED)
  • 9 months later...

I know this is an older post but I encountered this exact same scenario for the exact same reason. Posting the solution that I found incase someone finds this thread via google as I did. I have an external HDD that I sync some files to using rsync and the top level folders were showing up under /mnt/user/<folder name> and were directly linked to the directory in the pool drive.

 

The fix for this is stop the array and in the pool settings set "Enable user share assignment" to "No". Once this was complete the rsync works as expected and folders dont show up as shares.

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

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.