[Spacewalk-list] Reducing disk space used by mrepo/spacewalk

Steven Crothers steven.crothers at gmail.com
Thu Jun 21 01:14:50 UTC 2012


I attached a quick and painfully ugly script that I use to symlink
repo's together. Then you just run createrepo over the directory.

On Wed, Jun 20, 2012 at 3:00 AM, Michael Mraka <michael.mraka at redhat.com> wrote:
> Boyd, Robert wrote:
> % Thank you Jeremy,
> %
> % So - I'm guessing it's necessary to allow spacewalk-repo-sync to copy
> % the files first and then run hardlink afterward?  Or can I pre-link
> % the files to skip the copy step?   It would be nice if
> % spacewalk-repo-sync can detect which files aren't in the database yet
>
> Of course it does. So you can pre-fill /var/satellite with rpms, you just
> have to create expected directory structure (which is fairly easy).
>
> % and process them without having to copy them if they are already in
> % the destination directory.  I suppose that might be too much to ask -
> % but since I am new to it and haven't tried to read the code, I have no
> % idea how it does the magic.
> %
> % In the meantime I'm installing hardlink :)
> %
> % Thank you!
> % Robert
>
>
> --
> Michael Mráka
> Satellite Engineering, Red Hat
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list



-- 
Steven Crothers
steven.crothers at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yum_repo_maker.py
Type: application/octet-stream
Size: 1834 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120620/ab7d0ed4/attachment.obj>


More information about the Spacewalk-list mailing list