SG-1000 problems. Will not work. Brand new unit.
-
panic: ufs_dirbad
Looks like UFS corruption due to a hard shutdown. This is not unheard of.
Fortunately, there is a fix! ZFS install! Just reinstall with 2.4.0 BETA and select ZFS install.
ZFS is an exceptionally resilient file system. You won't get corruption from a power outage with ZFS. -
contact netgate support
-
Kapara has contacted support, we resolved the issue.
-
The reason for the problem (file corruption) was communicated in the ticket I opened for you as soon as you reported the problem. It appears you have removed power before properly shutting it down. The reason that it runs 2.4-BETA has also been explained.
Continue to work with my team to resolve the issue.
-
The joys of UFS…
-
Thanks for creating the ticket. I am concerned though if something can get corrupted so easily this could be a real problem when deploying these to many locations far away! I am looking at deploying these in places that I would have to fly several hours if not more to fix if they fail. Is pfsense going to do something so that they are more resilient to power failures?
All other platforms I use do not get corrupted from power failues. Cisco ASA, Switches, Juniper Firewall, Ubiquiti Router and Unifi AP's.
-
Read up - ZFS is your solution. Currently it requires a fresh install of 2.4.0 Beta.
Alternatively, connect it to a UPS like all decent hardware should be ;)
-
This isn't a pfSense problem, it's an anything that uses UFS problem.
Is pfsense going to do something so that they are more resilient to power failures?
They did, they implemented ZFS in 2.4
ZFS install is included in the Auto configuration guide. Just install to ZFS and you will never have this problem again.
-
Yes I get the UPS option but this unit will be mounted in a box up in the air in a greenhouse so mounrting a battery also causes some serious design issues unless there is a small battery which can be attached which can fit in the palm of my hand. Lik an inline battery that matches the voltage. Like for a raid card.
Support mentioned that ZFS would not be recommended for this unit because of the resources required by ZFS and the SG-1000 cannot handle that.
Open to more suggestions!
-
ZFS is a much more robust file system but it is not immune to corruption from power loss. If you need that guarantee get a UPS.
-
Something like this would be perfect! http://www.mini-box.com/OpenUPS2
-
not immune to corruption from power loss
Technically correct, but you are highly unlikely to have this happen with ZFS.
What's really great about ZFS though are all of the tools that it includes.
In addition to tools to recover from data corruption, you can automate on site or off site backups of your entire pool pretty easily.
If you back up your pool, then you can only lose whatever happened between the time corruption took place and your last backup.
-
Technically correct, but you are highly unlikely to have this happen with ZFS.
Until you corrupt the metadata and then you're screwed. But luckily for pfSense this isn't an issue since reinstalling and restoring the config is trivial as long as you have a current config backed up.
-
reinstalling and restoring the config is trivial as long as you have a current config backed up.
This is quite true, and everyone should back up their config regularly IMO.
Correct me if I'm wrong, but isn't one of the perks of having official pfSense hardware that it includes a subscription that makes automated periodic config backup easy?
-
Correct me if I'm wrong, but isn't one of the perks of having official pfSense hardware that it includes a subscription that makes automated periodic config backup easy?
I believe you are correct. I save a copy of my config to my desktop any time I make any changes.
-
I believe you are correct. I save a copy of my config to my desktop any time I make any changes.
Always good practice. I take it a step further and use a simple cron job with scp to copy /conf nightly. But the auto config backup included in the Gold subscription (I verified, and it does come, for a year anyway, with any official hardware purchase from the store) makes it trivial. Definite bonus, and since OP has the hardware newly purchased, one to take advantage of.