I already replied to this kind of question :
simply do a dry run with rsync with the verbose option.
The last numbers give the total size of what would have been tranferred.
man rync : -n, --dry-run show what would have been transferred
-----Message d'origine----- De : centos-mirror-bounces@centos.org [mailto:centos-mirror-bounces@centos.org]De la part de Jason Boles Envoyé : mardi 26 avril 2005 22:55 À : centos-mirror@centos.org Objet : [CentOS-mirror] centos mirror disk space requirements
Hello all,
I'm interested in setting up a mirror, however I couldn't find the total size of everything (without downloading it). Could someone reply with the sizes of the 3.4 and 4.0 subdirectories ?
should be as simple as " find /path/to/mirror/centos -type d -exec du -shS {} ; "
Also, how can I search the archives of this mailing list ? (I would like to know preferred cron method for rsync, and howto configure yum to point to my mirror)
thanks, -Jason _______________________________________________ CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror
Hello!
I'm getting errors on syncing and it seems that 'HEADER.images' directory file has wrong rights. Can you fix this please?
---------------- # pwd /var/ftp/pub/centos/3.5 ---------------- ... drw-rw-r-- May 29 15:14 HEADER.images drwxrwxr-x May 29 15:14 isos drwxrwxr-x May 29 15:14 os ...
... ---------------- receiving file list ... rsync: readlink "/3.5/HEADER.images/centos_logo_45.png" (in CentOS) failed: Permission denied (13) rsync: readlink "/3.5/HEADER.images/HEADER.html" (in CentOS) failed: Permission denied (13) rsync: readlink "/3.5/HEADER.images/HEADER.images" (in CentOS) failed: Permission denied (13) rsync: readlink "/3.5/HEADER.images/centos_icon_60.png" (in CentOS) failed: Permission denied (13) done IO error encountered - skipping file deletion ----------------
Thanks!
Andres Lippur