AIX rsync backup problem -- cp with hard link fails

Wayne Davison wayned at samba.org
Tue Jun 7 18:14:33 GMT 2005


On Thu, Jun 02, 2005 at 11:34:45PM -0400, Sherry Sun wrote:
> "Cannot link to a file on another device."
> How should I get around this problem?

Your only choices are to turn off -H (so that rsync copies hard-linked
files as separate files) or to ensure that all dirs containing files
that are cross-linked are on the same filesystem (perhaps by adjusting
your destination hierarchies, or perhaps by using symlinked destination
dirs and the --keep-dirlinks option to rsync).

..wayne..


More information about the rsync mailing list