NVMe: Difference between revisions
From DWIKI
m (→Namespaces) |
m (→Namespaces) |
||
Line 21: | Line 21: | ||
==Namespaces== | ==Namespaces== | ||
*[https://nvmexpress.org/resource/nvme-namespaces/ nvme namespaces] | *[https://nvmexpress.org/resource/nvme-namespaces/ nvme namespaces] | ||
*https://narasimhan-v.github.io/2020/06/12/Managing-NVMe-Namespaces.html | *https://narasimhan-v.github.io/2020/06/12/Managing-NVMe-Namespaces.html | ||
Line 31: | Line 34: | ||
===Show number of available namespaces=== | ===Show number of available namespaces=== | ||
nvme id-ctrl /dev/nvme1|grep nn | 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''' | |||
=Monitoring nvme= | =Monitoring nvme= |
Revision as of 11:02, 22 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
HOWTO
List devices
nvme list
get details
nvme id-ctrl /dev/nvme0
Namespaces
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