Hi all, Got Jonathan's announcement tabout 9.4 syncing soon (yay), however, when I checked Cloud Propeller's mirror status on the website - it shows as expired. This is odd since we are syncing, or so I believe. *[Cursory check]* - https://rsync.repo.almalinux.org/almalinux/TIME and - https://mirror.cloudpropeller.com/almalinux/TIME *... MATCH* *[Bash/Dash script]* *root@mirror:/home/mirror# cat sync-alma.sh* #/bin/dash
# Define where you want the mirror-data to be on your mirror
*RSYNCSOURCE=rsync://rsync.repo.almalinux.org/almalinux/ http://rsync.repo.almalinux.org/almalinux/* BASEDIR=/var/www/html/almalinux/
# Ensure target dir exists
if [ ! -d ${BASEDIR} ]; then
warn "${BASEDIR} does not exist yet, trying to create it..." mkdir -p ${BASEDIR} || fatal "Creation of ${BASEDIR} failed." fi
# Do some internal timestamping for CP purposes
rm ${BASEDIR}_cp_last_sync.txt
date -u > ${BASEDIR}_rsync_in_progress.txt date >> ${BASEDIR}_rsync_in_progress.txt
# Sync
/usr/bin/flock -n /tmp/almalinux_rsync.lock -c "/usr/bin/rsync -avSH
--no-owner -f 'R .~tmp~' --progress --stats --delete-delay --delay-updates --delete-excluded ${*RSYNCSOURCE*} ${BASEDIR}"
# Update internal timestamping for CP purposes
date -u > ${BASEDIR}_cp_last_sync.txt
date >> ${BASEDIR}_cp_last_sync.txt cp ${BASEDIR}_cp_last_sync.txt /var/www/html/almalinux-isos/_cp_last_sync.txt
*[Script run]* *mirror@mirror:~$ ./sync-alma.sh* receiving file list ...
193970 files to consider ./ 8.9/isos/x86_64/ deleting _rsync_in_progress.txt deleting 8.9/isos/x86_64/_cp_last_sync.txt
Number of files: 193,970 (reg: 193,086, dir: 812, link: 72)
Number of created files: 0 Number of deleted files: 2 (reg: 2) Number of regular files transferred: 0 Total file size: 740,447,001,014 bytes Total transferred file size: 0 bytes Literal data: 0 bytes Matched data: 0 bytes File list size: 10,541,632 File list generation time: 0.552 seconds File list transfer time: 0.000 seconds Total bytes sent: 52 Total bytes received: 10,541,661
sent 52 bytes received 10,541,661 bytes 1,109,654.00 bytes/sec total size is 740,447,001,014 speedup is 70,239.72
*[Dir check]* *root@mirror:/var/www/html/almalinux# du -sh*
*612G *.
*root@mirror:/var/www/html/almalinux# ls -lhat* total 152K
-rw-rw-r-- 1 mirror mirror 64 May 3 12:53 _cp_last_sync.txt drwxrwxr-x 13 mirror mirror 4.0K May 3 12:53 .
*-rw-r--r-- 1 mirror mirror 11 May 2 12:51 TIME*-rw-r--r-- 1 mirror mirror 32 May 2 12:51 timestamp.txt drwxrwxr-x 2 mirror mirror 4.0K Apr 12 07:37 8.8 drwxrwxr-x 2 mirror mirror 4.0K Apr 12 07:37 9.2 drwxr-xr-x 22 mirror mirror 4.0K Mar 6 07:57 .. drwxr-xr-x 20 mirror mirror 4.0K Dec 21 05:43 9.3 drwxr-xr-x 20 mirror mirror 4.0K Dec 21 04:58 8.9 lrwxrwxrwx 1 mirror mirror 70 Nov 21 11:24 almalinux-release-latest-8.ppc64le.rpm -> 8.9/BaseOS/ppc64le/os/Packages/almalinux-release-8.9-1.el8.ppc64le.rpm lrwxrwxrwx 1 mirror mirror 66 Nov 21 11:24 almalinux-release-latest-8.s390x.rpm -> 8.9/BaseOS/s390x/os/Packages/almalinux-release-8.9-1.el8.s390x.rpm lrwxrwxrwx 1 mirror mirror 70 Nov 21 11:24 almalinux-release-latest-8.aarch64.rpm -> 8.9/BaseOS/aarch64/os/Packages/almalinux-release-8.9-1.el8.aarch64.rpm lrwxrwxrwx 1 mirror mirror 68 Nov 21 11:24 almalinux-release-latest-8.x86_64.rpm -> 8.9/BaseOS/x86_64/os/Packages/almalinux-release-8.9-1.el8.x86_64.rpm lrwxrwxrwx 1 mirror mirror 3 Nov 21 11:24 8 -> 8.9 lrwxrwxrwx 1 mirror mirror 68 Nov 13 10:39 almalinux-repos-latest-9.ppc64le.rpm -> 9.3/BaseOS/ppc64le/os/Packages/almalinux-repos-9.3-1.el9.ppc64le.rpm lrwxrwxrwx 1 mirror mirror 71 Nov 13 10:39 almalinux-gpg-keys-latest-9.ppc64le.rpm -> 9.3/BaseOS/ppc64le/os/Packages/almalinux-gpg-keys-9.3-1.el9.ppc64le.rpm lrwxrwxrwx 1 mirror mirror 70 Nov 13 10:39 almalinux-release-latest-9.ppc64le.rpm -> 9.3/BaseOS/ppc64le/os/Packages/almalinux-release-9.3-1.el9.ppc64le.rpm lrwxrwxrwx 1 mirror mirror 64 Nov 13 10:39 almalinux-repos-latest-9.s390x.rpm -> 9.3/BaseOS/s390x/os/Packages/almalinux-repos-9.3-1.el9.s390x.rpm lrwxrwxrwx 1 mirror mirror 67 Nov 13 10:39 almalinux-gpg-keys-latest-9.s390x.rpm -> 9.3/BaseOS/s390x/os/Packages/almalinux-gpg-keys-9.3-1.el9.s390x.rpm lrwxrwxrwx 1 mirror mirror 66 Nov 13 10:39 almalinux-release-latest-9.s390x.rpm -> 9.3/BaseOS/s390x/os/Packages/almalinux-release-9.3-1.el9.s390x.rpm lrwxrwxrwx 1 mirror mirror 68 Nov 13 10:39 almalinux-repos-latest-9.aarch64.rpm -> 9.3/BaseOS/aarch64/os/Packages/almalinux-repos-9.3-1.el9.aarch64.rpm lrwxrwxrwx 1 mirror mirror 71 Nov 13 10:39 almalinux-gpg-keys-latest-9.aarch64.rpm -> 9.3/BaseOS/aarch64/os/Packages/almalinux-gpg-keys-9.3-1.el9.aarch64.rpm lrwxrwxrwx 1 mirror mirror 70 Nov 13 10:39 almalinux-release-latest-9.aarch64.rpm -> 9.3/BaseOS/aarch64/os/Packages/almalinux-release-9.3-1.el9.aarch64.rpm lrwxrwxrwx 1 mirror mirror 66 Nov 13 10:39 almalinux-repos-latest-9.x86_64.rpm -> 9.3/BaseOS/x86_64/os/Packages/almalinux-repos-9.3-1.el9.x86_64.rpm lrwxrwxrwx 1 mirror mirror 69 Nov 13 10:39 almalinux-gpg-keys-latest-9.x86_64.rpm -> 9.3/BaseOS/x86_64/os/Packages/almalinux-gpg-keys-9.3-1.el9.x86_64.rpm lrwxrwxrwx 1 mirror mirror 68 Nov 13 10:39 almalinux-release-latest-9.x86_64.rpm -> 9.3/BaseOS/x86_64/os/Packages/almalinux-release-9.3-1.el9.x86_64.rpm lrwxrwxrwx 1 mirror mirror 3 Nov 13 10:11 9 -> 9.3 -rw-rw-r-- 1 mirror mirror 5.1K Oct 16 2023 RPM-GPG-KEY-AlmaLinux -rw-rw-r-- 1 mirror mirror 3.5K Oct 12 2023 RPM-GPG-KEY-AlmaLinux-legacy lrwxrwxrwx 1 mirror mirror 72 Aug 24 2023 almalinux-release-synergy-latest-9.noarch.rpm -> 9/extras/x86_64/os/Packages/almalinux-release-synergy-9-2.el9.noarch.rpm lrwxrwxrwx 1 mirror mirror 72 Aug 24 2023 almalinux-release-synergy-latest-8.noarch.rpm -> 8/extras/x86_64/os/Packages/almalinux-release-synergy-8-2.el8.noarch.rpm drwxrwxr-x 2 mirror mirror 4.0K Aug 3 2023 8.7 drwxrwxr-x 2 mirror mirror 4.0K Aug 3 2023 9.0 drwxrwxr-x 2 mirror mirror 4.0K Aug 3 2023 9.1 drwxrwxr-x 2 mirror mirror 4.0K Aug 3 2023 8.3 drwxrwxr-x 2 mirror mirror 4.0K Aug 3 2023 8.4 drwxrwxr-x 2 mirror mirror 4.0K Aug 3 2023 8.5 drwxrwxr-x 2 mirror mirror 4.0K Aug 3 2023 8.6 lrwxrwxrwx 1 mirror mirror 21 May 16 2022 RPM-GPG-KEY-AlmaLinux-8 -> RPM-GPG-KEY-AlmaLinux -rw-rw-r-- 1 mirror mirror 3.1K Apr 19 2022 RPM-GPG-KEY-AlmaLinux-9
This should just work, as it has in the past. *Can anyone spot an issue here?* Thanks in advance. *Petar Smilajkov* CEO & Chief Architect Cloud Propeller, Inc. +1 (614) 639-1122 // cell +1 (614) 467-3596 // e-fax +1 (614) 505-9555 // support ☁ cloudpropeller.com // web