Re: NVMe support with 6.5

Christian Franke <[email protected]> Mon, 18 Apr 2016 18:31:31 +0200
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[email protected]>
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