Avec mes excuses
ubuntu@ubuntu:~$ smartmontools
smartmontools : commande introuvable
ubuntu@ubuntu:~$ sudo apt-get install --no-install-recommends smartmontools
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Paquets suggérés :
gsmartcontrol smart-notifier
Paquets recommandés :
mailx | mailutils
Les NOUVEAUX paquets suivants seront installés :
smartmontools
0 mis à jour, 1 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 464 ko dans les archives.
Après cette opération, 1774 ko d'espace disque supplémentaires seront utilisés.
Réception de:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 smartmontools amd64 6.5+svn4324-1 [464 kB]
464 ko réceptionnés en 0s (2586 ko/s)
Sélection du paquet smartmontools précédemment désélectionné.
(Lecture de la base de données... 144040 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../smartmontools_6.5+svn4324-1_amd64.deb ...
Dépaquetage de smartmontools (6.5+svn4324-1) ...
Traitement des actions différées (« triggers ») pour ureadahead (0.100.0-20) ...
Paramétrage de smartmontools (6.5+svn4324-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/smartd.service → /lib/systemd/system/smartd.service.
Traitement des actions différées (« triggers ») pour systemd (237-3ubuntu10.3) ...
Traitement des actions différées (« triggers ») pour man-db (2.8.3-2) ...
Traitement des actions différées (« triggers ») pour ureadahead (0.100.0-20) ...
ubuntu@ubuntu:~$ sudo smartctl --smart=on --offlineauto=on --saveauto=on /dev/sdb
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-29-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
SMART Attribute Autosave Enabled.
SMART Automatic Offline Testing Enabled every four hours.
ubuntu@ubuntu:~$ sudo smartctl -s on -a /dev/sdb
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-29-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Maxtor DiamondMax Plus 9
Device Model: Maxtor 6Y060L0
Serial Number: Y2RX13PE
Firmware Version: YAR41VW0
User Capacity: 61492838400 bytes [61,4 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA/ATAPI-7 T13/1532D revision 0
Local Time is: Mon Dec 17 14:22:57 2018 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: FAILED!
Drive failure expected in less than 24 hours. SAVE ALL DATA.
See vendor-specific Attribute list for failed Attributes.
General SMART Values:
Offline data collection status: (0x85) Offline data collection activity
was aborted by an interrupting command from host.
Auto Offline Data Collection: Enabled.
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: ( 181) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
No General Purpose Logging support.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 33) minutes.
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
3 Spin_Up_Time 0x0027 225 222 063 Pre-fail Always - 9760
4 Start_Stop_Count 0x0032 250 250 000 Old_age Always - 6734
5 Reallocated_Sector_Ct 0x0033 031 001 063 Pre-fail Always FAILING_NOW 2252
6 Read_Channel_Margin 0x0001 253 253 100 Pre-fail Offline - 0
7 Seek_Error_Rate 0x000a 253 243 000 Old_age Always - 0
8 Seek_Time_Performance 0x0027 251 239 187 Pre-fail Always - 32857
9 Power_On_Minutes 0x0032 214 214 000 Old_age Always - 429h+14m
10 Spin_Retry_Count 0x002b 253 252 157 Pre-fail Always - 0
11 Calibration_Retry_Count 0x002b 253 252 223 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 241 241 000 Old_age Always - 5012
192 Power-Off_Retract_Count 0x0032 253 253 000 Old_age Always - 0
193 Load_Cycle_Count 0x0032 253 253 000 Old_age Always - 0
194 Temperature_Celsius 0x0032 253 253 000 Old_age Always - 37
195 Hardware_ECC_Recovered 0x000a 253 252 000 Old_age Always - 1482
196 Reallocated_Event_Count 0x0008 001 001 000 Old_age Offline - 3347
197 Current_Pending_Sector 0x0008 109 076 000 Old_age Offline - 1463
198 Offline_Uncorrectable 0x0008 001 001 000 Old_age Offline - 55593
199 UDMA_CRC_Error_Count 0x0008 001 001 000 Old_age Offline - 4727
200 Multi_Zone_Error_Rate 0x000a 253 252 000 Old_age Always - 0
201 Soft_Read_Error_Rate 0x000a 252 244 000 Old_age Always - 1230
202 Data_Address_Mark_Errs 0x000a 253 122 000 Old_age Always - 0
203 Run_Out_Cancel 0x000b 253 235 180 Pre-fail Always - 22
204 Soft_ECC_Correction 0x000a 253 001 000 Old_age Always - 0
205 Thermal_Asperity_Rate 0x000a 253 252 000 Old_age Always - 0
207 Spin_High_Current 0x002a 253 252 000 Old_age Always - 0
208 Spin_Buzz 0x002a 253 252 000 Old_age Always - 0
209 Offline_Seek_Performnce 0x0024 191 188 000 Old_age Offline - 0
99 Unknown_Attribute 0x0004 253 253 000 Old_age Offline - 0
100 Unknown_Attribute 0x0004 253 253 000 Old_age Offline - 0
101 Unknown_Attribute 0x0004 253 253 000 Old_age Offline - 0
SMART Error Log Version: 1
Warning: ATA error count 33786 inconsistent with error log pointer 5
ATA Error Count: 33786 (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 33786 occurred at disk power-on lifetime: 12688 hours (528 days + 16 hours)
When the command that caused the error occurred, the device was in an unknown state.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 08 40 2e 04 f0 Error: UNC 8 sectors at LBA = 0x00042e40 = 273984
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 08 40 2e 04 f0 08 06:06:01.280 READ DMA
ca 00 00 00 a4 32 f5 08 06:06:01.248 WRITE DMA
f8 00 00 00 00 00 f0 08 06:06:01.248 READ NATIVE MAX ADDRESS [OBS-ACS-3]
ec 00 00 00 00 00 b0 0a 06:06:01.248 IDENTIFY DEVICE
ef 03 42 00 00 00 b0 0a 06:06:01.248 SET FEATURES [Set transfer mode]
Error 33785 occurred at disk power-on lifetime: 12688 hours (528 days + 16 hours)
When the command that caused the error occurred, the device was in an unknown state.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 20 40 2e 04 f0 Error: UNC 32 sectors at LBA = 0x00042e40 = 273984
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 20 40 2e 04 f0 08 06:06:00.224 READ DMA
ca 00 00 00 a3 32 f5 08 06:06:00.192 WRITE DMA
ca 00 00 00 a2 32 f5 08 06:06:00.176 WRITE DMA
c8 00 20 48 28 04 f0 08 06:06:00.176 READ DMA
ca 00 00 00 a1 32 f5 08 06:06:00.160 WRITE DMA
Error 33784 occurred at disk power-on lifetime: 12688 hours (528 days + 16 hours)
When the command that caused the error occurred, the device was in an unknown state.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 08 00 08 00 f5 Error: UNC 8 sectors at LBA = 0x05000800 = 83888128
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 08 00 08 00 f5 08 06:05:20.528 READ DMA
ca 00 00 00 72 ff f4 08 06:05:20.512 WRITE DMA
ca 00 00 00 71 ff f4 08 06:05:20.512 WRITE DMA
ca 00 00 00 70 ff f4 08 06:05:20.512 WRITE DMA
ca 00 00 00 6f ff f4 08 06:05:20.496 WRITE DMA
Error 33783 occurred at disk power-on lifetime: 12688 hours (528 days + 16 hours)
When the command that caused the error occurred, the device was in an unknown state.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 08 00 08 00 f5 Error: UNC 8 sectors at LBA = 0x05000800 = 83888128
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 08 00 08 00 f5 08 06:05:19.424 READ DMA
ca 00 00 00 6c ff f4 08 06:05:19.408 WRITE DMA
ca 00 00 00 6b ff f4 08 06:05:19.408 WRITE DMA
ca 00 00 00 6a ff f4 08 06:05:19.408 WRITE DMA
ca 00 00 00 69 ff f4 08 06:05:19.392 WRITE DMA
Error 33782 occurred at disk power-on lifetime: 12688 hours (528 days + 16 hours)
When the command that caused the error occurred, the device was in an unknown state.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 08 00 08 40 f4 Error: UNC 8 sectors at LBA = 0x04400800 = 71305216
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 08 00 08 40 f4 08 06:01:45.248 READ DMA
ca 00 00 08 79 3f f4 08 06:01:45.216 WRITE DMA
ca 00 00 08 78 3f f4 08 06:01:45.216 WRITE DMA
e7 00 00 07 78 3f b0 08 06:01:45.200 FLUSH CACHE
ca 00 00 08 77 3f f4 08 06:01:45.184 WRITE DMA
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% 2787 -
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 (0x0):
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.
ubuntu@ubuntu