OPNsense Forum

Archive => 18.1 Legacy Series => Topic started by: maxbw on October 24, 2018, 10:54:52 PM

Title: [SOLVED] write failed, filesystem is full
Post by: maxbw on October 24, 2018, 10:54:52 PM
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
Title: Re: write failed, filesystem is full
Post by: fabian on October 24, 2018, 11:28:21 PM
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
Title: Re: write failed, filesystem is full
Post by: maxbw on October 25, 2018, 12:21:16 AM
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
Title: Re: write failed, filesystem is full
Post by: franco on October 25, 2018, 03:34:17 PM
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
Title: Re: write failed, filesystem is full
Post by: maxbw on October 26, 2018, 10:32:22 PM
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
Title: Re: [SOLVED] write failed, filesystem is full
Post by: franco on October 29, 2018, 08:21:42 AM
Hi Max,

Alright, great. :)


Cheers,
Franco