disk full

Started by caplam, August 16, 2025, 04:48:51 PM

Previous topic - Next topic
Hello,

My opnsense instance is sick.
My disk space (zfs) is full and webui doesn't work anymore (php errors).
I'm away from home. I can ssh into opnsense with regular credentials.
I can't use sudo (php error thrown) so can't do much.
From what i can see /var/log could be full but as i can't sudo, i can't delete anything nor reboot.
Can i do something or should i reinstall it when i come home ?

How about "su"? It should fire the root login script if you're able to authenticate.

su - doesn't work either.


boot single user, mount the disk, check it.

I'll do that when I come back.

i've rebooted in single user mode and could delete resolver log which were around 40Gig large.
after a reboot to normal mode all went back to normal

Quote from: caplam on August 23, 2025, 07:52:31 PM[...] resolver log which were around 40Gig large [...]

That's a heck of a log. I have a server that's been running for 10 years and has only logged 3GB (errors only). Were you running a query log?

yes. I run query log until i finish my setup. I'm moving some apps to dmz and need that logs until all is running fine including acccess from wan, lan with a single hostname for apps using authentik provider or having their own auth.
It's not straight forward as i have apps accessed only from lan others from both wan and lan. Some are using authentik others don't.
And i'm still wondering which apps to put in dmz.