How to Access NVMe disk Using SPDK When Creating a DiskPool #3730
-
How to Access NVMe disk Using SPDK When Creating a DiskPool ? Type Format Example Could you provide guidance on how to configure a DiskPool to use SPDK for accessing NVMe drives? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You can connect in different ways:
If you want Direct PCIe access (2.a) bypassing the kernel then a bit more work is involved (though we plan to automate this in the future - it's on the ROADMAP) as you have to detach the nvme device from the kernel. You'll have to use https://github.com/spdk/spdk/blob/master/scripts/setup.sh, probably need to clone the spdk repo.
In my case I want to use pcie for
Now that Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
@avishnu : We should have @balaharish7 integrate this answer into the Tech Docs. - This is very good info. |
Beta Was this translation helpful? Give feedback.
You can connect in different ways:
a. URING:
uring:///dev/nvmexn1
b. AIO:
uring:///dev/nvmexn1
or simply/dev/nvmexn1
a.
pcie:///0000:01:00.0
If you want Direct PCIe access (2.a) bypassing the kernel then a bit more work is involved (though we plan to automate this in the future - it's on the ROADMAP) as you have to detach the nvme device from the kernel.
You'll have to use https://github.com/spdk/spdk/blob/master/scripts/setup.sh, probably need to clone the spdk repo.