Re: [Spacewalk-list] Old spacewalk-channels in /var/cache/yum

2017-06-08 Thread Lichtinger, Bernhard
Hi,

> 
>> /var/cache/yum which are eating up space, even if they are removed from 
>> spacewalk.
>> 

Isn't /var/cache/yum only used by yum? That is the cache for the machine itself 
and is not used by spacewalk-server.
This cache can be cleaned up by "yum clean all". More details are in "man yum".

The packages of spacewalk-server are in /var/satellite (or whatever you have as 
mount_point in /etc/rhn/rhn.conf). 
spacewalk-data-fsck will remove unneeded packages at this location.
> There are two tools which can help you:
> spacewalk-remove-channel
> spaceewalk-data-fsck

Regards,
Bernhard

smime.p7s
Description: S/MIME cryptographic signature
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Old spacewalk-channels in /var/cache/yum

2017-06-08 Thread Michael Mraka
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

___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

[Spacewalk-list] Old spacewalk-channels in /var/cache/yum

2017-06-07 Thread 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

cheers
Matthias


METZLER 
Informationstechnologie

Matthias Gruber 
IT-Infrastruktur & -Betrieb

B. Metzler seel. Sohn & Co.
Kommanditgesellschaft auf Aktien
Untermainanlage 1
60329 Frankfurt am Main
Telefon (0 69) 21 04 - 43 30
Telefax (0 69) 21 04 - 40 40
mgru...@metzler.com
www.metzler.com
 

Persönlich haftende Gesellschafter: Harald Illy, Michael Klaus, Friedrich von 
Metzler, Emmerich Müller, Dr. Johannes J. Reich, Gerhard Wiesheu
Vorsitzender des Aufsichtsrates: Dr. Christoph Schücking
Sitz der Gesellschaft: Frankfurt am Main, Handelsregisternummer: HRB 27 515

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfänger 
sein, so bitten wir Sie höflich, dies unverzüglich dem Absender mitzuteilen und 
die Nachricht zu löschen. Es ist unzulässig, die Nachricht unbefugt 
weiterzuleiten oder zu kopieren. Da wir nicht die Echtheit oder Vollständigkeit 
der in dieser Nachricht enthaltenen Informationen garantieren oder zusichern 
können, sind die vorstehenden Ausführungen rechtlich nicht bindend. Eine 
Haftung hierfür wird ausgeschlossen.
This message is confidential. If you are not the intended recipient, we kindly 
ask you to inform the sender and delete the information. Any unauthorised 
dissemination or copying hereof is prohibited. As we cannot guarantee or assure 
the genuineness or completeness of the information contained in this message, 
the statements set forth above are not legally binding. Accordingly we cannot 
accept any liability for their contents.


PGP.sig
Description: PGP signature
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list