rsync not copying files, no error shown
I have a server with two NAS drives attached.
In the back of each of these drives is plugged a USB drive. These USB drives are "mounted" as samba drive automatically by the NAS drive, as a directory on the NAS drive. [USB1] -> [NAS1] -> [Fedora Server] <- [NAS2] <-[USB2] I have these USB drives mounted in the linux server as.. /media/image_library /media/image_library_mirror All FAT32 drives. I want to use rsync to mirror a directory on each of these discs. so I use... Code:
$ rsync -av /media/image_library/IMAGE-LIBRARY/ /media/image_library_mirror/IMAGE-LIBRARY/ rsync lists each file as it copies them across, but no files appear on the mirror disk Code:
find . -type f However, (and this maybe a clue) occasionally it will show a temporary file like this.. .waterfall.jpg.5iOUQZWhich has disappeared if I run the command again! At the end rsync gives me an error Code:
rsync error: some files could not be transferred (code 23) at main.c(977) [sender=2.6.9] |
the .XXX file is a temporary file created before replacing the actual file. This is done for consistency.
if this .XXX files are getting created then it means that rsync is trying to copy 1. why are you not asking rsync for a recursive copy. It does not do a recurse unless -r switch is given (so probably you are better off using -rav) 2. There could be problems with the device. Check if the device is still writeable (touch) when rsync exits. If the file (to which the sync is happening) is not writeable, rsync creates just the .XXX file and exits. |
All times are GMT -5. The time now is 11:36 AM. |