[smartmontools-support] nvme drive partial support
Christian Franke
Christian.Franke at t-online.de
Wed Nov 11 14:50:47 CET 2020
Kwon-Young Choi wrote:
>> Please retry smartctl command with unset locale to see the English error
>> message:
>> LANG= /usr/sbin/smartctl -l error /dev/nvme0n1
> Here is the output of `LANG= /usr/sbin/smartctl -l error /dev/nvme0n1`:
>
> ```
> $ sudo LANG= /usr/sbin/smartctl -l error /dev/nvme0n1
> smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.9.3-1-MANJARO] (local build)
> Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
>
> === START OF SMART DATA SECTION ===
> Read Error Information Log failed: NVME_IOCTL_ADMIN_CMD: Interrupted
> system call
> ```
This is errno = EINTR, which may mean command timeout.
Please retry above command with '-r ioctl' option. It should print
command duration.
>> Do other tools read the error log properly, for example "nvme get-log
>> ..." from nvme-cli package ?
> `nvme get-log` can read the error log with no problem, I think:
>
> ```
> $ sudo nvme get-log /dev/nvme0 --log-id=2 --log-len=512
Possibly not, as '--log-id=2' selects SMART/Health Log :-)
Retry with '--log-id=1' and '--log-len=1024' which is the default len
for 'smartctl -l error'.
If this does not work, retry with '--log-len=64' or other multiples of 64.
If this does not work, add '--namespace-id=0' or '--namespace-id=1'.
Thanks,
Christian
More information about the Smartmontools-support
mailing list