Editing
NVMe Drives
(section)
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!
== 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