Merci à toi de te pencher sur mon cas.
ubuntu@ubuntu:~$ sudo apt-get update
Ign cdrom://Ubuntu 14.04.6 LTS _Trusty Tahr_ - Release i386 (20190304.5) trusty InRelease
Ign cdrom://Ubuntu 14.04.6 LTS _Trusty Tahr_ - Release i386 (20190304.5) trusty/main Translation-en_US
Ign cdrom://Ubuntu 14.04.6 LTS _Trusty Tahr_ - Release i386 (20190304.5) trusty/main Translation-en
Ign cdrom://Ubuntu 14.04.6 LTS _Trusty Tahr_ - Release i386 (20190304.5) trusty/restricted Translation-en_US
Ign cdrom://Ubuntu 14.04.6 LTS _Trusty Tahr_ - Release i386 (20190304.5) trusty/restricted Translation-en
Get:1 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Ign http://archive.ubuntu.com trusty InRelease
Get:2 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Hit http://archive.ubuntu.com trusty Release.gpg
Get:3 http://security.ubuntu.com trusty-security/main i386 Packages [748 kB]
Hit http://archive.ubuntu.com trusty Release
Get:4 http://archive.ubuntu.com trusty-updates/main i386 Packages [1,089 kB]
Get:5 http://security.ubuntu.com trusty-security/restricted i386 Packages [13.9 kB]
Get:6 http://security.ubuntu.com trusty-security/main Translation-en [448 kB]
Get:7 http://security.ubuntu.com trusty-security/restricted Translation-en [3,556 B]
Get:8 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [17.0 kB]
Get:9 http://archive.ubuntu.com trusty-updates/main Translation-en [582 kB]
Get:10 http://archive.ubuntu.com trusty-updates/restricted Translation-en [4,028 B]
Hit http://archive.ubuntu.com trusty/main i386 Packages
Hit http://archive.ubuntu.com trusty/restricted i386 Packages
Hit http://archive.ubuntu.com trusty/main Translation-en
Hit http://archive.ubuntu.com trusty/restricted Translation-en
Ign http://archive.ubuntu.com trusty/main Translation-en_US
Ign http://archive.ubuntu.com trusty/restricted Translation-en_US
Fetched 3,038 kB in 8s (340 kB/s)
Reading package lists... Done
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ sudo apt install smartmontools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
bsd-mailx postfix
Suggested packages:
procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre sasl2-bin
dovecot-common postfix-cdb postfix-doc gsmartcontrol smart-notifier
Recommended packages:
mailx mailutils
The following NEW packages will be installed:
bsd-mailx postfix smartmontools
0 upgraded, 3 newly installed, 0 to remove and 68 not upgraded.
Need to get 1,536 kB of archives.
After this operation, 4,986 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main postfix i386 2.11.0-1ubuntu1.2 [1,048 kB]
Get:2 http://security.ubuntu.com/ubuntu/ trusty-security/main bsd-mailx i386 8.1.2-0.20131005cvs-1ubuntu0.14.04.1 [58.4 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main smartmontools i386 6.2+svn3841-1.2ubuntu0.1 [429 kB]
Fetched 1,536 kB in 0s (2,894 kB/s)
Preconfiguring packages ...
Selecting previously unselected package postfix.
(Reading database ... 176911 files and directories currently installed.)
Preparing to unpack .../postfix_2.11.0-1ubuntu1.2_i386.deb ...
Unpacking postfix (2.11.0-1ubuntu1.2) ...
Selecting previously unselected package bsd-mailx.
Preparing to unpack .../bsd-mailx_8.1.2-0.20131005cvs-1ubuntu0.14.04.1_i386.deb ...
Unpacking bsd-mailx (8.1.2-0.20131005cvs-1ubuntu0.14.04.1) ...
Selecting previously unselected package smartmontools.
Preparing to unpack .../smartmontools_6.2+svn3841-1.2ubuntu0.1_i386.deb ...
Unpacking smartmontools (6.2+svn3841-1.2ubuntu0.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for ufw (0.34~rc-0ubuntu2) ...
Setting up postfix (2.11.0-1ubuntu1.2) ...
Adding group `postfix' (GID 125) ...
Done.
Adding system user `postfix' (UID 116) ...
Adding new user `postfix' (UID 116) with group `postfix' ...
Not creating home directory `/var/spool/postfix'.
Creating /etc/postfix/dynamicmaps.cf
Adding tcp map entry to /etc/postfix/dynamicmaps.cf
Adding sqlite map entry to /etc/postfix/dynamicmaps.cf
Adding group `postdrop' (GID 126) ...
Done.
/etc/aliases does not exist, creating it.
Postfix was not set up. Start with
cp /usr/share/postfix/main.cf.debian /etc/postfix/main.cf
. If you need to make changes, edit
/etc/postfix/main.cf (and others) as needed. To view Postfix configuration
values, see postconf(1).
After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.
Setting up smartmontools (6.2+svn3841-1.2ubuntu0.1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for ufw (0.34~rc-0ubuntu2) ...
Setting up bsd-mailx (8.1.2-0.20131005cvs-1ubuntu0.14.04.1) ...
update-alternatives: using /usr/bin/bsd-mailx to provide /usr/bin/mailx (mailx) in auto mode
Processing triggers for libc-bin (2.19-0ubuntu6.14) ...
ubuntu@ubuntu:~$
J'avoue ne pas avoir compris pourquoi tu me demandes d'installer un serveur de mail, si c'est le cas.
ubuntu@ubuntu:~$ sudo smartctl --smart=on --offlineauto=on --saveauto=on /dev/sda
smartctl 6.2 2013-07-26 r3841 [i686-linux-4.4.0-142-generic] (local build)
Copyright (C) 2002-13, 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:~$
Et le dernier :
ubuntu@ubuntu:~$ sudo smartctl -s on -a /dev/sda
smartctl 6.2 2013-07-26 r3841 [i686-linux-4.4.0-142-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Toshiba 2.5" HDD MK..59GSXP (AF)
Device Model: TOSHIBA MK6459GSXP
Serial Number: 12G4C0GUT
LU WWN Device Id: 5 000039 3c3487ba6
Firmware Version: GT001H
User Capacity: 640,135,028,736 bytes [640 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 5400 rpm
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS (minor revision not indicated)
SATA Version is: SATA 2.6, 3.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Wed Jul 24 14:01:04 2019 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: PASSED
General SMART Values:
Offline data collection status: (0x80) Offline data collection activity
was never started.
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: ( 120) 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.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 208) minutes.
SCT capabilities: (0x003d) 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 0x000b 100 100 050 Pre-fail Always - 0
2 Throughput_Performance 0x0005 100 100 050 Pre-fail Offline - 0
3 Spin_Up_Time 0x0027 100 100 001 Pre-fail Always - 1229
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 8543
5 Reallocated_Sector_Ct 0x0033 100 100 050 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 100 100 050 Pre-fail Offline - 0
9 Power_On_Hours 0x0032 039 039 000 Old_age Always - 24589
10 Spin_Retry_Count 0x0033 253 100 030 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 6774
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 628
192 Power-Off_Retract_Count 0x0032 099 099 000 Old_age Always - 504
193 Load_Cycle_Count 0x0032 086 086 000 Old_age Always - 147850
194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 38 (Min/Max 3/55)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
220 Disk_Shift 0x0002 100 100 000 Old_age Always - 68
222 Loaded_Hours 0x0032 047 047 000 Old_age Always - 21410
223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 0
224 Load_Friction 0x0022 100 100 000 Old_age Always - 0
226 Load-in_Time 0x0026 100 100 000 Old_age Always - 323
240 Head_Flying_Hours 0x0001 100 100 001 Pre-fail Offline - 0
SMART Error Log Version: 1
ATA Error Count: 7 (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 7 occurred at disk power-on lifetime: 18009 hours (750 days + 9 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 41 42 d8 f2 87 65 Error: WP at LBA = 0x0587f2d8 = 92795608
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 90 e8 48 ef ce 40 00 19:16:05.017 WRITE FPDMA QUEUED
61 08 e0 10 2c 8c 40 00 19:16:05.016 WRITE FPDMA QUEUED
60 08 d8 00 e0 88 40 00 19:16:03.418 READ FPDMA QUEUED
60 38 d0 28 9b f5 40 00 19:16:03.011 READ FPDMA QUEUED
60 10 c8 f8 9a f5 40 00 19:16:03.011 READ FPDMA QUEUED
Error 6 occurred at disk power-on lifetime: 18009 hours (750 days + 9 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 41 1a d8 f2 87 65 Error: WP at LBA = 0x0587f2d8 = 92795608
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 08 28 38 3f ce 40 00 18:51:24.616 WRITE FPDMA QUEUED
60 08 20 40 f2 87 40 00 18:51:24.616 READ FPDMA QUEUED
60 08 18 d8 f2 87 40 00 18:51:24.616 READ FPDMA QUEUED
ea 00 00 00 00 00 a0 00 18:51:24.561 FLUSH CACHE EXT
61 e8 08 50 3e ce 40 00 18:51:24.560 WRITE FPDMA QUEUED
Error 5 occurred at disk power-on lifetime: 18009 hours (750 days + 9 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 41 62 d8 f2 87 65 Error: WP at LBA = 0x0587f2d8 = 92795608
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 80 10 60 3a ce 40 00 18:51:19.169 WRITE FPDMA QUEUED
61 18 08 48 97 a2 40 00 18:51:19.168 WRITE FPDMA QUEUED
61 d0 00 00 60 09 40 00 18:51:16.007 WRITE FPDMA QUEUED
61 00 f0 00 58 09 40 00 18:51:16.007 WRITE FPDMA QUEUED
61 00 e8 00 50 09 40 00 18:51:16.007 WRITE FPDMA QUEUED
Error 4 occurred at disk power-on lifetime: 18008 hours (750 days + 8 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 41 ea d8 f2 87 65 Error: UNC at LBA = 0x0587f2d8 = 92795608
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
60 08 20 20 f2 87 40 00 18:30:38.333 READ FPDMA QUEUED
60 08 18 00 f3 87 40 00 18:30:38.333 READ FPDMA QUEUED
60 08 10 f8 f2 87 40 00 18:30:38.333 READ FPDMA QUEUED
60 08 08 f0 f2 87 40 00 18:30:38.333 READ FPDMA QUEUED
60 08 00 e8 f2 87 40 00 18:30:38.333 READ FPDMA QUEUED
Error 3 occurred at disk power-on lifetime: 18008 hours (750 days + 8 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 41 aa d8 f2 87 65 Error: WP at LBA = 0x0587f2d8 = 92795608
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 10 b0 58 db 88 40 00 18:16:31.843 WRITE FPDMA QUEUED
61 08 a0 08 db 88 40 00 18:16:30.664 WRITE FPDMA QUEUED
61 08 98 d8 da 88 40 00 18:16:30.664 WRITE FPDMA QUEUED
61 08 90 98 da 88 40 00 18:16:30.664 WRITE FPDMA QUEUED
61 10 88 58 d9 88 40 00 18:16:30.664 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.
ubuntu@ubuntu:~$
Finalement, je pense avoir compris où tu voulais en venir maintenant le détail....
Merci