NVMe: Difference between revisions
From DWIKI
m (→List devices) |
m (→Links) |
||
Line 4: | Line 4: | ||
*[https://nvmexpress.org/ nvmexpress.org] | *[https://nvmexpress.org/ nvmexpress.org] | ||
*[https://wiki.archlinux.org/title/Solid_state_drive/NVMe arch linux nvme doc] | *[https://wiki.archlinux.org/title/Solid_state_drive/NVMe arch linux nvme doc] | ||
==NVMe/TCP== | ==NVMe/TCP== | ||
*https://www.networkworld.com/article/3609921/nvme-over-tcp-how-it-supercharges-ssd-storage-using-standard-ip-networks.html | *https://www.networkworld.com/article/3609921/nvme-over-tcp-how-it-supercharges-ssd-storage-using-standard-ip-networks.html | ||
Line 12: | Line 13: | ||
==Qemu and NVMe== | ==Qemu and NVMe== | ||
*[https://qemu-project.gitlab.io/qemu/system/devices/nvme.html Qemu and nvme] | *[https://qemu-project.gitlab.io/qemu/system/devices/nvme.html Qemu and nvme] | ||
=Documentation= | |||
==NVMe device names== | |||
*[https://utcc.utoronto.ca/~cks/space/blog/linux/NVMeDeviceNames NVME device names] | |||
Example: '''/dev/nvme0n2p3''' | |||
Means nvme device 0, namespace 2 partition 3 | |||
==Namespaces== | |||
=HOWTO= | =HOWTO= |
Revision as of 14:03, 23 February 2023
NVM Express
Links
NVMe/TCP
- https://www.networkworld.com/article/3609921/nvme-over-tcp-how-it-supercharges-ssd-storage-using-standard-ip-networks.html
- nvme and tcp
- NVMe over TCP
- https://tekdeeps.com/what-is-nvme-over-tcp-how-to-use/
- https://www.linuxjournal.com/content/data-flash-part-iii-nvme-over-fabrics-using-tcp
Qemu and NVMe
Documentation
NVMe device names
Example: /dev/nvme0n2p3
Means nvme device 0, namespace 2 partition 3
Namespaces
HOWTO
List devices
nvme list
get details
nvme id-ctrl /dev/nvme0
if you want to find for example IP of a device:
nvme list-subsys /dev/nvme2n1
Namespaces
- nvme namespaces
- Drew Thorstensen - NVME namespaces
- https://narasimhan-v.github.io/2020/06/12/Managing-NVMe-Namespaces.html
List namespaces
nvme list-ns /dev/nvme1
Show info about namespace
nvme id-ns /dev/nvme1n1
Show number of available namespaces
nvme id-ctrl /dev/nvme1|grep nn
Show total capacity
nvme id-ctrl /dev/nvme1|grep tnvmcap
Show unallocated capacity
nvme id-ctrl /dev/nvme1|grep unvmcap