I set up a shell script to synchronize two directories, this is the code:
rsync -rptDH /source /destination
Source is a local directory and destination is a smb mounted NAS drive.
I added the -H option because I am very interested in keeping the hard links existing in the source.
When the script is executed I get the following message:
kernel: smbfs_vnop_link: warning: pid 774(rsync) hardlink(filename)
I suspect there is a problem in keeping hard links in the destination disk. Is there a way to solve this?