How do I find out the size of the repositories?

Hey,

for an internal project, i need to find out hiow large the repos are without download them all. Is there a way to do this ?

I’m not sure why the SUMA/SMLM docs don’t have an indication as to the amount of disk space required but the Uyuni (on which SUMA/SMLM is based) docs at https://www.uyuni-project.org/uyuni-docs/en/uyuni/installation-and-upgrade/uyuni-install-requirements.html#_server_requirements suggest the following:

/ (root directory)

Minimum 40 GB

/var/lib/pgsql

Minimum 50 GB

/var/spacewalk

Minimum storage required: 100 GB (this will be verified by the implemented check)

  • 50 GB for each SUSE product and Package Hub

  • 360 GB for each Red Hat product

/var/cache

Minimum 10 GB. Add 100 MB per SUSE product, 1 GB per Red Hat or other product. Double the space if the server is an Inter-Server Synchronization Master.

Swap space

3 GB

I also tried to get the size of already installed products/channels.
Unfortunately, the mlm saves all packages in randomly (or at least not named after the channel) named directories. I believe this is done to save disk space by only saving packages once if they are included in multiple channels. But this makes it hard to know the size of individual channels.

I actually tested some channel sizes by downloading them and noting the total disk space used.
For example Ubuntu 24 takes up roughly 127GB and Ubuntu 22 197GB.

The documentation is unspecific because it only mentions SUSE and Red Hat products but nothing else. If you want to know how much disk space is required for x channels of multiple distributions to know how much space you need for the server and the proxies, you currently need to test it out yourself.

To have an up to date list of channel sizes would be an improvement.