PfSense crashes ever few weeks - log is blank
-
afaik the early ones used 10.0 , while now they are on 10.1
-
Right, well, didn't this go badly!
I woke up this morning at 3am (sick 18 month old). Walked downstairs and notices text scrolling past at a rapid rate on the pfSense monitor. "vfs error <something-or-other>"
Well, I guess this is it then. Internet is still working. Try log into pfSense and nudda. Error writing to /tmp/session bla bla.
I can however ssh into it. Supidly, I did not get the config file because I religiously backup after I make any changes. Of course I did…Right, reboot - cannot. Pull power - does not reboot. FreeBSD hangs just after bring the NICs up. Oh well, we're toast.
Grab spare SSD out the drawer (as you do)
Swap it with the now-dead one.
Download the latest installer (USB live image)
Burn it
Boot from USB
ta-da. We're back. ;DNow to restore the last backup I have... hmm, looks a bit old. :-
Not to worry, it will have the bulk of the config. It's out by about a month.Restore - what a nightmare :'( The restore was just not happy with the NICs. Each reboot it would ask me again which is the WAN/LAN etc. Eventually it stops asking.
None of the VPNs are working correctly, the gateways are a mess, the firewall rules and NAT rules are a shambles. I start patching them together again but cannot get them working. Dreading a redo of them all I go get a coffee. What has changed... why would the restore not work? I've done it a few times without trouble...
Damn you kejianshi / cmb, damn you to hell :P
Take out the USB NIC they said. It's all the USB NIC's fault they said.
I had forgotten about it.
Realising that the missing NIC is the issue with the restore I put it back in, restored again and ta-daaa. Perfect restore :D Happy bunny.So, disk was on it's way out. I would still like to try and get the latest config off it because my backup is one set of changes short. (Bad me)
The restore works perfectly if the hardware is identical. If not, it's a bit of a headache.Having said all that - to rebuild a busted firewall in an hour and be back up and running is remarkable. Full credit to the devs and community of pfSense for making such an awesome bit of kit.
Cheers,
FB</something-or-other> -
haha
-
Well, this is odd. Second SSD is now complaining the same as the first.
Both SSDs used to sit in my NAS (ZFS) as cache drives so either they both got porked while in there or this motherboard is killing them or psSense is killing them.
Both SSDs are 4 years old (found the invoice, was hoping on warranty).Guess a new on is needed and will see from there.
pfSense is still running so no rebooting until spare drive arrives…