rsync mirroring issue.

4 views
Skip to first unread message

Prentice Bisbal

unread,
Jul 20, 2022, 7:53:54 PM7/20/22
to springda...@googlegroups.com
I'm trying to rsync the SDL 9 repos from mirror.math.princeton.edu to a server in my virtual lab at home for testing.  It seems that when I rsync 9, I'm missing out on some key directories, specifically, these two:

9/x86_64/os/Updates_AppStream/
9/x86_64/os/Updates_BaseOS/

I am rsyncing updates/9/, too, but the problem is that something (repo metadata, I presume) is telling the installer to look at those two paths above, and not in updates/9/. See the attached pic. Sorry for the screen capture,but I can't cut-and-paste text from my VBox guest to my host at this stage.

Here's my rsync commands. I don't think I'm doing anything wrong:
#!/bin/bash

PATH=/usr/bin:/bin:/usr/sbin:/sbin

# Mirror Springdale 9
src="rsync://springdale.princeton.edu/PUIAS.WORLD/9.0/"
dst="/var/www/repos/springdale/9.0"

rsync -avHz --no-o --no-g --delete --delete-excluded \
        --exclude=source \
        --exclude=debug \
        --exclude=iso \
        $src $dst

src="rsync://springdale.princeton.edu/PUIAS.WORLD/updates/9.0/"
dst="/var/www/repos/springdale/updates/9.0"
rsync -avHz --no-o --no-g --delete --delete-excluded \
        --exclude=SRPMS \
        --exclude=debug \
        $src $dst

Any idea what is wrong here? I can figure I can remedy with links, but those will be destroyed the next time I rsync, so an upstream fix is preferred.

Prentice
Screenshot 2022-07-20 194146.png

Prentice Bisbal

unread,
Jul 20, 2022, 8:00:35 PM7/20/22
to springda...@googlegroups.com
Update: I found the problem and it is an upstream problem. It turns out I *do* have those directories (I didn't see them before, and I looked - I swear!), bu they're pointing to the wrong place, they're pointing to 8.6's directories, which is wrong, and doesn't exist on my system:

root@master os]# pwd
/var/www/repos/springdale/9.0/x86_64/os
[root@master os]# ls -l
total 4
drwxr-xr-x. 4 root root   82 Jul 18 18:33 AppStream
drwxr-xr-x. 4 root root   82 Jul 18 18:33 BaseOS
drwxr-xr-x. 3 root root   18 May 25 23:54 EFI
drwxr-xr-x. 2 root root    6 May 25 23:53 extra
drwxr-xr-x. 3 root root   75 May 26 11:16 images
drwxr-xr-x. 2 root root 4096 May 26 11:16 isolinux
lrwxrwxrwx. 1 root root   37 May 25 23:53 Updates_AppStream -> ../../../updates/8.6/AppStream/x86_64
lrwxrwxrwx. 1 root root   34 May 25 23:53 Updates_BaseOS -> ../../../updates/8.6/BaseOS/x86_64
--
Prentice Bisbal
Senior HPC Engineer
Computational Sciences Department
Princeton Plasma Physics Laboratory
https://cs.pppl.gov
https://www.pppl.gov

JP

unread,
Jul 25, 2022, 9:07:20 AM7/25/22
to springdale-users
Hello,

fixed, thanks for pointing it out!

JP

--
You received this message because you are subscribed to the Google Groups "springdale-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to springdale-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/springdale-users/CAGMAZLEs8MSk8AxBWfB4_sRjy7LDOzfi_uLELyq9fo1GpJ%2BvFQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages