
On 10/08/12 13:23, Carl Turney wrote:
Lately, when rsync updates my WinXP partition (by this command)... rsync -Hvxrlt --delete /mnt/tempWindows/ /mnt/backupWindows ... I get the following error messages ... [...]
*rsync: write failed on “/mnt/backupWindows/pagefile.sys”: No space left on device (28)* [...] 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 you were right to think that the block size was involved, but wrong in your interpretation of what df tells you. df is for finding out how much disk space you have free, and for that purpose variable block sizes are just a source of confusion, so df pretends that that all your file systems have the same block size, and on recent linux systems that tends to mean it defaults to displaying figures with a fictional block size of 1K. You can modify the fictional block size, but df won't show you the real one. Try something like this on your linux filesystem (assuming ext/ext3/ext4): sudo /sbin/dumpe2fs /dev/fubar | head -n 100 | grep 'Block size' (putting head in there just makes it faster. dumpe2fs gives you a lot of info you don't need to grep through). I'm not sure what you'd do to find the block size for and NTFS partition from within linux. Maybe someone else here knows that? Andrew