Mirror diskspace is a premium so we regularly prune older releases to archives. However for the move to IAD2, we delayed pruning old releases. With the F33 beta coming out the following needs to be done (with appropriate changes)
sudo -i su -s /bin/bash ftpsync cd /srv/web/pub/fedora/linux/releases/ rsync -avSAXHP ./30/ ../../../../archive/fedora/linux/releases/30/ cd ../updates/ rsync -avSAXHP ./30/ ../../../../archive/fedora/linux/updates/30/ cd testing rsync -avSAXHP ./30/ ../../../../archive/fedora/linux/updates/testing/30/ # now we run the updates script so fullfiletimelist-archive is correct. cd /srv/web/pub/fedora/linux/releases/30 rm -rvf ./* ln ../29/README . cd /srv/web/pub/fedora/linux/updates/30 rm -rvf ./* ln ../29/README . cd ../testing/30 rm -rvf ./* ln ../29/README . # finally we need to remove 32_Beta cd /srv/web/pub/fedora/linux/releases/test rm -rvf ./32_Beta
Probably before we stage 33_beta
Metadata Update from @mohanboddu: - Issue priority set to: Waiting on Assignee (was: Needs Review) - Issue tagged with: medium-gain, medium-trouble, ops
Metadata Update from @smooge: - Issue assigned to smooge
The syncing took longer than expected and I am currently running the update fullfiletime for mirrors. Once that is done we will move mirror-manager to point to archive for 30
@adrian From irc: [14:07:20] <smooge> adrianr, sorry for the long delay but you can run the moving of 30 to archives in the morning
So, once it's moved in mm, we can close this.
I wanted to give mirrors some time to get the files. My mirror was not yet ready, so I thought to wait a bit longer.
Repositories are now moved in MM and I will close the ticket once I have verified that the mirrorlist servers are pointing to the archive.
For completeness I am mentioning the necessary commands to move the repositories in MM:
mm2_move-to-archive --originalCategory="Fedora Linux" --archiveCategory="Fedora Archive" --directoryRe='/30/'
For 'Fedora Secondary Arches' the script to do the move, unfortunately, needs to be changed:
- archivetopdir = os.path.join(a.topdir.name, 'fedora', 'linux') + archivetopdir = os.path.join(a.topdir.name, 'fedora-secondary')
and then
mm2_move-to-archive --originalCategory="Fedora Secondary Arches" --archiveCategory="Fedora Archive" --directoryRe='/30/
Everything looks correct. F30 can be removed from non-archive locations.
Metadata Update from @adrian: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
I usually close the ticket when it gets removed from the non-archive region.. otherwise I forget and it sits there for months until someone reminds me. I am going to reopen til I finish this next week.
Metadata Update from @smooge: - Issue status updated to: Open (was: Closed)
This work has been completed.
Metadata Update from @smooge: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.