Hlink node data for 2282618 already has path=...
Brian J. Murrell
brian at interlinx.bc.ca
Sun Jun 24 09:40:11 MDT 2012
So, like a lot of people, I am using --link-dest to do backups. My
backup target is ext4 so with a hard link limit of 64K. I do end up
with trying to create too many links at some point though and get the
following sequence of events:
rsync: link "/.snapshots/hourly.0/linux/usr/src/openwrt-r18617/build_dir/host/mpfr-2.4.1/tests/.deps/tui_sub.Po" => usr/src/openwrt-r18617/build_dir/host/bison-2.3/examples/calc++/.deps/calc++-driver.Po failed: Too many links (31)
Hlink node data for 2282618 already has path=usr/src/openwrt-r18617/build_dir/host/bison-2.3/examples/calc++/.deps/calc++-driver.Po (usr/src/openwrt-r18617/build_dir/host/mpfr-2.4.1/tests/.deps/tui_sub.Po)
rsync error: errors with program diagnostics (code 13) at hlink.c(548) [generator=3.0.9]
rsync: connection unexpectedly closed (222362 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]
It seems awfully heavy-handed for this "Too many links" condition to
be treated as an outright error. Surely it's sufficient to just fail
to hard-link and move on, yes?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 262 bytes
Desc: OpenPGP digital signature
More information about the rsync