21 minutes ago21 min With the help from forum people ( @Frank1940 @JorgeB ) and from Claude I got a good way to copy large amounts from a Synology share to Unraid while preserving the Mac metadata. In case iit helps anybody here the summary:Setup- Synology - File Services → NFS: enable, max protocol NFSv4.1 - Shared Folder → <share> → NFS Permissions: Unraid IP, Read only, Squash **No mapping*- Unraid - Settings → SMB: Enhanced macOS interoperability: Yes - Shares → <share>: Primary storage Array, Minimum free space slightly > largest file - Disk Settings: md_write_method: reconstruct write - Unassigned Devices → Add Remote Share: NFS, <syno>:/volume1/<share> → Mount- Mac - Make sure you have real rsync, not built-in opensync version (install e.g. with brew install rsync)Steps1. Bulk copy (Unraid, in tmux new -s migrate) rsync -rth --partial --info=progress2 --exclude='@eaDir' --exclude='#recycle' --exclude='#snapshot' "/mnt/remotes/<SYNOshare>" "/mnt/user/<share>/" 2. Verify (should list no files) rsync -rtn --itemize-changes --exclude='@eaDir' --exclude='#recycle' --exclude='#snapshot' "/mnt/remotes/<SYNOshare>" "/mnt/user/<share>/"3. Fix ownership chown -R nobody:users "/mnt/user/<share>/" chmod -R u=rwX,g=rwX,o=rX "/mnt/user/<share>/" 4. Metadata pass (on Mac). Dry run first: .f........x lines are fine, but stop if you see >f. /opt/homebrew/bin/rsync -rtX --modify-window=1 --itemize-changes -n --exclude='@eaDir' --exclude='#recycle' --exclude='#snapshot' /Volumes/<syno> /Volumes/<unraid> /opt/homebrew/bin/rsync -rtX --modify-window=1 --itemize-changes--exclude='@eaDir' --exclude='#recycle' --exclude='#snapshot' /Volumes/<syno> /Volumes/<unraid>5. Spot-check (on Mac) In Finder look at a file on the Synology which has a Finder comment. Check that on the Unraid box same comment is preserved.Teardown- Unraid Disk Settings: md_write_method: Auto- Unraid Unassigned Devices: unmount and remove the remote share- Synology: delete the NFS rule and disable NFS
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.