Enable lockd and statd. Can't use scale storage for remote nfs virtualization

Description

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
vol.install(meter=meter)
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
'

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Bonnie Follweiler 
January 18, 2021 at 8:48 PM

Thank you for the report .  Can you please provide a debug by navigating to System -> Advanced, click save debug, and upload attachment to this ticket?

Need additional information

Details

Assignee

Reporter

Labels

Impact

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created January 14, 2021 at 1:39 AM
Updated July 1, 2022 at 4:58 PM
Resolved January 27, 2021 at 2:11 PM