nndocs:nvme-of
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| nndocs:nvme-of [2024/02/24 21:34] – [Target] clarify a little, I hope naptastic | nndocs:nvme-of [2025/10/26 23:45] (current) – snark +1 naptastic | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | TODO Please put storage traffic on its own IB subnet and limit things sanely. | ||
| - | |||
| - | NQNs: nqn.2014-08.rocks.narf.hostname is the whole thing. No :01 or any of that jazz, at least not yet. | ||
| - | |||
| The goal is to run everything over RDMA (InfiniBand specifically) and maybe have TCP as a fallback. (If TCP, then I probably want to try VMA... which I don't want to do.) | The goal is to run everything over RDMA (InfiniBand specifically) and maybe have TCP as a fallback. (If TCP, then I probably want to try VMA... which I don't want to do.) | ||
| Line 10: | Line 6: | ||
| Create the subsystem: | Create the subsystem: | ||
| /> subsystems/ create nqn.2014-08.rocks.narf.southpark | /> subsystems/ create nqn.2014-08.rocks.narf.southpark | ||
| + | |||
| + | NVMe calls network ports " | ||
| Create a port and set its properties: | Create a port and set its properties: | ||
| Line 19: | Line 17: | ||
| /> ports/ | /> ports/ | ||
| - | NVMe uses " | + | NVMe calls LUNs " |
| Create, set, and enable namespace: | Create, set, and enable namespace: | ||
| /> subsystems/ | /> subsystems/ | ||
| - | /> subsystems/ | + | /> subsystems/ |
| /> subsystems/ | /> subsystems/ | ||
| + | |||
| + | Don't use /dev/nvme* names; they can change order on reboot. | ||
| You can use a file as a backstore. The syntax is not at all obvious. Why " | You can use a file as a backstore. The syntax is not at all obvious. Why " | ||
| Line 50: | Line 50: | ||
| Log in: | Log in: | ||
| # nvme connect -t rdma -n nqn.2014-08.rocks.narf.southpark -a 172.20.64.13 -s 4420 | # nvme connect -t rdma -n nqn.2014-08.rocks.narf.southpark -a 172.20.64.13 -s 4420 | ||
| + | |||
| + | Rescan: | ||
| + | # nvme ns-rescan /dev/nvme1 | ||
| + | |||
| + | * If a namespace you expect to appear isn't appearing, check the target to see if you forget to enable it | ||
| Disconnect a subsystem: | Disconnect a subsystem: | ||
nndocs/nvme-of.1708810478.txt.gz · Last modified: 2024/02/24 21:34 by naptastic
