[SPDK] spdk doesn't seem to recognize the drive in container with unprivileged mode
Pharthiphan Asokan <pharthiphan at gmail.com>
| Newsgroups | dev.linux.lists.spdk |
|---|---|
| Message-ID | <CAKkoBbM7NLEq8C8d5X-OfzH4H2E-vS0amDYNFpjWir6zUX2YoA@mail.gmail.com> |
Hi Folks, I am trying to run k8s pod with unprivileged mode but spdk doesn't seem to recognize the drive but the vfio device seems to be present on the pod. nvme.c: 609:spdk_nvme_probe_internal: *ERROR*: NVMe ctrlr scan failed bdev_nvme.c:1766:spdk_bdev_nvme_create: *ERROR*: No controller was found with provided trid (traddr: 0000:88:00.0) $ kubectl exec -it pod-0 /bin/bash $ ls -ld /dev/vfio/91 crw------- 1 root root 241, 10 Jul 16 14:44 /dev/vfio/91 $ readlink /sys/bus/pci/devices/0000\:88\:00.0/iommu_group ../../../../../../kernel/iommu_groups/91 Note:- with privilege mode there are no issues