Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
Netflow flowd database corruption on power failure
« previous
next »
Print
Pages: [
1
]
Author
Topic: Netflow flowd database corruption on power failure (Read 2465 times)
dinguz
Sr. Member
Posts: 275
Karma: 13
Netflow flowd database corruption on power failure
«
on:
December 01, 2019, 02:28:51 pm »
On several occasions, I noticed flowd not starting after a power failure. This seems to originate from database corruption, which can't be repaired by a 'repair Netflow data' in the GUI. If I reset the Netflow data and restart flowd, all is well.
Is there something I can do to make Netflow more resilient to power outages? Can switching to ZFS - if possible - help with this?
Logged
In theory there is no difference between theory and practice. In practice there is.
GDixon
Jr. Member
Posts: 98
Karma: 4
Re: Netflow flowd database corruption on power failure
«
Reply #1 on:
December 02, 2019, 12:17:19 am »
A UPS will solve the issue completely and should be used regardless.
A UPS can be inexpensive or expensive that's up to what you need or want. But it is always less expensive than replacing equipment.
Logged
dinguz
Sr. Member
Posts: 275
Karma: 13
Re: Netflow flowd database corruption on power failure
«
Reply #2 on:
December 02, 2019, 06:33:23 pm »
I see your point, but keeping in mind that I use OPNsense for home/hobby purpose, I was hoping to be able to solve this in system configuration, not by adding new hardware
Logged
In theory there is no difference between theory and practice. In practice there is.
GDixon
Jr. Member
Posts: 98
Karma: 4
Re: Netflow flowd database corruption on power failure
«
Reply #3 on:
December 02, 2019, 07:14:33 pm »
I had the same problem and the only way i solved it was adding another ups.
My original one was a bit overloaded and marginal for what i was asking it to do.
I never had the data base so corrupted it couldn't be fixed though.
I agree adding more equipment does suck but i know no other way to keep a data base from being corrupted by a sudden shut down.
This is one of the times that adding something in the way of equipment or a UPS is the way to remedy the situation unfortunately.
«
Last Edit: December 02, 2019, 07:17:31 pm by GDixon
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
Netflow flowd database corruption on power failure