--link-dest isn't linking

Michael Tokarev mjt at tls.msk.ru
Mon Apr 23 00:25:36 MDT 2012


On 23.04.2012 06:42, Henri Shustak wrote:
> 
>> rsync -Ha --link-dest=/media/4tb/bak/panic-2012-01-01 /media/2tb/bak/panic-2012-02-01 /media/4tb/bak/
> 
> It seems that you may be attempting to hard-link between two file systems. One is mounted as "/media/4tb" the other is mounted as "media/2tb". 

The source for the files is on 2tb filesystem.  Both the destination
directory and the link-dest directory is on 4tb filesystem.  So the
linking is done between subdirs in the same filesystem.

/mjt


More information about the rsync mailing list