So I’ve run out of space on /dev/sda3. From the above disk usage I think I need to clean everywhere but not /boot and not /var. Does that sound right?
I’ve been using IPFire on the same device since the core 110s (110 to 119). Did this partition increase over the years? And it is time to start with a fresh build?
My error - /lib/modules is where there need be only the latest folder, having a name starting with “4”
The kernel update procedure should remove older folders, but if it has not done so, then it should be safe to do so manually. However, with only 46 M in /lib/modules this does not appear to be your problem
The / partition is normally about 75 % full.
Your /lib looks normal in size. If your /usr/lib is about 500 M then that too is normal.
Try running “du” against each other folder in /, in turn. All should be only a few M each.
IPFire installations on ARM don’t use a separate /var. The / partition occupies most of the device, which could readily be up to 32 GB (u)SD card. Mine is actually 7.3 G on nano Pi - R1, of which 1.5 G is used - that includes 135 M of /var, without which / would have about 1.35 G used.
It transpires that I installed my x86_64 from a dot.IMG rather than dot.ISO, so it also puts /var on the same / partition. FWIW, that still uses only 1600 M, and /var contributes only 139 M to that - so not too different from ARM.
/lib is still only 557 M. That is likely where your problem lies.
I can’t readily copy & paste the output because the machine runs on a different LAN
The only significant addons I have are CUPS and Samba, but those are only there as fallbacks and not used. In any case, their data tends to go into /var.
Your most reliable option now could be to download your backup files to another PC then reinstall.
If you reinstall the addons hat you deleted then you might still be approaching the 2 G size of /.
My reading of the installer code for core 139 is that it no longer creates a separate /var. Almost all disk space is allocated to / and that would avoid the problem that you are facing.
Yeah, I see that. At some point, we probably cannot avoid this, but we have taken on the problem right now and I have written that script together with Arne last week. There are some other things we can do to keep your box going for some time and it might be best to re-install at some point when you change hardware or so.