Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-108972

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

    XMLWordPrintable

    Details

    • Impact:
      High

      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
      '
       

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                releng Release Council
                Reporter:
                inman.turbo Dan Inman
                Watchers:
                Bonnie Follweiler, Dan Inman, Maciej Biwejnis
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: