Rsync 2.6.9 seems to think that the destination is already up to date.
What do you expect it to do that it isn't doing? Update an existing
file? (What are the size and mtime of that file and the corresponding
source file?) Delete an extraneous file? (Note that you'll have to
convert the exclude to a hide filter, --filter='H /*/', or use
--delete-excluded if you want rsync to delete extraneous directories.)
Matt
On Sun, 2008-07-13 at 04:07 +0100, Tiago Marques wrote:> opening tcp connection to rsync.sabayonlinux.org port 873
> connection via http proxy proxy.ua.pt port 3128
> opening connection using --server --sender -vvvvltpr . SabayonLinux/
> (Client) Protocol versions: remote=29, negotiated=29
> note: iconv_open("UTF-8", "UTF-8") succeeded.
> receiving file list ...
> recv_file_name(.)
> recv_file_name(Sabayon-Linux-x86_64-3.5-Pod.iso)
> recv_file_name(Sabayon-Linux-x86-3.5-Pod.iso.md5)
> recv_file_name(SabayonLinux-x86_64-3.4.miniEdition.iso.md5)
> recv_file_name(SabayonLinux-x86_64-3.4.miniEdition.iso)
> recv_file_name(Sabayon-Linux-x86-3.5.iso.md5)
> recv_file_name(Sabayon-Linux-x86_64-3.5.iso.md5)
> recv_file_name(Sabayon-Linux-x86-3.5-Pod.portage.db.tar.bz2)
> recv_file_name(Sabayon-Linux-x86-3.5.iso)
> recv_file_name(Sabayon-Linux-x86_64-3.5-Pod.portage.db.tar.bz2)
> recv_file_name(Sabayon-Linux-x86-3.5-Pod.iso)
> recv_file_name(SabayonLinux-x86-3.4.miniEdition.iso)
> recv_file_name(Sabayon-Linux-x86_64-3.5.iso)
> recv_file_name(Sabayon-Linux-x86_64-3.5-Pod.iso.md5)
> recv_file_name(SabayonLinux-x86-3.4.miniEdition.iso.md5)
> received 15 names
> done
> [receiver] i=0 0 ./ mode=040775 len=4096 flags=9
> [receiver] i=1 1 Sabayon-Linux-x86-3.5-Pod.iso mode=0100644
> len=727721984 flags=0
> [receiver] i=2 1 Sabayon-Linux-x86-3.5-Pod.iso.md5 mode=0100644 len=64
flags=0
> [receiver] i=3 1 Sabayon-Linux-x86-3.5-Pod.portage.db.tar.bz2
> mode=0100644 len=27708897 flags=0
> [receiver] i=4 1 Sabayon-Linux-x86-3.5.iso mode=0100644 len=4195756032
flags=0
> [receiver] i=5 1 Sabayon-Linux-x86-3.5.iso.md5 mode=0100644 len=60 flags=0
> [receiver] i=6 1 Sabayon-Linux-x86_64-3.5-Pod.iso mode=0100644
> len=734363648 flags=0
> [receiver] i=7 1 Sabayon-Linux-x86_64-3.5-Pod.iso.md5 mode=0100644
> len=67 flags=0
> [receiver] i=8 1 Sabayon-Linux-x86_64-3.5-Pod.portage.db.tar.bz2
> mode=0100644 len=27708897 flags=0
> [receiver] i=9 1 Sabayon-Linux-x86_64-3.5.iso mode=0100644
> len=4418715648 flags=0
> [receiver] i=10 1 Sabayon-Linux-x86_64-3.5.iso.md5 mode=0100644 len=63
flags=0
> [receiver] i=11 1 SabayonLinux-x86-3.4.miniEdition.iso mode=0100644
> len=731901952 flags=0
> [receiver] i=12 1 SabayonLinux-x86-3.4.miniEdition.iso.md5
> mode=0100644 len=71 flags=0
> [receiver] i=13 1 SabayonLinux-x86_64-3.4.miniEdition.iso mode=0100644
> len=728174592 flags=0
> [receiver] i=14 1 SabayonLinux-x86_64-3.4.miniEdition.iso.md5
> mode=0100644 len=74 flags=0
> recv_file_list done
> get_local_name count=15 /storage/mirrors/sabayon
> recv_files(15) starting
> generator starting pid=16295 count=15
> deleting in .
> delete_in_dir(.)
> [generator] protecting directory entropy because of pattern /*/
> [generator] make_file(Sabayon-Linux-x86-3.5-Pod.iso.md5,*,2)
> [generator] make_file(Sabayon-Linux-x86-3.5-Pod.iso,*,2)
> [generator] make_file(Sabayon-Linux-x86_64-3.5-Pod.portage.db.tar.bz2,*,2)
> [generator] make_file(Sabayon-Linux-x86-3.5-Pod.portage.db.tar.bz2,*,2)
> [generator] make_file(Sabayon-Linux-x86_64-3.5-Pod.iso,*,2)
> [generator] make_file(Sabayon-Linux-x86_64-3.5-Pod.iso.md5,*,2)
> [generator] make_file(Sabayon-Linux-x86_64-3.5.iso,*,2)
> [generator] make_file(Sabayon-Linux-x86-3.5.iso,*,2)
> [generator] make_file(Sabayon-Linux-x86_64-3.5.iso.md5,*,2)
> [generator] make_file(SabayonLinux-x86_64-3.4.miniEdition.iso,*,2)
> [generator] make_file(SabayonLinux-x86_64-3.4.miniEdition.iso.md5,*,2)
> [generator] make_file(Sabayon-Linux-x86-3.5.iso.md5,*,2)
> [generator] make_file(SabayonLinux-x86-3.4.miniEdition.iso,*,2)
> [generator] make_file(SabayonLinux-x86-3.4.miniEdition.iso.md5,*,2)
> [generator] i=0 0 Sabayon-Linux-x86-3.5-Pod.iso mode=0100644
> len=727721984 flags=0
> [generator] i=1 0 Sabayon-Linux-x86-3.5-Pod.iso.md5 mode=0100644 len=64
flags=0
> [generator] i=2 0 Sabayon-Linux-x86-3.5-Pod.portage.db.tar.bz2
> mode=0100644 len=27708897 flags=0
> [generator] i=3 0 Sabayon-Linux-x86-3.5.iso mode=0100644 len=4195756032
flags=0
> [generator] i=4 0 Sabayon-Linux-x86-3.5.iso.md5 mode=0100644 len=60 flags=0
> [generator] i=5 0 Sabayon-Linux-x86_64-3.5-Pod.iso mode=0100644
> len=734363648 flags=0
> [generator] i=6 0 Sabayon-Linux-x86_64-3.5-Pod.iso.md5 mode=0100644
> len=67 flags=0
> [generator] i=7 0 Sabayon-Linux-x86_64-3.5-Pod.portage.db.tar.bz2
> mode=0100644 len=27708897 flags=0
> [generator] i=8 0 Sabayon-Linux-x86_64-3.5.iso mode=0100644
> len=4418715648 flags=0
> [generator] i=9 0 Sabayon-Linux-x86_64-3.5.iso.md5 mode=0100644 len=63
flags=0
> [generator] i=10 0 SabayonLinux-x86-3.4.miniEdition.iso mode=0100644
> len=731901952 flags=0
> [generator] i=11 0 SabayonLinux-x86-3.4.miniEdition.iso.md5
> mode=0100644 len=71 flags=0
> [generator] i=12 0 SabayonLinux-x86_64-3.4.miniEdition.iso
> mode=0100644 len=728174592 flags=0
> [generator] i=13 0 SabayonLinux-x86_64-3.4.miniEdition.iso.md5
> mode=0100644 len=74 flags=0
> delta-transmission enabled
> recv_generator(.,0)
> recv_generator(Sabayon-Linux-x86-3.5-Pod.iso,1)
> Sabayon-Linux-x86-3.5-Pod.iso is uptodate
> recv_generator(Sabayon-Linux-x86-3.5-Pod.iso.md5,2)
> Sabayon-Linux-x86-3.5-Pod.iso.md5 is uptodate
> recv_generator(Sabayon-Linux-x86-3.5-Pod.portage.db.tar.bz2,3)
> Sabayon-Linux-x86-3.5-Pod.portage.db.tar.bz2 is uptodate
> recv_generator(Sabayon-Linux-x86-3.5.iso,4)
> Sabayon-Linux-x86-3.5.iso is uptodate
> recv_generator(Sabayon-Linux-x86-3.5.iso.md5,5)
> Sabayon-Linux-x86-3.5.iso.md5 is uptodate
> recv_generator(Sabayon-Linux-x86_64-3.5-Pod.iso,6)
> Sabayon-Linux-x86_64-3.5-Pod.iso is uptodate
> recv_generator(Sabayon-Linux-x86_64-3.5-Pod.iso.md5,7)
> Sabayon-Linux-x86_64-3.5-Pod.iso.md5 is uptodate
> recv_generator(Sabayon-Linux-x86_64-3.5-Pod.portage.db.tar.bz2,8)
> Sabayon-Linux-x86_64-3.5-Pod.portage.db.tar.bz2 is uptodate
> recv_generator(Sabayon-Linux-x86_64-3.5.iso,9)
> Sabayon-Linux-x86_64-3.5.iso is uptodate
> recv_generator(Sabayon-Linux-x86_64-3.5.iso.md5,10)
> Sabayon-Linux-x86_64-3.5.iso.md5 is uptodate
> recv_generator(SabayonLinux-x86-3.4.miniEdition.iso,11)
> SabayonLinux-x86-3.4.miniEdition.iso is uptodate
> recv_generator(SabayonLinux-x86-3.4.miniEdition.iso.md5,12)
> SabayonLinux-x86-3.4.miniEdition.iso.md5 is uptodate
> recv_generator(SabayonLinux-x86_64-3.4.miniEdition.iso,13)
> SabayonLinux-x86_64-3.4.miniEdition.iso is uptodate
> recv_generator(SabayonLinux-x86_64-3.4.miniEdition.iso.md5,14)
> SabayonLinux-x86_64-3.4.miniEdition.iso.md5 is uptodate
> generate_files phase=1
> recv_files(.)
> recv_files(Sabayon-Linux-x86-3.5-Pod.iso)
> recv_files(Sabayon-Linux-x86-3.5-Pod.iso.md5)
> recv_files(Sabayon-Linux-x86-3.5-Pod.portage.db.tar.bz2)
> recv_files(Sabayon-Linux-x86-3.5.iso)
> recv_files(Sabayon-Linux-x86-3.5.iso.md5)
> recv_files(Sabayon-Linux-x86_64-3.5-Pod.iso)
> recv_files(Sabayon-Linux-x86_64-3.5-Pod.iso.md5)
> recv_files(Sabayon-Linux-x86_64-3.5-Pod.portage.db.tar.bz2)
> recv_files(Sabayon-Linux-x86_64-3.5.iso)
> recv_files(Sabayon-Linux-x86_64-3.5.iso.md5)
> recv_files(SabayonLinux-x86-3.4.miniEdition.iso)
> recv_files(SabayonLinux-x86-3.4.miniEdition.iso.md5)
> recv_files(SabayonLinux-x86_64-3.4.miniEdition.iso)
> recv_files(SabayonLinux-x86_64-3.4.miniEdition.iso.md5)
> recv_files phase=1
> generate_files phase=2
> recv_files phase=2
> generate_files phase=3
> recv_files finished
> recv_generator(.,0)
> generate_files finished
>
> sent 185 bytes received 608 bytes 1586.00 bytes/sec
> total size is 11592052049 speedup is 14617972.32
> _exit_cleanup(code=0, file=main.c, line=1385): entered
> _exit_cleanup(code=0, file=main.c, line=1385): about to call exit(0)
>
>
>
-------------------------------------------------------------------------------------------------------------------------------
>
> Strange that everything is working fine on your end.
>
> Best regards,
> Tiago Marques
>
>
>
> On Sun, Jul 13, 2008 at 2:49 AM, Matt McCutchen
<matt@mattmccutchen.net> wrote:
> > On Sat, 2008-07-12 at 03:48 +0100, Tiago Marques wrote:
> >> Hmm, looks like I'm not done with this, yet.
> >> With rsync 3.02, it works fine:
> >>
> >> rsync --exclude='/*/' --delete-before -tvlpr
> >> rsync://rsync.sabayonlinux.org/SabayonLinux/ /storage/mirrors/
> >>
> >> But not with the 2.6.9 version :|
> >> I just get this, with the mirror completely outdated:
> >>
> >> receiving file list ... done
> >>
> >> sent 92 bytes received 518 bytes 93.85 bytes/sec
> >> total size is 11592052049 speedup is 19003364.01
> >
> > I ran your command with rsync 2.6.9 and -n (I didn't want to
actually
> > download the files) and didn't see any obvious problem. Please
increase
> > the verbosity to -vvv and post the output you get.
> >
> > Matt
> >
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url :
http://lists.samba.org/archive/rsync/attachments/20080713/2880faac/attachment.bin