OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • [SOLVED] write failed, filesystem is full
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] write failed, filesystem is full  (Read 9631 times)

maxbw

  • Newbie
  • *
  • Posts: 9
  • Karma: 1
    • View Profile
[SOLVED] write failed, filesystem is full
« 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
« Last Edit: October 29, 2018, 08:21:30 am by franco »
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2768
  • Karma: 199
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: write failed, filesystem is full
« Reply #1 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
Logged

maxbw

  • Newbie
  • *
  • Posts: 9
  • Karma: 1
    • View Profile
Re: write failed, filesystem is full
« Reply #2 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13988
  • Karma: 1211
    • View Profile
Re: write failed, filesystem is full
« Reply #3 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
Logged

maxbw

  • Newbie
  • *
  • Posts: 9
  • Karma: 1
    • View Profile
Re: write failed, filesystem is full
« Reply #4 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13988
  • Karma: 1211
    • View Profile
Re: [SOLVED] write failed, filesystem is full
« Reply #5 on: October 29, 2018, 08:21:42 am »
Hi Max,

Alright, great. :)


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • [SOLVED] write failed, filesystem is full
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2