On Mon, Oct 3, 2011 at 10:47 PM, Pandu Poluan <pa...@poluan.info> wrote: > The box will be used as a gateway/firewall for a branch office, so I really > couldn't care less about filesystem performance. But the utility power there > is horrendous, so I need something that can shrug off a catastrophic power > loss, and/or very fast fsck.
I've lost XFS and JFS filesystems in the past due to their failure to recover after sudden power loss. Ext3/4 have not failed me (yet). But my question is, why don't you use a UPS and monitoring software to perform a proper (clean) shutdown when power's off and battery is running low. Some UPS also support automatic power-on once things are normal again, in case this is an unattended box that locals can't be bothered with rebooting themselves. I can think of making a complicated system with read-only boot media (cd/dvd/mmc/whatever) which attempts recovery of important data (logs created since last backup) to a spare partition, RAM drive or the Internet, then repartitions & reinstalls itself to the harddrive and restores the recovered data. Optionally downloading updated configs from Internet. (think kiosk distros).