Results 1 to 5 of 5

Thread: RSYNC skips some files

  1. #1
    Join Date
    Jun 2007
    Location
    Gallifrey
    Beans
    77
    Distro
    Ubuntu 12.04 Precise Pangolin

    RSYNC skips some files

    I run 'rsync -ua --delete' to keep an EXT3 partition on a flash drive synced with a folder on my home partition. RSYNC gives no errors, but at times it fails to update certain files while correctly updating others. Some of them are TEX files and some are ODS files, and in each case I double-checked to see that the mod-time on the source file is newer than on the destination. I tried adding 'i' and 'v' to the command to debug, but this is all the output RSYNC gives me:

    sending incremental file list

    sent 18706 bytes received 53 bytes 37518.00 bytes/sec
    total size is 45874824 speedup is 2445.48

    Any ideas on what's happening or how I can debug this issue? Thanks.

    Cheers,
    stevo
    Kernel Linux 3.2.0-23-generic, MEMORY: 4Gb, PROCESSOR: AMD Athlon II X4 Quad Core Processor,
    VIDEO: GeForce 8600GT

  2. #2
    Join Date
    Jun 2007
    Location
    Gallifrey
    Beans
    77
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: RSYNC skips some files

    I realized later this morning that more information might be helpful.

    I actually use an EXT3 flash drive as an intermediary to sync my work computer (eeebuntu 8.10) with my home computer (ubuntu 9.10). Sometimes (not always), files do not sync from the flash drive to the computer, but syncing almost always works computer >> flash drive. I had thought this was because the flash drive was FAT32, but reformatting to EXT3 has not resolved the issue.

    Again, any insights or help would be most appreciated.

    Cheers,
    stevo
    Kernel Linux 3.2.0-23-generic, MEMORY: 4Gb, PROCESSOR: AMD Athlon II X4 Quad Core Processor,
    VIDEO: GeForce 8600GT

  3. #3
    Join Date
    Apr 2009
    Location
    Midwest, U.S.A.
    Beans
    1,209
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: RSYNC skips some files

    Have you tried the '-v' verbose option?
    Also from the rsync man page, these looked like they might be of your interest:
    Code:
    --itemize-changes       output a change-summary for all updates
    --out-format=FORMAT     output updates using the specified FORMAT
    --log-file=FILE         log what we're doing to the specified FILE
    --log-file-format=FMT   log updates using the specified FMT
    Laptop: Dell Inspiron 8200 - Fedora 13 - Goddard
    Desktop: Self-Built - [Ku, Lu, Xu, U]buntu - Lucid 10.04.3 (LTS)
    Linux User: 498249 / Ubuntu User: 29241

  4. #4
    Join Date
    Jun 2007
    Location
    Gallifrey
    Beans
    77
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: RSYNC skips some files

    Thanks, AlphaLexman. I actually used those parameters (that's what '-i' is supposed to do) and sent the output to a log file; that's how I got the segment that I quoted in the first post. I appreciate the help, though.

    Cheers,
    stevo
    Kernel Linux 3.2.0-23-generic, MEMORY: 4Gb, PROCESSOR: AMD Athlon II X4 Quad Core Processor,
    VIDEO: GeForce 8600GT

  5. #5
    Join Date
    Aug 2008
    Location
    Washington DC
    Beans
    2,186
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: RSYNC skips some files

    It seems to me like the copy in the memory buffer cache is different than the one on the platter.. This shouldn't be the case. Test the theory by rebooting the machine to see if it sync's right.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •