[Linux-bruxelles] problème rsync
Didrik Pinte
pinted at tiscali.be
Lun 27 Sep 22:34:03 CEST 2004
Le dim 26/09/2004 à 12:10, Didrik Pinte a écrit :
> Le ven 24/09/2004 à 20:12, Frederic Peters a écrit :
a pert quant même pas mal d'infos (liens,
> > permissions, etc.)
>
> au départ j'avais mis les options --times --perms --owner --group etc,
> mais j'avais plein de problèmes dans mes logs ... visiblement smbfs
> n'aime pas les changements de group, de permissions, les liens
> symboliques (si je ne dis pas de conneries).
>
> Bref, j'envoie l'output du script ce soir pour vous prouver tout ça.
Voici la preuve :
je lance deux fois rsync d'affilée avec la commande et il copie deux
fois les fichiers ... alors que rien n'a changé:
rsync --progress --stats --recursive --compress --exclude=Cache/
--delete /shared/work /mnt/backup/shared
Premier output :
building file list ...
4801 files to consider
work/projets/ventilation/docs/analyse.sxw
6679 100% 60.39kB/s 0:00:00 (2, 98.8% of 4801)
work/projets/ventilation/docs/contacts.sxw
9866 100% 70.84kB/s 0:00:00 (3, 98.8% of 4801)
work/projets/ventilation/docs/coutsAvantages.sxc
6227 100% 42.23kB/s 0:00:00 (4, 98.9% of 4801)
work/projets/ventilation/docs/internal.sxw
6656 100% 11.67kB/s 0:00:00 (5, 98.9% of 4801)
work/projets/ventilation/docs/models.sxw
5618 100% 9.10kB/s 0:00:00 (6, 98.9% of 4801)
[...]
Number of files: 4801
Number of files transferred: 44
Total file size: 353058693 bytes
Total transferred file size: 15411116 bytes
Literal data: 15411116 bytes
Matched data: 0 bytes
File list size: 102511
Total bytes written: 15199911
Total bytes read: 900
wrote 15199911 bytes read 900 bytes 184252.25 bytes/sec
total size is 353058693 speedup is 23.23
Deuxième output sans avoir touché aux documents :
Password:
building file list ...
4801 files to consider
work/projets/ventilation/docs/analyse.sxw
6679 100% 40.77kB/s 0:00:00 (2, 98.8% of 4801)
work/projets/ventilation/docs/contacts.sxw
9866 100% 37.64kB/s 0:00:00 (3, 98.8% of 4801)
work/projets/ventilation/docs/coutsAvantages.sxc
6227 100% 17.47kB/s 0:00:00 (4, 98.9% of 4801)
work/projets/ventilation/docs/internal.sxw
6656 100% 12.60kB/s 0:00:00 (5, 98.9% of 4801)
work/projets/ventilation/docs/models.sxw
5618 100% 7.95kB/s 0:00:00 (6, 98.9% of 4801)
[...]
Number of files: 4801
Number of files transferred: 44
Total file size: 353058693 bytes
Total transferred file size: 15411116 bytes
Literal data: 15411116 bytes
Matched data: 0 bytes
File list size: 102511
Total bytes written: 15199911
Total bytes read: 900
wrote 15199911 bytes read 900 bytes 188829.95 bytes/sec
total size is 353058693 speedup is 23.23
Une idée?
Didrik
Plus d'informations sur la liste de diffusion Linux-bruxelles