Why does pfsense get disk errors on power failure
-
This is kind of anoyying, say if there is a power outage pfsense always finds errors for me and runs fsck to correct them.
Well today I had a powerfailure after like 6 months of going usage and the web gui won't start, the system is running though, I am going to upgrade to the latest version which should fix this problem, but why is pfsense so weak against power failures?
Can't it just store everything on the ram(The system has 1 or 2 gigs I forgot)? And only write to the HD when necccesary? Windows feels a lot more resistant to power failures than pfsense :?
EDIT:
Trying to udpate buthttp://snapshots.pfsense.org/FreeBSD_RELENG_8_1/amd64/pfSense_RELENG_2_0/.updaters//latest.tgz
is the default it tries to update but 404s, I just got to snapshots.pfsense.org and it says it will return soon, any ETA? -
Can't it just store everything on the ram(The system has 1 or 2 gigs I forgot)? And only write to the HD when necccesary? Windows feels a lot more resistant to power failures than pfsense :?
You need nanobsd pfsense Images to run this way.
or
reinstall your pfsense in custom/advanced mode and enable soft updates on /usr and /var (images attached)
http://snapshots.pfsense.org/FreeBSD_RELENG_8_1/amd64/pfSense_RELENG_2_0/.updaters//latest.tgz
Change your repo to RELEASE/stable, save and try again.
Snapshots were available before 2.0 RELEASE.
-
Whats the url for the release/stable though? I can't change it through the web gui since it isn't work.
-
amd64
http://files.chi.pfsense.org/mirror/updates/pfSense-Full-Update-2.0-RELEASE-amd64.tgzi386
http://files.chi.pfsense.org/mirror/updates/pfSense-Full-Update-2.0-RELEASE-i386.tgz -
Thank you ;D , it's updating. Alright web gui fixed. So on the nanobsd installs, can I restore my config downloaded and apply it onto the nanobsd pfsense ones?
Do you recommend installing nanobsd on a hard drive or like a 32gb SD card? I have both available. -
nanobsd has some limitations due read-only file-system and sd cards are not so fast.
Soft updates are really good for performance.
It's up to you. It will depend on packages you have installed.
Read about soft-updates. I think it is better then ssd cards.