[SOLVED] write failed, filesystem is full

Started by maxbw, October 24, 2018, 10:54:52 PM

Previous topic - Next topic
October 24, 2018, 10:54:52 PM Last Edit: October 29, 2018, 08:21:30 AM by franco
After I've updated to 18.1
I have the following problem
/dev/ufs/OPNsense0   1864602 1849048 -133614   108%    /
write failed, filesystem is full is stated several times, when opnsense tries to load the config.
How can I increase filesystem file without destroying the backup.
I have no backup on my clients and no online backup :-[
Can anyone please guide me?
Thanks in advance and regards
Max

there are multiple possible issues:

* your logs filled the disk space -> remove them manually via SSH ("rm" some files in /var/log), maybe switch to an external log server.
* your disk is too small -> export config and reinstall
* it is because of too many installed plugins -> uninstall the unused ones
* it is a bug writing too many data -> report a ticket

Dear Fabian,
thanks, the disk is full can I delete one of these packages?

1       ./var/cache/opnsense-update/.sets.pending/packages-18.7/Latest
213004  ./var/cache/opnsense-update/.sets.pending/packages-18.7/All
213193  ./var/cache/opnsense-update/.sets.pending/packages-18.7
213194  ./var/cache/opnsense-update/.sets.pending
448019  ./var/cache/opnsense-update/23519
661213  ./var/cache/opnsense-update

These files are leftovers from the failed update. You can safely delete them, this should take care of it:

# opnsense-update -es

But you'll need to find more things to delete in order to be able to perform an update.

What kind of image is this? When was it first installed?


Cheers,
Franco

Dear Franco,
# opnsense-update -es
helped, could get to the GUI again and set up a new system with a decent disk space after I've downloaded the backup.
THANKS!
Max