Using ZFS on a single disk?

Started by Lucid1010, September 02, 2025, 04:26:54 AM

Previous topic - Next topic
no ecc ram - 16gb
256gb nvme (samsung 980 pro)



Is using ZFS on a single disk without RAID better than UFS?

I do, changing over the last time I changed router. I love snapshots, and there should be greater data integrity.
Deciso DEC697

Quote from: Lucid1010 on September 02, 2025, 04:26:54 AMIs using ZFS on a single disk without RAID better than UFS?
Yes, ZFS is more resilient to file system corruption in the event of an OS crash. And the snapshot feature can be a life saver.
Deciso DEC740

Absolutely.  Think of Upgrades.
ZFS, boots into something called a "Boot Environment(BE)".  It's your root filesystem.
Now lets do an upgrade.
Create a new BE (starts out as identical to your current root filesystem)
Apply upgrade into new BE (now your new BE is old root plus upgrades)
Reboot into new BE  (now you are running the updated system)
Reboot fails for some reason, reboot into the old BE and you have a running system.

ZFS BEs are "system upgrades done right".

So yes, if ZFS is an option, run it even on single disks.  I'm saying this as a general rule, not just OpnSense.  Any system you can run ZFS on, do it.  Your future self will thank you.