Install (UFS|ZFS) - Choose UFS or ZFS filesystem. ZFS is in most cases the best option as it is the most reliable option, but it does require enough capacity (a couple of gigabytes at least).
You should do some hardware testing on your setup. Run some SMART tests on your drives and see what they report. Also, do a memtrst run or two.Depending on the cause of the problem, it may return even if you're running ZFS.
Even brand new devices can have hardware problems. But if you were simply powering off without shutting down, then yes, that's probably the cause of the issue. While ZFS is more resistant to that sort of thing, it's still not a good practice.