DO NOT REPLY [Bug 3692] regression: symlinks are created as hardlinks with --link-dest

samba-bugs at samba.org samba-bugs at samba.org
Tue Apr 18 20:29:00 GMT 2006


https://bugzilla.samba.org/show_bug.cgi?id=3692





------- Comment #6 from noreply at cpe-24-95-90-2.columbus.res.rr.com  2006-04-18 15:28 MST -------
note the 'initialization' bit in the description only works
when the source is on a different host/filesystem than
--link-dest and dest. otherwise you end up with most
of your snapshots being hardlinks to the source that
all track the properties therein. that was a bad example
to post ;-]

1) make the first copy without link-dest
 rsync -Haxv --delete                      ./0/         ./1/
 rsync -Haxv --delete --link-dest=`pwd`/1/ ./0/         ./2/
2) make --link-dest different than the source
 rsync -Haxv --delete --link-dest=`pwd`/0/ ./s/         ./1/
 rsync -Haxv --delete --link-dest=`pwd`/1/ ./s/         ./2/
3) ensure the source is on a different filesystem than link-dest and dest
 rsync -Haxv --delete --link-dest=/fs1/0/  /fs0/0/      /fs1/1/
 rsync -Haxv --delete --link-dest=/fs1/1/  /fs0/0/      /fs1/2/
 test if fsx are backed by same thing.
4) ensure the source is on a different host than link-dest and dest
 rsync -Haxv --delete --link-dest=/fs0/0/  host:/fs0/0/ /fs0/1/
 rsync -Haxv --delete --link-dest=/fs0/1/  host:/fs0/0/ /fs0/2/
 test if fsx are backed by same thing or host is self.


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list