Bug 26710

Summary: nvme-cli provides detailed information about NVMe SSD, new package request
Product: Mageia Reporter: Paul Blackburn <paul.blackburn>
Component: New RPM package requestAssignee: All Packagers <pkg-bugs>
Status: RESOLVED INVALID QA Contact:
Severity: enhancement    
Priority: Normal CC: ouaurelien
Version: 7   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Paul Blackburn 2020-06-01 18:52:09 CEST
Description of problem: Enhancement request: please add https://github.com/linux-nvme/nvme-cli to Mageia.
reference: https://www.nvmedeveloperdays.com/English/Collaterals/Proceedings/2018/20181204_PRECON2_Hands.pdf

This provides command to get detailed information about NVMe SSD.

For example:

[root@localhost ~]# /usr/sbin/nvme smart-log /dev/nvme0n1 --human-readable
Smart Log for NVME device:nvme0n1 namespace-id:ffffffff
critical_warning			: 0
      Available Spare[0]             : 0
      Temp. Threshold[1]             : 0
      NVM subsystem Reliability[2]   : 0
      Read-only[3]                   : 0
      Volatile mem. backup failed[4] : 0
      Persistent Mem. RO[5]          : 0
temperature				: 27 C
available_spare				: 100%
available_spare_threshold		: 10%
percentage_used				: 0%
endurance group critical warning summary: 0
data_units_read				: 751,030
data_units_written			: 841,183
host_read_commands			: 3,463,113
host_write_commands			: 6,311,597
controller_busy_time			: 122
power_cycles				: 28
power_on_hours				: 780
unsafe_shutdowns			: 2
media_errors				: 0
num_err_log_entries			: 0
Warning Temperature Time		: 0
Critical Composite Temperature Time	: 0
Thermal Management T1 Trans Count	: 1
Thermal Management T2 Trans Count	: 0
Thermal Management T1 Total Time	: 26
Thermal Management T2 Total Time	: 0



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 Lewis Smith 2020-06-05 20:36:07 CEST
Thanks for the suggestion; timely.

Assigning this package request to all packagers collectively. On a voluntary basis, one of them might, if there are no license or other legal issues, want to integrate it to the distribution and maintain it for bug and security fixes.

You Paul might also want to join the packager team to maintain this piece of software: see https://wiki.mageia.org/en/Becoming_a_Mageia_Packager

Summary: enhancement request: please add "nvme-cli" to Mageia => nvme-cli provides detailed information about NVMe SSD, new package request
Assignee: bugsquad => pkg-bugs

Comment 2 Aurelien Oudelet 2020-09-14 22:22:21 CEST
Hi, this is already in Mageia Cauldron since April 12th 2019.

$ urpmq -i nvme-cli
Name        : nvme-cli
Version     : 1.12
Release     : 1.mga8
Group       : System/Kernel and hardware
Size        : 701986                       Architecture: x86_64
Source RPM  : nvme-cli-1.12-1.mga8.src.rpm
URL         : https://github.com/linux-nvme/nvme-cli
Summary     : NVMe command line interface
Description :
nvme-cli is a NVM-Express user space tooling for Linux.

Closing this.

Resolution: (none) => INVALID
CC: (none) => ouaurelien
Status: NEW => RESOLVED