Tips : Obtenir des infos S.M.A.R.T. plus détaillées sur un Nas Synology

Logo SynologyParceque j’avais besoin de savoir pourquoi un de mes disques dur avait le status anormal dans mon Nas Synology, je me suis mis en quête de trouver la commande appropriée à saisir en ligne de commande en Ssh sur mon Nas, pour faire afficher les informations smart de mon disque dur.

Il s’agit donc d’utiliser la commande smartctl disponible à l’invite de commande d’un Synology. Contrairement à ce que le smartctl -h donne comme information de saisie, la saisie de :

smartctl -all

ne fonctionne pas ….  :-(

La commande qui marche est :

smartctl -d ata /dev/sda -a pour le premier disque

smartctl -d ata /dev/sdb -a pour le suivant , etc ….

Dans mon cas , sur le disque « défectueux » , j’obtiens :

Synology> smartctl -d ata /dev/sda -a
smartctl 5.42 2011-10-20 r3458 [x86_64-linux-2.6.32.12] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     SAMSUNG SpinPoint F1 DT
Device Model:     SAMSUNG HD103UJ
Serial Number:    xxxxxxxxxxxxx
LU WWN Device Id: xxxxxxxxxxxxxx
Firmware Version: 1AA01113
User Capacity:    1,000,204,886,016 bytes [1.00 TB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  ATA-8-ACS revision 3b
Local Time is:    Sat Apr 21 20:54:22 2012 CEST
SMART support is: Available – device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0×00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection:                (11825) seconds.
Offline data collection
capabilities:                    (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities:            (0×0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability:        (0×01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        ( 198) minutes.
Conveyance self-test routine
recommended polling time:        (  21) minutes.
SCT capabilities:              (0x003f) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate     0x000f   099   099   051    Pre-fail  Always       -       795
3 Spin_Up_Time            0×0007   068   068   011    Pre-fail  Always       -       10510
4 Start_Stop_Count        0×0032   099   099   000    Old_age   Always       -       1293
5 Reallocated_Sector_Ct   0×0033   100   100   010    Pre-fail  Always       -       0
7 Seek_Error_Rate         0x000f   253   253   051    Pre-fail  Always       -       0
8 Seek_Time_Performance   0×0025   100   100   015    Pre-fail  Offline      -       9824
9 Power_On_Hours          0×0032   099   099   000    Old_age   Always       -       4090
10 Spin_Retry_Count        0×0033   100   100   051    Pre-fail  Always       -       0
11 Calibration_Retry_Count 0×0012   100   100   000    Old_age   Always       -       0
12 Power_Cycle_Count       0×0032   100   100   000    Old_age   Always       -       369
13 Read_Soft_Error_Rate    0x000e   099   099   000    Old_age   Always       -       791
183 Runtime_Bad_Block       0×0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0×0033   100   100   000    Pre-fail  Always       -       0
187 Reported_Uncorrect      0×0032   100   100   000    Old_age   Always       -       1583
188 Command_Timeout         0×0032   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0×0022   074   061   000    Old_age   Always       -       26 (Min/Max 15/26)
194 Temperature_Celsius     0×0022   074   059   000    Old_age   Always       -       26 (Min/Max 15/27)
195 Hardware_ECC_Recovered  0x001a   100   100   000    Old_age   Always       -       147764
196 Reallocated_Event_Count 0×0032   100   100   000    Old_age   Always       -       1
197 Current_Pending_Sector  0×0012   100   041   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0×0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   100   100   000    Old_age   Always       -       104
200 Multi_Zone_Error_Rate   0x000a   100   100   000    Old_age   Always       -       0
201 Soft_Read_Error_Rate    0x000a   253   253   000    Old_age   Always       -       0

SMART Error Log Version: 1
ATA Error Count: 6 (device log contains only the most recent five errors)
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It « wraps » after 49.710 days.

Error 6 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
— – — – — – –
40 51 00 03 69 6b eb  Error: UNC at LBA = 0x0b6b6903 = 191588611

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
— – — – — – — –  —————-  ——————–
c8 00 c8 f8 68 6b eb 00      00:52:35.110  READ DMA
ef 10 02 00 00 00 a0 00      00:52:35.100  SET FEATURES [Reserved for Serial ATA]
ec 00 00 00 00 00 a0 00      00:52:35.090  IDENTIFY DEVICE
ef 03 46 00 00 00 a0 00      00:52:35.090  SET FEATURES [Set transfer mode]
ef 10 02 00 00 00 a0 00      00:52:35.090  SET FEATURES [Reserved for Serial ATA]

Error 5 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
— – — – — – –
40 51 00 03 69 6b eb  Error: UNC at LBA = 0x0b6b6903 = 191588611

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
— – — – — – — –  —————-  ——————–
c8 00 c8 f8 68 6b eb 00      00:52:33.170  READ DMA
ef 10 02 00 00 00 a0 00      00:52:33.160  SET FEATURES [Reserved for Serial ATA]
ec 00 00 00 00 00 a0 00      00:52:33.150  IDENTIFY DEVICE
ef 03 46 00 00 00 a0 00      00:52:33.150  SET FEATURES [Set transfer mode]
ef 10 02 00 00 00 a0 00      00:52:33.150  SET FEATURES [Reserved for Serial ATA]

Error 4 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
— – — – — – –
40 51 00 03 69 6b eb  Error: UNC at LBA = 0x0b6b6903 = 191588611

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
— – — – — – — –  —————-  ——————–
c8 00 c8 f8 68 6b eb 00      00:52:31.190  READ DMA
ef 10 02 00 00 00 a0 00      00:52:31.190  SET FEATURES [Reserved for Serial ATA]
ec 00 00 00 00 00 a0 00      00:52:31.180  IDENTIFY DEVICE
ef 03 46 00 00 00 a0 00      00:52:31.180  SET FEATURES [Set transfer mode]
ef 10 02 00 00 00 a0 00      00:52:31.180  SET FEATURES [Reserved for Serial ATA]

Error 3 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
— – — – — – –
40 51 00 03 69 6b eb  Error: UNC at LBA = 0x0b6b6903 = 191588611

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
— – — – — – — –  —————-  ——————–
c8 00 c8 f8 68 6b eb 00      00:52:29.220  READ DMA
ef 10 02 00 00 00 a0 00      00:52:29.210  SET FEATURES [Reserved for Serial ATA]
ec 00 00 00 00 00 a0 00      00:52:29.210  IDENTIFY DEVICE
ef 03 46 00 00 00 a0 00      00:52:29.210  SET FEATURES [Set transfer mode]
ef 10 02 00 00 00 a0 00      00:52:29.210  SET FEATURES [Reserved for Serial ATA]

Error 2 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
— – — – — – –
40 51 00 03 69 6b eb  Error: UNC at LBA = 0x0b6b6903 = 191588611

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
— – — – — – — –  —————-  ——————–
c8 00 c8 f8 68 6b eb 00      00:52:27.190  READ DMA
ef 10 02 00 00 00 a0 00      00:52:27.180  SET FEATURES [Reserved for Serial ATA]
ec 00 00 00 00 00 a0 00      00:52:27.170  IDENTIFY DEVICE
ef 03 46 00 00 00 a0 00      00:52:27.170  SET FEATURES [Set transfer mode]
ef 10 02 00 00 00 a0 00      00:52:27.170  SET FEATURES [Reserved for Serial ATA]

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%      4077         -
# 2  Extended offline    Completed without error       00%      4031         -
# 3  Short offline       Completed without error       00%      4022         -
# 4  Short offline       Completed: read failure       20%      4011         190530609
# 5  Short offline       Completed: read failure       20%      4010         190558849
# 6  Short offline       Completed without error       00%      2062         -
2 of 2 failed self-tests are outdated by newer successful extended offline self-test # 2

SMART Selective self-test log data structure revision number 1
SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
1        0        0  Not_testing
2        0        0  Not_testing
3        0        0  Not_testing
4        0        0  Not_testing
5        0        0  Not_testing
Selective self-test flags (0×0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

 

Bon… assez indigeste…et pas toujours compréhensible…  mais il est clair, que les deux lignes que j’ai mise en rouge ci-dessus ne sont pas pour me rassurer …. Si quelqu’un sait interpréter correctement ces résultats , qu’il n’hésite pas à l’indiquer !

Update : vous pouvez consulter également mon autre article sur les informations S.M.A.R.T. des disques durs .

Articles en relation avec celui-ci

Cette entrée a été publiée dans Astuces/Tips, Informatique, Nas, avec comme mot(s)-clef(s) , , , , , , . Vous pouvez la mettre en favoris avec ce permalien.

2 réponses à Tips : Obtenir des infos S.M.A.R.T. plus détaillées sur un Nas Synology

  1. Minicou dit :

    Je n’ai pas la reponse a ta question mais je poste juste ce message pour te remercier !!! En effet suite a l’achat dun NAS D212+, je suis tomber sur ton site par hasard et je me regale a lire tous tes posts…ton site ne vas plus quitter mes favories !!!!
    Mille merci pour tous tes articles !

    Minicou

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *

*

Vous pouvez utiliser ces balises et attributs HTML : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>