Editing
NVMe Drives
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== What is NVMe? == NVM Express [NVMe] or Non-Volatile Memory Host Controller Interface Specification (NVMHCI), is a specification for accessing solid-state drives (SSDs) attached through the PCI Express (PCIe) bus. NVM is an acronym for non-volatile memory, as used in SSDs. NVMe defines optimized register interface, command set and feature set for PCIe SSD’s. NVMe focuses to standardize the PCIe SSD’s and improve the performance. PCIe SSD devices designed based on the NVMe specification are NVMe based PCIeSSD’s. For more details on the NVMe please refer the link http://www.nvmexpress.org/ .The NVMe devices used currently are NVMe 1.0c compliant. This page is extracted from here: https://www.dell.com/support/article/us/en/04/sln312382/nvme-on-rhel7?lang=en == Installation == This is actually the hardest part of the process: getting the things into a system. Many of the newer high-end motherboards have M.2 slots that can handle NVMe drives ... but there can be caveats. Sometimes the M.2 slot is for the SATA version of the drives -- and NVMe drives won't work. If the number of PCIe lanes is limited on the motherboard, it may be a choice between using the M.2 slot or the second PCIe x16 slot. If an M.2 slot is not present, the next alternative is to get a M.2 PCIE x4 adaptor card. On the surface this is great -- but in practice, it is less than useful as most motherboards only have one PCIe slot that is more than x1 -- and the graphics card usually sits in it. == Configuration == Once th edevice is installed, most Linux kernels from 3.3 onward have the nvme driver already installed. The easiest way to check is to somply look for the drive in the normal places: cat /proc/partitions ls -l /dev/disk/by-id ls -l /dev/nvme* All of these should show at least one entry: '''''nvme0n1''''' -- this is the base partition of the NVMe drive itself. The '''''nvme0''''' part of the device name is the name of the device controller, and the '''''n1''''' is the namespace (think of it as a soft hardware partition). Partition like a normal disk drive: fdisk /dev/nvme0n1 This will create partitions called '''''nvme0n1p1''''', etc. At this point you can format it like any other drive<ref>Debian does not come with XFS filesystem tools installed by default. If you want to use XFS to format the drive, you need to install the ''xfsprogs'' package</ref>: mkfs.xfs /dev/nvme0n1p1 There is also a command-line utility that knows how to talk to the device controller to get status and to reformat the drive at a low level if needed. It is not required for simple use, but if needed, just install the ''nvme-cli'' package. ---- <references/>
Summary:
Please note that all contributions to WilliamsNet Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
WilliamsNet Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Navigation
Commons
Architecture
How-To
Systems
Hardware
SysAdmin
Kubernetes
OpenSearch
Special
Pages to create
All pages
Recent changes
Random page
Help about MediaWiki
Formatting Help
Tools
What links here
Related changes
Special pages
Page information