Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 09-16-2009, 07:35 AM   #1
LQ Newbie
Registered: Sep 2009
Posts: 1

Rep: Reputation: 0
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..


All FAT32 drives.

I want to use rsync to mirror a directory on each of these discs.

so I use...

$ rsync -av /media/image_library/IMAGE-LIBRARY/ /media/image_library_mirror/IMAGE-LIBRARY/
However, rsync seems to do its thing, but does not seem to copy any files. It will only create empty directories where content should be created.

rsync lists each file as it copies them across, but no files appear on the mirror disk

find . -type f
shows that no file shave been created.
However, (and this maybe a clue) occasionally it will show a temporary file like this..
Which has disappeared if I run the command again!

At the end rsync gives me an error

rsync error: some files could not be transferred (code 23) at main.c(977) [sender=2.6.9]
Any ideas why rync isn't working?

Last edited by RedMist; 09-16-2009 at 07:36 AM.
Old 09-16-2009, 08:44 AM   #2
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Bullseye
Posts: 357

Rep: Reputation: 49
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync: error while copying Fusi Linux - Software 5 06-09-2013 11:00 PM
Permissions error while copying files on NFS, but only on some files caggles Linux - Networking 1 07-30-2009 03:17 PM
LXer: [Video] Commandline 101: Copying Files with rsync LXer Syndicated Linux News 0 04-11-2009 04:41 AM
Copying whole changed files - rsync? deadlock Linux - Software 2 12-04-2007 04:57 AM
prevent rsync from copying open files? bkeeper Linux - General 2 12-11-2006 04:16 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration