J'aimerais le retour de
sudo smartctl --smart=on --offlineauto=on --saveauto=on /dev/sda
en fait.
Pour donner un exemple, le retour à poster sur le forum devrait ressembler à ça
naziel@naziel-desktop:~$ sudo smartctl -a /dev/sda
[sudo] Mot de passe de naziel :
Désolé, essayez de nouveau.
[sudo] Mot de passe de naziel :
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-4.15.0-65-generic] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.14 (AF)
Device Model: ST500DM002-1BD142
Serial Number: S2AG0KD4
LU WWN Device Id: 5 000c50 06197b2aa
Firmware Version: KC65
User Capacity: 500107862016 bytes [500 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 7200 rpm
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS T13/1699-D revision 4
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Mon Oct 21 15:41:17 2019 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: (0x82) Offline data collection activity
was completed without error.
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: ( 600) 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: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 79) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x303f) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 10
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 113 099 006 Pre-fail Always - 53654328
3 Spin_Up_Time 0x0003 100 100 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 099 099 020 Old_age Always - 1124
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 084 060 030 Pre-fail Always - 308400549
9 Power_On_Hours 0x0032 086 086 000 Old_age Always - 12939
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 099 099 020 Old_age Always - 1124
183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0
184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0
187 Reported_Uncorrect 0x0032 001 001 000 Old_age Always - 200
188 Command_Timeout 0x0032 100 100 000 Old_age Always - 0 0 0
189 High_Fly_Writes 0x003a 076 076 000 Old_age Always - 24
190 Airflow_Temperature_Cel 0x0022 072 062 045 Old_age Always - 28 (Min/Max 21/28)
194 Temperature_Celsius 0x0022 028 040 000 Old_age Always - 28 (0 10 0 0 0)
195 Hardware_ECC_Recovered 0x001a 036 027 000 Old_age Always - 53654328
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 12928h+23m+24.687s
241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 3660608821
242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 918878550
SMART Error Log Version: 1
ATA Error Count: 198 (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 198 occurred at disk power-on lifetime: 11786 hours (491 days + 2 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 40 8a 78 0b Error: WP at LBA = 0x0b788a40 = 192449088
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
61 00 08 ff ff ff 4f 00 18:18:32.898 WRITE FPDMA QUEUED
61 00 08 88 93 5b 40 00 18:18:32.897 WRITE FPDMA QUEUED
61 00 08 ff ff ff 4f 00 18:18:32.897 WRITE FPDMA QUEUED
61 00 08 48 db 5b 40 00 18:18:32.896 WRITE FPDMA QUEUED
61 00 08 ff ff ff 4f 00 18:18:32.895 WRITE FPDMA QUEUED
Error 197 occurred at disk power-on lifetime: 11786 hours (491 days + 2 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 40 8a 78 0b Error: WP at LBA = 0x0b788a40 = 192449088
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
61 00 08 f8 9a 00 40 00 18:18:28.994 WRITE FPDMA QUEUED
61 00 08 90 93 5b 40 00 18:18:28.993 WRITE FPDMA QUEUED
61 00 08 ff ff ff 4f 00 18:18:28.993 WRITE FPDMA QUEUED
61 00 08 98 9b 61 40 00 18:18:28.992 WRITE FPDMA QUEUED
61 00 18 ff ff ff 4f 00 18:18:28.991 WRITE FPDMA QUEUED
Error 196 occurred at disk power-on lifetime: 11786 hours (491 days + 2 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 40 8a 78 0b Error: WP at LBA = 0x0b788a40 = 192449088
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
61 00 08 88 93 5b 40 00 18:18:25.098 WRITE FPDMA QUEUED
61 00 08 f8 9a 00 40 00 18:18:25.098 WRITE FPDMA QUEUED
61 00 08 58 77 77 40 00 18:18:25.097 WRITE FPDMA QUEUED
61 00 08 98 9b 61 40 00 18:18:25.097 WRITE FPDMA QUEUED
61 00 08 90 93 5b 40 00 18:18:25.097 WRITE FPDMA QUEUED
Error 195 occurred at disk power-on lifetime: 11786 hours (491 days + 2 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 40 8a 78 0b Error: WP at LBA = 0x0b788a40 = 192449088
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
61 00 08 ff ff ff 4f 00 18:18:21.155 WRITE FPDMA QUEUED
61 00 08 90 93 5b 40 00 18:18:21.155 WRITE FPDMA QUEUED
61 00 08 ff ff ff 4f 00 18:18:21.154 WRITE FPDMA QUEUED
61 00 08 f8 9a 00 40 00 18:18:21.153 WRITE FPDMA QUEUED
61 00 30 a0 da 5b 40 00 18:18:21.153 WRITE FPDMA QUEUED
Error 194 occurred at disk power-on lifetime: 11786 hours (491 days + 2 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 40 8a 78 0b Error: WP at LBA = 0x0b788a40 = 192449088
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
61 00 08 ff ff ff 4f 00 18:18:17.359 WRITE FPDMA QUEUED
61 00 01 58 c2 49 40 00 18:18:17.359 WRITE FPDMA QUEUED
60 00 20 40 8a 78 4b 00 18:18:17.359 READ FPDMA QUEUED
61 00 10 50 77 77 40 00 18:18:17.358 WRITE FPDMA QUEUED
61 00 08 20 2a 9d 4a 00 18:18:17.358 WRITE FPDMA QUEUED
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
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.
naziel@naziel-desktop:~$
(c'est un pavé de ce type que je vais ensuite interpréter)