Re: NVMe support with 6.5

Ozy de Jong <[email protected]> Tue, 19 Apr 2016 11:08:27 +0200
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <zarafa.5715f58b.9a05.2bc2df710ebf67a6@kloud-server-39812>
> Please test r4302 if possible.



./smartctl -a /dev/nvme0
smartctl 6.5 2016-04-16 r4302 [x86_64-linux-4.6.0-0.rc3.git2.1.vanilla.knurd.1.fc23.x86_64] (daily-20160416)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:                       Samsung SSD 950 PRO 256GB
Serial Number:                      S2GLNCAGB30711B
Firmware Version:                   1B0QBXX7
PCI Vendor/Subsystem ID:            0x144d
IEEE OUI Identifier:                0x002538
Maximum Data Transfer Size:         32 Pages
Controller ID:                      1
Power State 0 Maximum Power:        6.50 W (active)
Power State 1 Maximum Power:        5.80 W (active)
Power State 2 Maximum Power:        3.60 W (active)
Power State 3 Maximum Power:        0.0700 W
Power State 4 Maximum Power:        0.0050 W
Number of Namespaces:               1
Namespace 1 Size:                   256 060 514 304 [256 GB]
Namespace 1 Utilization:            152 074 477 568 [152 GB]
Namespace 1 Formatted LBA Size:     512
Local Time is:                      Tue Apr 19 11:02:08 2016 CEST

All info seems okay now :)



Orsiris de Jong

[email protected] - http://www.netpower.fr <http://www.netpower.fr> 

Tel: 06 75 40 48 41

-----Message initial-----
De: Christian Franke <[email protected]>
Envoyé: lundi 18 avril 2016 18:32
À: Ozy de Jong <[email protected]>
Cc: [email protected]
Sujet: Re: [smartmontools-support] NVMe support with 6.5


Ozy de Jong wrote:
> RE: [smartmontools-support] NVMe support with 6.5
> > Smartctl should possibly indicate that these fields are not set instead
> > of printing "0 [0 B]".
>
> Indeed if the capacity field could state something like "not defined", 
> that would make things more clear for the user.
>

Capacity and other unset info is now no longer printed (except if debug 
mode is enabled). Size/Capacity and LBA info is now read from Identify 
Namespace struct. Please test r4302 if possible.

> ...
>
> A last question, command "smartctl -t short /dev/nvme0" gives result:
>
> NVMe device successfully opened
>
>
> I am not aware if NVMe drive manufacturers include selftests, but in 
> the case they don't, a message like "not supported" would be nice to 
> have so.
>

There are no self-tests in the NVMe spec.

Options that are not supported for a specific device type are silently 
ignored. This also the case for many ATA options which do not make sense 
for SCSI/SAS devices. Fixing this would be non-trivial and is left for 
later.

> Looking out for 6.5 release, great work :)
>

Thanks,
Christian


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Smartmontools-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z

_______________________________________________
Smartmontools-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smartmontools-support