<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">What I do is create clone channels and turn off automatic synching.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">When I’m ready to update I perform a manual sync, then run the aforementioned script and cleanup to remove all the older packages.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">Then I sync the clone with the parent channel and select to sync only new packages.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">That seems to keep my space down to a reasonable level.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">Paul<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> spacewalk-list-bounces@redhat.com <spacewalk-list-bounces@redhat.com>
<b>On Behalf Of </b>T<br>
<b>Sent:</b> Wednesday, February 2, 2022 11:42 AM<br>
<b>To:</b> spacewalk-list@redhat.com<br>
<b>Subject:</b> Re: [Spacewalk-list] [EXTERNAL] /var/satellite full (1.2TB). What happens if I remove some of the contents?<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Hi,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Following up on this. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Spacewalk-data-fsck only cleared a few packages so the drive is still just about 100% full. I believe I have to start managing channels somehow...via spacecmd or GUI but I cannot get to them.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">All of the services are listed as running when I run /usr/sbin/spacewalk-service status but when I try to use spacecmd it gives ERROR: Failed to connect to
<a href="https://../rpc/api">https://../rpc/api</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">The hostname is listed in /etc/hosts for localhost and I can ping the address. Other than that I'm not sure where to look to get the api connected. Would you guys have any ideas?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks again!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Tony<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Mon, Jan 31, 2022 at 5:05 PM T <<a href="mailto:tony.m.ly7@gmail.com">tony.m.ly7@gmail.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal">Thanks for the help everyone! I was able to get the database up by just removing some directories from /var/satellite/redhat/ and systemctl start postgresql. The system is currently doing the spacewalk-data-fsck processes.. which will take
 a while. What else are you guys doing for system maintenance? I figure I should run the data-fsck command every week.<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Mon, Jan 31, 2022 at 2:46 PM Muhammad Mosleh Uddin <<a href="mailto:mmuddin@gmail.com" target="_blank">mmuddin@gmail.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal">if it is taking way much space, you can clean and sync repo again.<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">/var/satellite/redhat/*   ->>>this is where you will start deleting<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I hope it will help!<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Mon, Jan 31, 2022 at 2:43 PM Waldirio Manhães Pinheiro <<a href="mailto:waldirio@gmail.com" target="_blank">waldirio@gmail.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">Hi,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I can tell you this script is going to use the SW API. Once your system/db is down, API will be down as well. Try to cleanup some files first (ISO) or any other log that will allow you to start your SW once again, after that, go for it.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I hope this helps.<o:p></o:p></p>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal">______________<br>
Best<br>
Waldirio<br>
Skype: waldirio<br>
Site: <a href="http://www.waldirio.com.br" target="_blank">www.waldirio.com.br</a><o:p></o:p></p>
</div>
<p class="MsoNormal">LinkedIn: <a href="https://www.linkedin.com/in/waldirio" target="_blank">
https://www.linkedin.com/in/waldirio</a><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Mon, Jan 31, 2022 at 11:33 AM T <<a href="mailto:tony.m.ly7@gmail.com" target="_blank">tony.m.ly7@gmail.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal">Thank you all - I needed to first clear some space to even wget the script. Muhammad, would you please expand on your point? Did you mean resync from repo? Do you know what command that is?<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Mon, Jan 31, 2022 at 2:10 PM Dennis Pittman <<a href="mailto:djpittma@outlook.com" target="_blank">djpittma@outlook.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal" style="margin-bottom:12.0pt">Check out this article.<br>
<a href="https://easyitstuff.wordpress.com/2017/09/19/how-to-remove-old-packages-in-spacewalk/#:~:text=Make%20the.py%20script%20executable%20chmod%20%2Bx%20spacewalk-remove-old-packages.py%20Now%2C,packages%20in%20addition%20to%20your%20Spacewalk%20admin%20details" target="_blank">https://easyitstuff.wordpress.com/2017/09/19/how-to-remove-old-packages-in-spacewalk/#:~:text=Make%20the.py%20script%20executable%20chmod%20%2Bx%20spacewalk-remove-old-packages.py%20Now%2C,packages%20in%20addition%20to%20your%20Spacewalk%20admin%20details</a>.<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.com</a> <<a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.com</a>> On Behalf Of Peirce, Dean<br>
Sent: Monday, January 31, 2022 2:07 PM<br>
To: <a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a><br>
Subject: Re: [Spacewalk-list] [EXTERNAL] /var/satellite full (1.2TB). What happens if I remove some of the contents?<br>
<br>
/var/satellite will continue to grow as the repos grow in size, due to packages being updated.<br>
I have a separate disk just for satellite that we've bolted on more storage yearly.<br>
<br>
-Dean<br>
<br>
> On Jan 31, 2022, at 2:02 PM, T <<a href="mailto:tony.m.ly7@gmail.com" target="_blank">tony.m.ly7@gmail.com</a>> wrote:<br>
> <br>
> Hi,<br>
> Don't know if there's anyone here still using Spacewalk. We inherited a legacy system so much of the experience and know-how are gone.<br>
> <br>
> Issue:<br>
> Our machine running spacewalk is 100% full. I tracked it down to /var/satellite being completely full. Our option is to clear some space or create more space since postgres is no longer running due to no space.<br>
> <br>
> Other research suggested spacewalk-data-fsck or spacecmd but neither of these work because the database isn't running.<br>
> I am out of ideas so my hail mary is going into /var/satellite/redhat/ and removing random stuff from there. Terrible idea - I know but I'm wondering if others have had this problem, and how did you remedy it?<br>
> <br>
> Thank you,<br>
> Tony<br>
> _______________________________________________<br>
> Spacewalk-list mailing list<br>
> <a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
> <a href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Flistman.redhat.com%2Fmailman%2Flistinfo%2Fspacewalk-list__%3B!!MXVguWEtGgZw!fUjmn72oK3ZYGqutTnAUPB0ib5pkb2aIQCmsV_w7DItGe_SBHn1N8dZZdU9aDOkLHw%24&amp;data=04%7C01%7C%7C4d63e01f9b504149044208d9e4ecf655%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637792528675988152%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=RwwRAtH9Grextq6ZH%2F03SHzURFP4fFU1p2Ad6M2OdVQ%3D&amp;reserved=0" target="_blank">
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Flistman.redhat.com%2Fmailman%2Flistinfo%2Fspacewalk-list__%3B!!MXVguWEtGgZw!fUjmn72oK3ZYGqutTnAUPB0ib5pkb2aIQCmsV_w7DItGe_SBHn1N8dZZdU9aDOkLHw%24&amp;data=04%7C01%7C%7C4d63e01f9b504149044208d9e4ecf655%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637792528675988152%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=RwwRAtH9Grextq6ZH%2F03SHzURFP4fFU1p2Ad6M2OdVQ%3D&amp;reserved=0</a><br>
<br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistman.redhat.com%2Fmailman%2Flistinfo%2Fspacewalk-list&amp;data=04%7C01%7C%7C4d63e01f9b504149044208d9e4ecf655%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637792528675988152%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=zBXZeRz5kv45rWCZR88kWYJMtzJldBGJ6ySKmRlI21I%3D&amp;reserved=0" target="_blank">https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistman.redhat.com%2Fmailman%2Flistinfo%2Fspacewalk-list&amp;data=04%7C01%7C%7C4d63e01f9b504149044208d9e4ecf655%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637792528675988152%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=zBXZeRz5kv45rWCZR88kWYJMtzJldBGJ6ySKmRlI21I%3D&amp;reserved=0</a><br>
<br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://listman.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://listman.redhat.com/mailman/listinfo/spacewalk-list</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal">_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://listman.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://listman.redhat.com/mailman/listinfo/spacewalk-list</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal">_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://listman.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://listman.redhat.com/mailman/listinfo/spacewalk-list</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal"><br>
<br>
<br>
<br>
Muhammad Mosleh Uddin<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
<br>
<br>
<br>
<o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://listman.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://listman.redhat.com/mailman/listinfo/spacewalk-list</a><o:p></o:p></p>
</blockquote>
</div>
</blockquote>
</div>
</div>
</body>
</html>