MX 23.6: Root Partition full: how to reover space?  [Solved]

Message
Author
User avatar
b3ta
Posts: 88
Joined: Mon Aug 20, 2018 4:34 am

Re: MX 23.6: Root Partition full: how to reover space?

#21 Post by b3ta »

CharlesV's recipe for getting rid of that swap file is a good idea, including the backup!

20G for /var seems like a lot to me. I just looked at three machines (our media server (MX), a Proxmox server in my study, and a Raspberry Pi in my office at work), and the biggest /var was 3.8G.

Using the DU script should help. Just cd to /var and run it there, then do the same in the top five or so directory trees

I find it easiest to have two terminal windows open: one on the left with DU's output and the one to its right (overlapping but so that I can still see the output in the other) which I use to investigate the top few directory trees. Those investigations are usually much faster than the initial DU run because the kernel caches quite a bit, making for less actual disc access.

One word of warning when copying & pasting scripts, especially ones you run as root: read the man pages of the commands they run, so that you understand what's going on. I once renamed a production machine to "-f" because I forgot that in its variant of UNIX, running "hostname -f" did not return the fully qualified domain name.

LateJunction
Posts: 90
Joined: Fri Sep 16, 2022 4:54 am

Re: MX 23.6: Root Partition full: how to reover space?

#22 Post by LateJunction »

CharlesV wrote: Sun Aug 03, 2025 12:16 pm One more thing... if you do this, please double check afterwards to verify you have the swap partition in use again. (ie make sure swap is on again! )
System operating correctly now (for a given value of 'correctly' within my skill level...).

Your support was the key factor. Thank you.

User avatar
CharlesV
Administrator
Posts: 7888
Joined: Sun Jul 07, 2019 5:11 pm

Re: MX 23.6: Root Partition full: how to reover space?

#23 Post by CharlesV »

LateJunction wrote: Mon Aug 04, 2025 1:49 pm
CharlesV wrote: Sun Aug 03, 2025 12:16 pm One more thing... if you do this, please double check afterwards to verify you have the swap partition in use again. (ie make sure swap is on again! )
System operating correctly now (for a given value of 'correctly' within my skill level...).

Your support was the key factor. Thank you.
Excellent! your very welcome and glad it is resolved.

Please mark as solved using the check mark on the top right of the post that resolved it.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

Post Reply

Return to “Hardware /Configuration”