My main issue with UFS was data loss or corruption in a power outage situation.
but has been pretty throughly debunked by the ZFS dev community by now.
I am not saying that another fs is safer because it is less prone to corruption. I am very well aware that e.g. ext4 can be as easily be corrupted as ZFS in case of mem errors.The issue lies somewhere else. ZFS does not have proper recovery tools. When you have a filesystem corruption with ZFS (especially when the entire pool is affected), it's much more likely that your data is gone and non-recoverable. But I seriously don't want to discuss filesystem coding here.
However, I just had another thought. I should be fine with a corrupted ZFS on a FW appliance. Worst case scenario: I re-install and restore a config backup.
Quote from: tessus on February 01, 2022, 08:32:27 amI am not saying that another fs is safer because it is less prone to corruption. I am very well aware that e.g. ext4 can be as easily be corrupted as ZFS in case of mem errors.The issue lies somewhere else. ZFS does not have proper recovery tools. When you have a filesystem corruption with ZFS (especially when the entire pool is affected), it's much more likely that your data is gone and non-recoverable. But I seriously don't want to discuss filesystem coding here.But what has any of that to do with ECC, which was your question (how do people run ZFS without ECC)...? Are you asking more generally if ZFS is more or less safe than other filesystems, as function of recovery tools (or not)?Irrespective of recovery tools and the usefulness thereof, remember that ZFS has several built-in mechanisms to avoid you getting there in the first place, including checksums and redundant copies of metadata (and data if you like), scrubbing, copy-on-write at both disk management and filesystem level, etc. In any case, as for the general merits and weaknesses of ZFS (recovery tools or not), the Internet is awash with resources and needless to say ZFS has been thoroughly battle tested in very large and demanding environments for a very long time (with its roots in Solaris some 20 years ago).Quote from: tessus on February 01, 2022, 08:32:27 amHowever, I just had another thought. I should be fine with a corrupted ZFS on a FW appliance. Worst case scenario: I re-install and restore a config backup.Well, yes. But again, I don't know why you worry about ZFS corruption. It should be the better choice if anything. Far more likely that some other part of your hardware breaks or that you botch up your system with a failed upgrade or whatever.
Dear moderators. Please close this topic. It's getting out of hand. I specifically mentioned that this is not a ZFS usage question. Not sure why people can't read a question properly. This means I do not need any comments on how safe it is to use ZFS w/o ECC.
how do people use ZFS with OPNsense
No matter what someone says, using ZFS without ECC is a bad idea if you care about your data. Nobody will ever convince me otherwise. Period. (I also mentioned that ZFS is not less safe than any other fs. I said that it was much more likely that your data is gone and non-recoverable (in case of a corruption), because of the lack of proper recovery tools for ZFS.)