zfs on SG5100?
-
I ran across a warning that zfs w/ 8gb ram referring me to freebsd Wiki "ZFSTuningGuide". This shows up on the partitioning page of the pfSense installer for zfs. My 5100 has 8gb ram.
I am wondering if a zfs image (to convert from ufs) provided for pfSense Plus has the recommendations built into the image or is it simply ok as it is and not a problem?
-
The tuning and recommendations/warnings for general FreeBSD/server usage are different from that for a firewall. They are much different roles, so we can get away with a lot less resource usage in pfSense comparatively.
The main difference is that a firewall isn't going to be acting as a file server with a ton of content that needs things like deduplication, compression, etc.
You can tweak the memory usage of ZFS if you find it wants too much, but for most people the defaults are OK.
https://docs.netgate.com/pfsense/en/latest/hardware/tune-zfs.html
-
Isnt the ZFS better for file integrity if, for example, power outages are frequent?
-
@nimrod Yes. ZFS is copy-on-write which means the file system is never in an inconsistent state. It is technically possible to lose data that is in-flight, but it won't result in on-disk corruption.
-
@nimrod said in zfs on SG5100?:
Isnt the ZFS better for file integrity if, for example, power outages are frequent?
Yes, it's much better at handling that sort of event.
-
@jimp said in zfs on SG5100?:
but for most people the defaults are OK.
Great. The warning sort of surprised me and I wanted to make sure since my appliance is a bit older.