<div dir="ltr">@Michal: Thanks for your reply!<div><br></div><div>Indeed I have found a package in the AUR (libvirt-zfs) and only had to change to the current version and add zfs-utils as dependency in the PKGBUILD. Now I don't get the previous error anymore but I still cannot setup a VM because I constantly get errors due to wrong permissions. </div><div><br></div><div>I have tried to change the permissions in:</div><div><ul><li>/etc/libvirt/qemu.conf<br></li><li>/virt-pool/vmm<br></li><li>/dev/zvol/virt-pool<br></li></ul></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"><br></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">also:</span></span></div><div><br></div># zfs allow <user> create,destroy,mount virt-pool/vmm<div><br></div><div>didn't help.</div><div><br></div><div>What are the correct permissions? Which user and group? <br></div><div><br></div><div>Nick</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 3, 2017 at 8:44 AM, Michal Privoznik <span dir="ltr"><<a href="mailto:mprivozn@redhat.com" target="_blank">mprivozn@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 10/02/2017 11:42 PM, Nick Gilmour wrote:<br>
> Hi all,<br>
><br>
> I'm trying to setup virt-manager with ZFS als storage on my Arch box. I<br>
> have created a pool named virt-pool and tried to use it as storage. First<br>
> with virt-manager and then in the terminal with virsh but I'm always<br>
> getting the following errors:<br>
><br>
><br>
><br>
</span>> *virsh # pool-define-as --name zfsvirtpool --source-name virt-pool --type<br>
> zfserror: Failed to define pool zfsvirtpoolerror: internal error: missing<br>
> backend for pool type 11 (zfs)*<br>
<br>
Your libvirt was built without support for ZFS. You need to contact your<br>
distribution manufacturer and ask them to enable it. Or build libvirt on<br>
your own.<br>
<br>
However, as I am writing these lines I realized two things:<br>
<br>
1) there's no API to query loaded drivers/storage backends.<br>
<br>
2) storage backends are static. While we have libvirt drivers in<br>
separate modules (.so files) and load them at start up, it's not the<br>
same story with storage driver backends. These are hardcoded into the<br>
storage driver. Might be worth it to have them dynamically loadable too.<br>
<span class="HOEnZb"><font color="#888888"><br>
Michal<br>
</font></span></blockquote></div><br></div>