Bonjour, et merci,
J'ai 3 disques : le principal et 2 secondaires pour les sauvegardes (un interne et un externe).
Les retours de la première commande sont les suivants :
- Pour le
disque sda (disque interne de sauvegarde)
etienne@etienne-MS-7597:~$ sudo smartctl -s on -S on -o on -a /dev/sda
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-47-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.12
Device Model: ST3500418AS
Serial Number: 9VMXV738
LU WWN Device Id: 5 000c50 02da77f9e
Firmware Version: CC46
User Capacity: 500107862016 bytes [500 GB]
Sector Size: 512 bytes logical/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 2.6, 3.0 Gb/s
Local Time is: Tue Apr 16 14:21:27 2019 CEST
==> WARNING: A firmware update for this drive may be available,
see the following Seagate web pages:
http://knowledge.seagate.com/articles/en_US/FAQ/207931en
http://knowledge.seagate.com/articles/en_US/FAQ/213891en
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
SMART Attribute Autosave Enabled.
SMART Automatic Offline Testing Enabled every four hours.
=== 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: ( 83) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x103f) 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 114 099 006 Pre-fail Always - 58931795
3 Spin_Up_Time 0x0003 097 097 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 057 057 020 Old_age Always - 44985
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 7
7 Seek_Error_Rate 0x000f 078 060 030 Pre-fail Always - 76525678
9 Power_On_Hours 0x0032 068 068 000 Old_age Always - 28449
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 079 079 020 Old_age Always - 22292
183 Runtime_Bad_Block 0x0032 099 099 000 Old_age Always - 1
184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
188 Command_Timeout 0x0032 100 097 000 Old_age Always - 4295032895
189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0022 066 048 045 Old_age Always - 34 (Min/Max 24/34)
194 Temperature_Celsius 0x0022 034 052 000 Old_age Always - 34 (0 15 0 0 0)
195 Hardware_ECC_Recovered 0x001a 018 007 000 Old_age Always - 58931795
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 - 40344 (148 128 0)
241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 2054864965
242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 1574082172
SMART Error Log Version: 1
No Errors Logged
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.
-
Sur le sdb = disque principal
etienne@etienne-MS-7597:~$ sudo smartctl -s on -S on -o on -a /dev/sdb
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-47-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: SAMSUNG SpinPoint F3
Device Model: SAMSUNG HD103SJ
Serial Number: S246J9KB917470
LU WWN Device Id: 5 0024e9 2062674b5
Firmware Version: 1AJ10001
User Capacity: 1000204886016 bytes [1,00 TB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS T13/1699-D revision 6
SATA Version is: SATA 2.6, 3.0 Gb/s
Local Time is: Tue Apr 16 14:22:45 2019 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
SMART Attribute Autosave Enabled.
SMART Automatic Offline Testing Enabled every four hours.
=== 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: ( 9420) 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: ( 157) 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 0x002f 100 100 051 Pre-fail Always - 3
2 Throughput_Performance 0x0026 252 252 000 Old_age Always - 0
3 Spin_Up_Time 0x0023 071 070 025 Pre-fail Always - 8806
4 Start_Stop_Count 0x0032 099 099 000 Old_age Always - 1045
5 Reallocated_Sector_Ct 0x0033 252 252 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 252 252 051 Old_age Always - 0
8 Seek_Time_Performance 0x0024 252 252 015 Old_age Offline - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 7116
10 Spin_Retry_Count 0x0032 252 252 051 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 252 252 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 1047
191 G-Sense_Error_Rate 0x0022 252 252 000 Old_age Always - 0
192 Power-Off_Retract_Count 0x0022 252 252 000 Old_age Always - 0
194 Temperature_Celsius 0x0002 064 054 000 Old_age Always - 32 (Min/Max 11/46)
195 Hardware_ECC_Recovered 0x003a 100 100 000 Old_age Always - 0
196 Reallocated_Event_Count 0x0032 252 252 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 252 252 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 252 252 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0036 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x002a 100 100 000 Old_age Always - 197
223 Load_Retry_Count 0x0032 252 252 000 Old_age Always - 0
225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 1064
SMART Error Log Version: 1
No Errors Logged
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 0
Note: revision number not 1 implies that no selective self-test has ever been run
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Completed [00% left] (0-65535)
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.
-
Sur le sdc = disque externe
etienne@etienne-MS-7597:~$ sudo smartctl -s on -S on -o on -a /dev/sdc
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-47-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
Read Device Identity failed: scsi error unsupported field in scsi command
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
-
J'ajoute la commande sur sdc1 :
etienne@etienne-MS-7597:~$ sudo smartctl -s on -S on -o on -a /dev/sdc1
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-47-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Vendor: Seagate
Product: BUP Slim BK
Revision: 0304
Compliance: SPC-4
User Capacity: 2000398933504 bytes [2,00 TB]
Logical block size: 512 bytes
Logical Unit id: 0x5000000000000001
Serial number: NA9KTPH0
Device type: disk
Local Time is: Tue Apr 16 14:20:35 2019 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Disabled
Temperature Warning: Disabled or Not Supported
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
Informational Exceptions (SMART) disabled
Temperature warning disabled
Enable autosave (clear GLTSD bit) failed
=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK
Current Drive Temperature: 0 C
Drive Trip Temperature: 0 C
Error Counter logging not supported
Device does not support Self Test logging
La commande
cat /proc/sys/vm/swappiness retourne le nombre
60
Enfin, à un moment
le disque dur semblait s'emballer, et j'ai donc lancé les commandes demandées, mais il est revenu à la normale :
etienne@etienne-MS-7597:~$ top -b -n1 | head -22
top - 13:55:50 up 5 days, 19:29, 2 users, load average: 8,56, 4,41, 1,95
Tâches: 488 total, 3 en cours, 332 en veille, 0 arrêté, 0 zombie
%Cpu(s): 34,7 ut, 9,3 sy, 0,2 ni, 54,9 id, 0,8 wa, 0,0 hi, 0,2 si, 0,0 st
KiB Mem : 11996976 total, 335248 libr, 9653108 util, 2008620 tamp/cache
KiB Éch: 999420 total, 353772 libr, 645648 util. 871124 dispo Mem
PID UTIL. PR NI VIRT RES SHR S %CPU %MEM TEMPS+ COM.
2457 etienne 20 0 3532672 588472 149792 S 61,5 4,9 315:19.83 firefox
2829 etienne 20 0 4004872 1,594g 128868 R 19,2 13,9 138:17.37 Web Content
28675 etienne 20 0 51696 4528 3512 R 7,7 0,0 0:00.03 top
3024 etienne 20 0 3026316 588512 37548 S 3,8 4,9 426:35.11 Web Content
22988 etienne 20 0 2294736 576204 40736 S 3,8 4,8 10:47.26 chrome
1 root 20 0 226408 6336 2908 S 0,0 0,1 0:23.49 systemd
2 root 20 0 0 0 0 S 0,0 0,0 0:00.06 kthreadd
4 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 kworker/0:+
6 root 0 -20 0 0 0 I 0,0 0,0 0:00.00 mm_percpu_+
7 root 20 0 0 0 0 S 0,0 0,0 0:01.57 ksoftirqd/0
8 root 20 0 0 0 0 I 0,0 0,0 0:51.53 rcu_sched
9 root 20 0 0 0 0 I 0,0 0,0 0:00.00 rcu_bh
10 root rt 0 0 0 0 S 0,0 0,0 0:00.12 migration/0
11 root rt 0 0 0 0 S 0,0 0,0 0:00.17 watchdog/0
12 root 20 0 0 0 0 S 0,0 0,0 0:00.00 cpuhp/0
etienne@etienne-MS-7597:~$ top -b -n1 -o %MEM | head -22
top - 13:56:04 up 5 days, 19:29, 2 users, load average: 7,39, 4,30, 1,94
Tâches: 488 total, 1 en cours, 334 en veille, 0 arrêté, 0 zombie
%Cpu(s): 34,7 ut, 9,3 sy, 0,2 ni, 54,9 id, 0,8 wa, 0,0 hi, 0,2 si, 0,0 st
KiB Mem : 11996976 total, 323436 libr, 9662816 util, 2010724 tamp/cache
KiB Éch: 999420 total, 353772 libr, 645648 util. 860144 dispo Mem
PID UTIL. PR NI VIRT RES SHR S %CPU %MEM TEMPS+ COM.
2829 etienne 20 0 4002824 1,596g 128868 S 0,0 13,9 138:18.90 Web Content
26016 etienne 20 0 2422472 846432 23368 S 0,0 7,1 1:09.97 soffice.bin
10783 etienne 20 0 3335012 759536 21988 S 0,0 6,3 9:36.36 chrome
3024 etienne 20 0 3026316 594752 37548 S 0,0 5,0 426:35.23 Web Content
2457 etienne 20 0 3532656 591876 153964 S 100,0 4,9 315:33.72 firefox
22988 etienne 20 0 2294736 576480 40752 S 0,0 4,8 10:47.29 chrome
2706 etienne 20 0 8331784 404828 36996 S 0,0 3,4 16:59.52 WebExtensi+
26902 etienne 20 0 2099236 380540 68292 S 5,9 3,2 4:56.47 chrome
2131 etienne 20 0 4051760 379612 42184 S 5,9 3,2 29:56.62 gnome-shell
12196 etienne 20 0 2225224 318224 53888 S 0,0 2,7 14:02.39 Web Content
3913 etienne 20 0 1318716 303892 29928 S 0,0 2,5 1:59.44 remmina
1997 etienne 20 0 1016908 255660 223000 S 0,0 2,1 43:05.45 Xorg
2402 etienne 20 0 3415592 229820 7168 S 0,0 1,9 2:09.05 dropbox
27700 etienne 20 0 1911128 205204 62708 S 0,0 1,7 0:55.80 Web Content
23109 etienne 20 0 1844316 198200 54572 S 0,0 1,7 1:32.42 Web Content