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.
MX 23.6: Root Partition full: how to reover space? [Solved]
-
- Posts: 90
- Joined: Fri Sep 16, 2022 4:54 am
Re: MX 23.6: Root Partition full: how to reover space?
System operating correctly now (for a given value of 'correctly' within my skill level...).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! )
Your support was the key factor. Thank you.
Re: MX 23.6: Root Partition full: how to reover space?
Excellent! your very welcome and glad it is resolved.LateJunction wrote: Mon Aug 04, 2025 1:49 pmSystem operating correctly now (for a given value of 'correctly' within my skill level...).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! )
Your support was the key factor. Thank you.
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!
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!