You are not logged in.
I have been using Rsync (via Grsync) for ages to backup my home directory to a USB HDD. It has always worked perfectly. Suddenly, it is failing with these error messages:
rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32)
rsync: mkdir "/media/3d15375f-6df7-4254-ba7b-8e989a9c174a/myrlin" failed: No such file or directory (2)
rsync error: error in file IO (code 11) at main.c(587) [Receiver=3.0.9]
rsync: connection unexpectedly closed (9 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]
Rsync process exit status: 12
I have not changed anything on my system, other than to do several regular updates (pacman -Syu)
I can read and write files manually to the USB HDD without a problem.
I have run e2fsck on the USB disk, and it does not report any errors.
I desperately need to back up some important files, so I would really appreciate some guidance on this, since I don't have a clue on where to go from here.
Many thanks in advance
Last edited by myrlin (2012-04-28 10:07:41)
Offline
Have you checked that "/media/3d15375f-6df7-4254-ba7b-8e989a9c174a/myrlin" and its parent directories still exist?
How exactly are you using rsync? Are you using rsyncd on another system?
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Thank you for your quick reply, Xyne.
Yes, all the directories do exist. "3d15375f-6df7-4254-ba7b-8e989a9c174a" is the ID of my USB HDD, and /myrlin exists on it.
My home directory on my desktop PC is "/myrlin", and I sync this with the same directory name (/myrlin) on the USB drive. I actually use rsync through grsync. This has the synchronisation session permanently setup and I have not changed any of the settings since it last worked. I'm guessing something else has been changed by an update. I am not using rsyncd anywhere.
I am using pcmanfm/gvfs, and I am wondering whether the latest update to gvfs (which includes udisks2 as a dependency) could be the culprit? I will try downgrading tomorrow.
Thanks again for your help
Last edited by myrlin (2012-04-26 21:59:54)
Offline
Open up a terminal emulator and check that you can list the contents of your backup directory on the USB disk, then try a dry-run with rsync. You can get the command-line options from grsync.
I asked about rsyncd because of the "connection unexpectedly closed" message. I don't know how grync intefaces with rsync, but trying the command-line version should at least indicate if it's an rsync problem or a grsync problem.
Have you tried copying anything to or from the directory with cp?
If you know approximately when it stopped working, you can use pkg-list_dep_dates to try to determine if a recent upgrade broke it.
Last edited by Xyne (2012-04-26 22:24:44)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Also, check the output of dmesg for errors.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Thanks for your help.
I will work through these suggestions, and post the results.
BTW, I have done a "dry-run" using grsync, and it works fine, so it seems to be a communication-type problem
Offline
As predicted, this problem is due to udisks2/gvfs.
I downgraded to a version of gvfs that did not need udisks2, and everything works perfectly again.
Offline