Fwd: Re: rsync + ssh -o -p -g -l
michael mendoza
mike114x at yahoo.com
Sun Mar 6 16:45:01 GMT 2005
Hi, i don't write so much englisk, look at this>
~in the same line
#rsync -avz --stats -e ssh desc ~
~root at 200.109.51.119:/home/mike/Desktop/
Password:
building file list ... done
desc/
desc/prueba/
desc/prueba/a
desc/prueba/b
desc/prueba/p/
desc/prueba/p/c
desc/prueba1.tar
Number of files: 7
Number of files transferred: 4
Total file size: 10240 bytes
Total transferred file size: 10240 bytes
Literal data: 10240 bytes
Matched data: 0 bytes
File list size: 149
Total bytes sent: 479
Total bytes received: 100
sent 479 bytes received 100 bytes 128.67 bytes/sec
total size is 10240 speedup is 17.69
[root at tyto4 mike]# cd desc/
[root at tyto4 desc]# du -sh
52K .
now, in the host destination look at:
machine:/home/mike/Desktop# cd desc/
machine:/home/mike/Desktop/desc# du -sh
24K .
I don't understeint that, why? in the source is 52 k
and in the destination is 24k
--- John Van Essen <vanes002 at umn.edu> escribió:
> (Email attachment quoted for the benefit of the mail
> archive...)
>
> On Thu, 3 Mar 2005, michael mendoza
> <mike114x at yahoo.com> wrote:
> >
> > Hi, thank again.
> >
> > I used rsync today to copy 400 MB from a pc to
> other
> > pc with rsync -avz -e ssh SourceDir
> > root at ipDest:/dirDest/
> >
> > but in the source pc i write in the directory
> which i
> > want copy: du -sh and i have 400 Mb but when i
> use
> > rsync to copy to the other pc, and there i write
> du
> > -sh i see than have 450 MB , is it normal?
> >
> > Example: pc A(source)
> > #cd /home/mike/
> > # du -sh
> > # 400 MB
> >
> >
> > pc B(destination)
> > #cd /home/mike/ (or any dir
> destination)
> >
> > #du -sh
> > # 450 Mb
> >
> > Why? what that mean?
>
> Possibilities:
>
> 1) There was something already in the destination
> tree. Since you are
> not using --delete, there could be more files in
> the destination.
>
> 2) There are hard links in the source tree. Since
> you are not using
> -H, they are now separate files at the
> destination. But this
> scenario is unlikely - hardlinks aren't used by
> the typical user.
>
> 3) The atomic unit of storage is larger at the
> destination (e.g. 4096)
> that at the source (e.g. 2048). So unused space
> would be greater.
> But a 50 MB difference would require tens of
> thousands of files.
>
> You should get directory tree listings (ls -lR) and
> compare them to
> see what's going on.
>
> > How can see with rsync more details of the
> transfers ,
> >
> > y try to use rsync -avvz but is the = rsync
> -avz, i
> > want see more details, how can i do?
>
> They shouldn't be the same...
>
> Using more v's is the right thing to do. If two v's
> doesn't give
> enough detail, try three v's.
> --
> John Van Essen Univ of Minn. Alumnus
> <vanes002 at umn.edu>
>
>
_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com
More information about the rsync
mailing list