
My apologies for the asterixes that the email system seems to have put in to the error messages I quoted on this thread. Thanks again, Carl On 10/08/12 13:23, Carl Turney wrote:
Hi All,
I'm using rsync (version 3.0.7-1ubuntu1.1 on my Ubuntu 10.4 system) in a shell script to perform local backups of my system on to removable hard disks.
(FYI: It's a bit kludgy, but I'm VERY happy with it. Been doing it for a few years. Normally works great. It's extremely fast at creating up-to-date immediately-bootable clones/mirrors (?) of my system. I always store backups in different locations from my office. So, I'm not hogging up bandwidth, or exposing my data to others, by using the internet to do my backups.)
My system is a dual boot, sharing Ubuntu with WinXP, for when I (rarely) HAVE to genuinely do something in Win. (Thanks, but no thanks. I don't want to do a virtual machine.)
Are there any rsync wizards out there? My problem is this:
Lately, when rsync updates my WinXP partition (by this command)... rsync -Hvxrlt --delete /mnt/tempWindows/ /mnt/backupWindows ... I get the following error messages ...
*sending incremental file list*
*pagefile.sys*
*rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32)*
*deleting Documents and Settings/etc. ... *
*((Here, it seems to remove various deleted WinXP files from the target partition.)) *
*deleting Documents and Settings/etc. ...*
*rsync: write failed on “/mnt/backupWindows/pagefile.sys”: No space left on device (28)*
*rsync error: error in file IO (code 11) at receiver.c(302) [receiver=3.0.7]*
*rsync: connection unexpectedly closed (28 bytes received so far) [sender]*
*rsync error: error in rsync protocol data stream (code 12) at io.c(601) [sender=3.0.7]*
I'm confused by this, as I'm not a CLI wizard by any means. So if you offer advice, please try to dumb it down to the newbie level. You'll get an understanding of my comprehension level by the following comments...
Booting into each of the two WinXP partitions proves that the clone/mirror partition is "out of date" compared to the master partition.
I used ls to find out that the pagefile.sys files on both WinXP partitions are exactly the same size: 2,145,386,496 bytes.
I used df to find out that (at this point in time) the source WinXP partition has 468,400 1KB blocks available, while the target WinXP partition has 2,015,600 1KB blocks available.
df also informed me that the source WinXP partition is only 10,472,136 1KB blocks in total size, while the target partition is =larger=, at 10,985,712 1KB blocks.
My guess is that the target can only run out of space is if rsync (1) copies an updated file into the free space of the target partition using a temp filename, (2) deletes the original file at the target partition, and (3) renames the newly-copied file to the original name.
Any other explanation for that? Any suggested work-arounds?
I'm thinking about cutting the Win swap file size in half, and seeing if that removes the problem at rsync time. Then limping along with that setup until I rebuild my system (when Ubuntu 12.4.1 comes out in a few weeks), with a larger partition for my "bare bones" WinXP.
Thanks in advance for any help.
Cheers,
Carl Turney Bayswater Mobile 0427 024 735
_______________________________________________ luv-main mailing list luv-main@luv.asn.au http://lists.luv.asn.au/listinfo/luv-main