[Spacewalk-list] Old spacewalk-channels in /var/cache/yum
Michael Mraka
michael.mraka at redhat.com
Thu Jun 8 08:48:45 UTC 2017
Matthias Gruber:
> Hi!
>
> I just noticed, that I have several of my spacewalk-channels have left in
> /var/cache/yum which are eating up space, even if they are removed from
> spacewalk.
>
> We are generating monthly errata-channels to keep several states of
> patched systems, e.g . clone-centos-server-02_2017;
> clone-centos-server-03_2017 and so on.
> We are checking, that no system is subscribed to those channels we are
> deleting from spacewalk.
> If I look into /var/yum/cache/.... I still see those channels with several
> hundred MB/Mo
>
> Is there a way in SpaceWalk to remove them, well yes scheduled Command and
> a simple rm -rf ... but it seems not a correct way.
> I thought if I unsubscribe a system from a channel all orccurences are
> removed, even /var/cached stuff, but it doesnt seems like
>
> Any clues for me, or is that a expected behaviour, but in that case I have
> "hundreds" of Directories over the years
Hello Matthias,
There are two tools which can help you:
spacewalk-remove-channel
spaceewalk-data-fsck
Regards,
--
Michael Mráka
System Management Engineering, Red Hat
More information about the Spacewalk-list
mailing list