When trying to create a disk on a truenas SCALE nfs share for a vm from a kvm host qemu-img fails because I can't get a lock. I for sure really if this should be a bug or a suggestion, but this makes SCALE useless as a storage host for hypervisors running on other nodes.
I tried enabling statd and lockd but couldn't find the rpc units.
images/test/vol.qcow2 20971520K) unexpected exit status 1: qemu-img: /var/lib/libvirt/images/test/vol.qcow2: Failed to lock byte 101
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/createvol.py", line 339, in _async_vol_create
File "/usr/share/virt-manager/virtinst/storage.py", line 691, in install
raise RuntimeError("Couldn't create storage volume "
RuntimeError: Couldn't create storage volume 'vol.qcow2': 'internal error: Child process (/usr/bin/qemu-img create -f qcow2 -o preallocation=metadata,compat=1.1,lazy_refcounts /var/lib/libvirt/images/test/vol.qcow2 20971520K) unexpected exit status 1: qemu-img: /var/lib/libvirt/images/test/vol.qcow2: Failed to lock byte 101