[SOLVED] Performance comparison between ZFS and LVM

We are planning to run pfsense VMs only on the hosts, if the POC is successful.
VM snapshots is a requirement.
This is not quite what you asked I think but pfSense defaults to using ZFS, though that can be changed during install. Everything I’ve read says to not use ZFS inside a VM (on an expanding disk at least, since it will expand due to CoW) and not to use ZFS on ZFS due to the write amplification.
 
  • Like
Reactions: Johannes S
This is not quite what you asked I think but pfSense defaults to using ZFS, though that can be changed during install. Everything I’ve read says to not use ZFS inside a VM (on an expanding disk at least, since it will expand due to CoW) and not to use ZFS on ZFS due to the write amplification.
Yeah, but c'mon - pfsense writes so little it makes no difference. One might as well make the FS ReadOnly and pfsense would not care that much, other than winging on not being able to log anything or save config.
 
I would not be so sure: https://forum.netgate.com/topic/195990/another-netgate-with-storage-failure-6-in-total-so-far

We did used to run m0n0wall off a CD and a floppy but that was quite a while ago. :)
are you arguing that pfsense / opensense / monowall needs hyper fast storage ? Because only thing I see in that link that people complain that their chepo firewall (4200) killed the storage (possibly a tinny nvme with low TBW endurace) after two years of continuous log writes. If they used hdd that system would outlast the universe.
 
  • Like
Reactions: IsThisThingOn
No I was answering about the amount of disk writes and write amplification, re: the "writes so little" comment. I'm not going to dispute the relative amount of wear on clustered storage. And yes the point/claim of that thread is that the eMMC storage is insufficient.

More to the point here, though, my understanding is the disk image will eventually end up the full size of the allocated disk, is that not correct?

https://forum.opnsense.org/index.php?topic=27493.0 (yes "wrong" sense and VHDX but it's what I found quickly...)