Project

General

Profile

Demande #6216

cataire: erreurs du disque nvme détectées par smartd

Added by Pierre-Louis Bonicoli 4 months ago. Updated 4 months ago.

Status:
Résolu
Priority:
Normale
Category:
-
Target version:
Start date:
08/14/2023
Due date:
% Done:

100%

Estimated time:
Difficulté:
2 Facile

Description

Le service smartd du laptop cataire génère des alertes/erreurs :

This message was generated by the smartd daemon running on:

   host name:  cataire
   DNS domain: april.org

The following warning/error was logged by the smartd daemon:

Device: /dev/nvme0, number of Error Log entries increased from 143 to 151

Device info:
EMTEC X300 256GB, S/N:511211018275000449, FW:EDFM00.7, 256 GB

For details see host's SYSLOG.

Le seul disque de cataire est un SSD.

smartd semble gérer mieux gérer les SSD depuis que cette amélioration est implémentée. Cette amélioration n'est pas présente dans la version de Debian Bookworm.

History

#1

Updated by Pierre-Louis Bonicoli 4 months ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

Les alertes/erreurs ne semblent pas liées à un réel problème mais plutôt à une limitation de du service smartd :

root@cataire:~# nvme error-log -e 2 /dev/nvme0n1
Error Log Entries for device:nvme0n1 entries:2
.................
 Entry[ 0]   
.................
error_count    : 1030
sqid        : 0
cmdid        : 0x6018
status_field    : 0x4005(INVALID_FIELD: A reserved coded value or an unsupported value in a defined field)
parm_err_loc    : 0xffff
lba        : 0
nsid        : 0
vs        : 0
trtype        : The transport type is not indicated or the error is not transport related.
cs        : 0
trtype_spec_info: 0
.................
 Entry[ 1]   
.................
error_count    : 1029
sqid        : 0
cmdid        : 0x501b
status_field    : 0x4005(INVALID_FIELD: A reserved coded value or an unsupported value in a defined field)
parm_err_loc    : 0xffff
lba        : 0
nsid        : 0
vs        : 0
trtype        : The transport type is not indicated or the error is not transport related.
cs        : 0
trtype_spec_info: 0

J'ai désactivé le service smartd sur la machine cataire:

root@cataire:~# systemctl stop smartmontools.service 
root@cataire:~# systemctl disable smartmontools.service 
Synchronizing state of smartmontools.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable smartmontools
Removed /etc/systemd/system/multi-user.target.wants/smartmontools.service.
Removed /etc/systemd/system/smartd.service.
root@cataire:~# systemctl mask smartmontools.service 
Created symlink /etc/systemd/system/smartmontools.service → /dev/null.

Also available in: Atom PDF