The best way to share a ZFS pool between VMs

Hello all. I have a home server with a ZFS pool configured directly on the hypervisor (Proxmox). What’s the best way to share the pool to the Linux guests? I used both SSHFS and NFS without issue, being NFS more performant. The issue is that NFS is by default used with sync option, which destroys the performance, and I don’t know how secure is to use it with async. Any insight?

IMO stick with the NFS and determine the use of “sync” based on the following criteria.
Is your data being transferred business/mission critical? - SYNC
If there is a loss or interruption to the NFS file write (power fluctuation etc…) in almost all situations the data corruption should be no more than a second or two worth and in most situations this data not written is non-impacting. Thus the above statement that if the data traversing that NFS is mission critical then keep with sync.
99%+ of the time async is fine. Its how I run all of my home lab NFS shares.
Never had a data loss or impact BUT if I did, its not mission critical data to begin with.

Re-reading your post, I am not sure what you meant by “how secure” NFS is with async. Security has zero to do with sync settings.

So, it is not possible to get DRAM write acceleration and have sync? Such a bummer.

Re-reading your post, I am not sure what you meant by “how secure” NFS is with async. Security has zero to do with sync settings.

That was maybe a bad translation for my part. I was referring to data integrity; have confidence that the data is well written.

Might want to look into Mount Volumes into a Proxmox VM with virtiofs.md · GitHub

VERY interesting. I guess with this, I keep the DRAM cache speed and the data integrity? I saw that Proxmox is gonna support it soon, maybe I wait for official support.