Filesystem full?

I’ve seen the other threads but I somehow fail to grasp why my (relatively new) install is running low? Am I missing something?

df result:


Filesystem     1K-blocks    Used Available Use% Mounted on
devtmpfs          997820       4    997816   1% /dev
tmpfs            1010460       0   1010460   0% /dev/shm
tmpfs            1010460     524   1009936   1% /run
/dev/md127p4     1998672 1769836    107596  95% /
/dev/md127p2       60400   36224     19592  65% /boot
/dev/md127p5    54926168  859448  51253568   2% /var
/var/lock           8192      12      8180   1% /var/lock

Any help is appreciated.

You have /var mounted in its own partition, this shows that your initial installation was before 2.21 when the partition scheme changed, meaning before 2018. The easier solution for you is to backup your settings, make a clean install of a recent version of IPFire and restore your backup. The kernel gets bigger with time and occasionally this change becomes necessary.

3 Likes

2018… man I could have sworn that was not as long ago… time really flies :S

Thank you, I’ll see what I can do. Much appreciated.

See this post how I used swap partition to increase /

Is there realy no other way to do a reinstall ? or the way of H&M - or i can try to expand the partion with gparted… - there is sadly no easy why i guess

I have the same issue:

[root@ipfire ~]# df
Filesystem     1K-blocks    Used Available Use% Mounted on
devtmpfs         1824900       4   1824896   1% /dev
tmpfs            1837636      12   1837624   1% /dev/shm
tmpfs            1837636     604   1837032   1% /run
/dev/sda3        1998672 1719300    158132  92% /
/dev/sda1          60400   36412     19404  66% /boot
/dev/sda4      119901284 1525520 112262032   2% /var
/var/lock           8192      12      8180   1% /var/lock
none             1837636     176   1837460   1% /var/log/vnstat
none             1837636   32892   1804744   2% /var/log/rrd

Reinstallation has the added benefit of removing remnants from some superceded practices, as well as using a partitioning scheme that is better suited for the long haul.

Reinstallation is relatively quick and simple:

  • copy latest backup to USB stick or PC
  • do minimal install, including DHCP server
  • restore backup

It should take only about 20 minutes and is essential if you are changing architectures.

3 Likes

Last time I did a complete reinstall and restored it via the backup was when spectre was a hot topic. The main reason then was the architecture, because the old ipfire build where i585 based and for proper spectre fixes I had to upgrade to x86.

Further it is much less error prone than a manipulation of existing partition schemes.

2 Likes

If the backup works…

Today I did my reinstall, sadly the backup killed the installation. Maybe it’s because I included logs ? I don’t know. After restoring the backup everything worked, did a reboot - system was unreachable and the web interface didn’t respond. Ipfire had a Ip address assigned so it should be reachable…….

The god part is I do not have 100+ clients and the config is quit streamlined, so 2 hours later the system is up and running again its old glory. Hopefully the partition problem is now resolved for the next 5 years……………….


[root@ipfire ~]# df
Filesystem     1K-blocks    Used Available Use% Mounted on
devtmpfs         1825092       4   1825088   1% /dev
tmpfs            1837632      12   1837620   1% /dev/shm
tmpfs            1837632     636   1836996   1% /run
/dev/sda4      121418472 2023172 113181412   2% /
/dev/sda1         112564   39328     64064  39% /boot
/dev/sda2          32678     270     32408   1% /boot/efi
/var/lock           8192      12      8180   1% /var/lock
1 Like