unbindLock error when trying to create vGPU

We just upgraded one of our machines from V100s to A40s. I am attempting to run /usr/lib/nvidia/sriov-manage -e XX:XX:XXXX.X but every time I try I get the following error:
Cannot obtain unbindLock for XXXX:XX:XX.X

The vGPU host driver is up-to-date. I tried uninstalling and reinstalling the host driver but that didn’t fix the issue. The GPUs are not being used by anything. Assistance would be greatly appreciated.

I would like to second this issue. In my case, it appears on a Linux (alma linux 8.5) system with an A5000 GPU.
(QEMU 4.2.0)

Hello ,

Were you ever able to resolve this? I am running in to the exact same error on a AMD EPYC system with A40s.
Ubuntu 20.04 is the OS.

Thanks,

Salvatore

I solved the error by ensuring that SR-IOV was enabled in the BIOS. On an HPE server Bios → Virtualization Options → SR-IOV enabled.