Create a VM on ZFS storage without having an ext4 filesystem on top of the ZFS host filesystem

Wouter Samaey

Well-Known Member
May 28, 2018
73
12
48
39
Is it possible to create a VM on underlying ZFS storage, and not have the VM format it's disk as ext4 but instead use the zvol directly? Thus avoiding a filesystem on filesystem situation...

Just wondering if this kind of thing makes sense and is possible so ZFS can be put to optimal use.
 
Last edited:
  • Like
Reactions: rcd
how would that work with vms? the vm needs some kind of hardware it accesses, not a filesystem

with containers this is the way it works (this is possible because the container and the host share a kernel)
 
Well it's an open question so I don't really know.
You make a valid point that I hadn't considered!

Maybe I should mount a network share for some data by installing samba on the host...