Displaying 2 results from an estimated 2 matches for "dstlt2".
Did you mean:
dstlt
2015 Apr 24
0
Hard links: incomplete backup or rsync does not terminate
...compiling
3.1.1] on Linux (x86_64) the following sequence causes rsync not to
terminate:
> mkdir srclt2
> cd srclt2
> echo x > a
> ln a b
> cd ..
> cp -aix srclt2 dstlt2
> rm dstlt2/b
> mkdir baklt2
> rsync -cavvHAXSl --exclude=gvfs --exclude=.gvfs --compare-dest=$PWD/dstlt2/. $PWD/srclt2/. $PWD/baklt2/. >> testlt2.log 2>&1
The log (after SIGINT) is:
> sending incremental file list
> delta-transmission disabled for local transfer or --...
2017 Apr 04
5
[Bug 12732] New: hard links can cause rsync to block or to silently skip files
...does not show up in the log.
Entry a does not need to appear in the backup, as it is present in both
directories srclt and dstlt.
How to reproduce (2)
====================
[ Using Linux on e.g. ext4 ]
############################
mkdir srclt2
cd srclt2
echo x > a
ln a b
cd ..
cp -aix srclt2 dstlt2
rm dstlt2/b
mkdir baklt2
rsync -aHvv --compare-dest=$PWD/dstlt2/. $PWD/srclt2/. $PWD/baklt2/. >>
testlt2.log 2>&1
############################
Actual Results (2)
==================
=> rsync hangs and must be interrupted/killed.
cat testlt2.log
#####
sending incremental file li...