Hi all, I have a problem where when I try to write to a 'vfat' partition (in Fedora Core 3, rsync 2.6.3) I get this error: -=-=-[ error ]-=-=- rsync: mkdir "/mnt/tle-bu/src0/tle-bu/231e2838-93b0-4f6f-8b8b-f09e24e1ed80" failed: No such file or directory (2) rsync error: error in file IO (code 11) at main.c(381) rsync: connection unexpectedly closed (8 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(359) -=-=-[ error ]-=-=- The directory I am trying to write to already exists: -=-=-[ shell ]-=-=- [madison@akane cgi-bin]$ ls -lah /mnt/tle-bu/mnt0/tle-bu/231e2838-93b0-4f6f-8b8b-f09e24e1ed80/ total 8.0K drwxr-xr-x 2 madison madison 4.0K Mar 31 20:59 . drwxr-xr-x 3 madison madison 4.0K Apr 11 20:53 .. -=-=-[ shell ]-=-=- And as you can see it is mounted as the same user I am trying to run 'rsync' under. I am using the '--files-from=' switch to copy a specific list of files (basically for this test all the files in my '/boot' partition). The exact command I am calling is: -=-=-[ shell ]-=-=- [madison@akane cgi-bin]$ /usr/bin/rsync -aq --modify-window=1 --no-whole-file --partial --files-from=/usr/share/tle-bu/cgi-bin/tmp/4_231e2838-93b0-4f6f-8b8b-f09e24e1ed80_00B0-7CF3.copy /boot /mnt/tle-bu/src0/tle-bu/231e2838-93b0-4f6f-8b8b-f09e24e1ed80 -=-=-[ shell ]-=-=- And the file '4_231e2838-93b0-4f6f-8b8b-f09e24e1ed80_00B0-7CF3.copy' contains: -=-=-[ file ]-=-=- [madison@akane cgi-bin]$ cat tmp/4_231e2838-93b0-4f6f-8b8b-f09e24e1ed80_00B0-7CF3.copy / /config-2.6.10-1.770_FC3 /config-2.6.10-1.741_FC3 /vmlinuz-2.6.10 /vmlinuz /initrd-2.6.10.img /initrd-2.6.10-1.770_FC3.img /System.map-2.6.10-1.770_FC3 /vmlinuz-2.6.10-1.741_FC3 /vmlinuz-2.6.10-1.770_FC3 /System.map-2.6.10-1.741_FC3 /initrd-2.6.10-1.741_FC3.img /System.map-2.6.10 /System.map /grub /grub/fat_stage1_5 /grub/reiserfs_stage1_5 /grub/iso9660_stage1_5 /grub/stage2 /grub/stage1 /grub/splash.xpm.gz /grub/jfs_stage1_5 /grub/minix_stage1_5 /grub/menu.lst /grub/ufs2_stage1_5 /grub/xfs_stage1_5 /grub/vstafs_stage1_5 /grub/device.map /grub/grub.conf /grub/e2fs_stage1_5 /grub/ffs_stage1_5 /lost+found -=-=-[ file ]-=-=- I have successfully used this program to copy from the 'vfat' partition and other (ext2/ext3) partitions which is what leads me to think the problem has to do with vfat. Anything else I should mention that might help diagnose this problem? I have read a fair but but generally I am still pretty new to 'rsync' so I fully admit that I could be missing the obvious. Any help is much appreciated! Madison -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Madison Kelly (Digimer) TLE-BU, The Linux Experience; Back Up tle-bu.thelinuxexperience.com -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
On Mon, Apr 11, 2005 at 09:09:50PM -0400, Madison Kelly wrote:> [madison@akane cgi-bin]$ ls -lah > /mnt/tle-bu/mnt0/tle-bu/231e2838-93b0-4f6f-8b8b-f09e24e1ed80/ > [madison@akane cgi-bin]$ /usr/bin/rsync -aq --modify-window=1 > --no-whole-file --partial > --files-from=/usr/share/tle-bu/cgi-bin/tmp/4_231e2838-93b0-4f6f-8b8b-f09e24e1ed80_00B0-7CF3.copy > /boot /mnt/tle-bu/src0/tle-bu/231e2838-93b0-4f6f-8b8b-f09e24e1ed80One of those has "mnt0" and the other has "src0". ..wayne..