[Pulp-list] Space needed by yum repo ISO exports

Rohan McGovern rmcgover at redhat.com
Tue May 2 01:00:03 UTC 2017


Rohan McGovern <rmcgover at redhat.com> writes:

> We use the export distributor in pulp_rpm[1] to export yum repositories
> as ISOs.
>
> Sometimes, if many of these exports happen concurrently on the same
> host, we find that the filesystem containing /var/lib/pulp/working runs
> out of space.
>
> Is anyone able to provide some estimate on the amount of space required
> for these export tasks?  For example, is it expected to be the sum of
> the size of all RPMs in the exported repos, multipled by some constant
> factor?
>
> [1] https://docs.pulpproject.org/plugins/pulp_rpm/tech-reference/export-distributor.html
>

It seems to need approximately three times the amount of space of the
data being exported:

- it will export the repo to a directory (copy 1)
- copy it to another directory with different layout (copy 2)
- include all the exported data into an ISO via mkisofs (copy 3)
- it doesn't clean up the copies as it goes

Let me know if this sounds wrong.

-- 
Rohan




More information about the Pulp-list mailing list