I bought a new hard drive for my server, and I'm trying to reorganise my files. For the first transfer,
rsync copied ~3 GB perfectly. However, with the equivalent
rsync command, the second transfer fails.
$ sudo /usr/bin/nice -n 19 /usr/bin/ionice -c2 -n7 rsync -aEHAXPx /media/a/ /media/b --delete ... rsync: [sender] write error: Broken pipe (32) rsync error: error in socket IO (code 10) at io.c(820) [sender=3.1.1]
The first run copied about 550 of 800 GB before choking. More recent attempts only manage to copy 1 GB before dying. I'm not sure if it's relevant, but the source is a backintime incremental backup drive, so it contains a ton of hard links. How can I fix this error and complete the command?
I'm running rsync version 3.1.1 protocol version 31.