wawibu Posted April 29 Share Posted April 29 (edited) 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 May 2 by wawibu Quote Link to comment
trurl Posted April 29 Share Posted April 29 Attach Diagnostics to your NEXT post in this thread. Quote Link to comment
Solution itimpi Posted April 29 Solution Share Posted April 29 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? Quote Link to comment
trurl Posted April 30 Share Posted April 30 For your purpose an Unassigned Device might be more appropriate. Quote Link to comment
wawibu Posted May 2 Author Share Posted May 2 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 Quote Link to comment
Recommended Posts
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.