[Spacewalk-list] [EXTERNAL] /var/satellite full (1.2TB). What happens if I remove some of the contents?

T tony.m.ly7 at gmail.com
Mon Jan 31 22:05:33 UTC 2022


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.

On Mon, Jan 31, 2022 at 2:46 PM Muhammad Mosleh Uddin <mmuddin at gmail.com>
wrote:

> if it is taking way much space, you can clean and sync repo again.
>
> /var/satellite/redhat/*   ->>>this is where you will start deleting
> I hope it will help!
>
> On Mon, Jan 31, 2022 at 2:43 PM Waldirio Manhães Pinheiro <
> waldirio at gmail.com> wrote:
>
>> Hi,
>>
>> 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.
>>
>> I hope this helps.
>>
>> ______________
>> Best
>> Waldirio
>> Skype: waldirio
>> Site: www.waldirio.com.br
>> LinkedIn: https://www.linkedin.com/in/waldirio
>>
>>
>> On Mon, Jan 31, 2022 at 11:33 AM T <tony.m.ly7 at gmail.com> wrote:
>>
>>> 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?
>>>
>>> On Mon, Jan 31, 2022 at 2:10 PM Dennis Pittman <djpittma at outlook.com>
>>> wrote:
>>>
>>>> Check out this article.
>>>>
>>>> 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
>>>> .
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: spacewalk-list-bounces at redhat.com <
>>>> spacewalk-list-bounces at redhat.com> On Behalf Of Peirce, Dean
>>>> Sent: Monday, January 31, 2022 2:07 PM
>>>> To: spacewalk-list at redhat.com
>>>> Subject: Re: [Spacewalk-list] [EXTERNAL] /var/satellite full (1.2TB).
>>>> What happens if I remove some of the contents?
>>>>
>>>> /var/satellite will continue to grow as the repos grow in size, due to
>>>> packages being updated.
>>>> I have a separate disk just for satellite that we've bolted on more
>>>> storage yearly.
>>>>
>>>> -Dean
>>>>
>>>> > On Jan 31, 2022, at 2:02 PM, T <tony.m.ly7 at gmail.com> wrote:
>>>> >
>>>> > Hi,
>>>> > 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.
>>>> >
>>>> > Issue:
>>>> > 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.
>>>> >
>>>> > Other research suggested spacewalk-data-fsck or spacecmd but neither
>>>> of these work because the database isn't running.
>>>> > 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?
>>>> >
>>>> > Thank you,
>>>> > Tony
>>>> > _______________________________________________
>>>> > Spacewalk-list mailing list
>>>> > Spacewalk-list at redhat.com
>>>> >
>>>> 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&data=04%7C01%7C%7C4d63e01f9b504149044208d9e4ecf655%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637792528675988152%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=RwwRAtH9Grextq6ZH%2F03SHzURFP4fFU1p2Ad6M2OdVQ%3D&reserved=0
>>>>
>>>>
>>>> _______________________________________________
>>>> Spacewalk-list mailing list
>>>> Spacewalk-list at redhat.com
>>>>
>>>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flistman.redhat.com%2Fmailman%2Flistinfo%2Fspacewalk-list&data=04%7C01%7C%7C4d63e01f9b504149044208d9e4ecf655%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637792528675988152%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=zBXZeRz5kv45rWCZR88kWYJMtzJldBGJ6ySKmRlI21I%3D&reserved=0
>>>>
>>>>
>>>> _______________________________________________
>>>> Spacewalk-list mailing list
>>>> Spacewalk-list at redhat.com
>>>> https://listman.redhat.com/mailman/listinfo/spacewalk-list
>>>>
>>>> _______________________________________________
>>> Spacewalk-list mailing list
>>> Spacewalk-list at redhat.com
>>> https://listman.redhat.com/mailman/listinfo/spacewalk-list
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://listman.redhat.com/mailman/listinfo/spacewalk-list
>
>
>
> --
>
>
>
>
> Muhammad Mosleh Uddin
>
>
>
>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://listman.redhat.com/mailman/listinfo/spacewalk-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20220131/d137dbcf/attachment.htm>


More information about the Spacewalk-list mailing list