I'm not sure how long this little gem has been around, but I just recently found out about it.
This only works of course if you have an nvme hard drive. SSD's don't work ( at least not correctly ).
Here are some handy commands if you have this installed.
For RPM based systems, it's pretty easy to install...
dnf install nvme-cli
to get help, it's pretty standard use.
nvme --help
nvme ( alone without any flags after ) with show you the modules of manufacturers this supports.
nvme list all
nvme list-subsys
nvme id-ctrl /dev/nvme0n1
nvme smart-log /dev/nvme0n1 ( this is very handy for getting the health status of your drive )
( Obviously your device path might be named differently )
You can actually can format your drive, and even do a sanitize erase.
WARNING**: Don't run this command unless you know what you're doing, this will wipe out your entire system.
nvme format /dev/nvme0nX
nvme sanitize /dev/nvme0nX
Some safer commands..
nvme intel version ( there are about 20 or so manufactuers supported, some tags require the specific vendor )
nvme intel temp-stats /dev/nvme0n1
I'm still playing with it, and I don't have it all figured out yet. Let me know if any of this helps.
This only works of course if you have an nvme hard drive. SSD's don't work ( at least not correctly ).
Here are some handy commands if you have this installed.
For RPM based systems, it's pretty easy to install...
dnf install nvme-cli
to get help, it's pretty standard use.
nvme --help
nvme ( alone without any flags after ) with show you the modules of manufacturers this supports.
nvme list all
nvme list-subsys
nvme id-ctrl /dev/nvme0n1
nvme smart-log /dev/nvme0n1 ( this is very handy for getting the health status of your drive )
( Obviously your device path might be named differently )
You can actually can format your drive, and even do a sanitize erase.
WARNING**: Don't run this command unless you know what you're doing, this will wipe out your entire system.
nvme format /dev/nvme0nX
nvme sanitize /dev/nvme0nX
Some safer commands..
nvme intel version ( there are about 20 or so manufactuers supported, some tags require the specific vendor )
nvme intel temp-stats /dev/nvme0n1
I'm still playing with it, and I don't have it all figured out yet. Let me know if any of this helps.
Last edited: