[moimoi@localhost ~]$ su -
Mot de passe :
Dernière connexion : samedi 4 avril 2015 à 15:10:15 CEST sur pts/0
[root@localhost ~]# yum install smartmontools
Modules complémentaires chargés : langpacks, refresh-packagekit
fedora-source/20/x86_64/metalink | 29 kB 00:00
updates/20/x86_64/metalink | 28 kB 00:00
updates | 4.9 kB 00:00
updates-source/20/x86_64/metalink | 27 kB 00:00
updates-source | 3.7 kB 00:00
(1/2): updates-source/20/x86_64/primary_db | 2.2 MB 00:02
(2/2): updates/20/x86_64/primary_db | 13 MB 00:08
(1/4): updates/20/x86_64/updateinfo | 1.9 MB 00:02
(2/4): updates/20/x86_64/pkgtags | 1.4 MB 00:01
(3/4): updates-source/20/x86_64/updateinfo | 1.9 MB 00:02
(4/4): updates-source/20/x86_64/pkgtags | 1.4 MB 00:02
Le paquet 1:smartmontools-6.2-6.fc20.x86_64 est déjà installé dans sa dernière version
Rien à faire
[root@localhost ~]# exit
déconnexion
[moimoi@localhost ~]$
[moimoi@localhost ~]$ smartctl -a /dev/sdX
smartctl 6.2 2014-07-16 r3952 [x86_64-linux-3.18.9-100.fc20.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
Smartctl open device: /dev/sdX failed: No such device
[moimoi@localhost ~]$ smartctl -a /dev/sda
smartctl 6.2 2014-07-16 r3952 [x86_64-linux-3.18.9-100.fc20.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
Smartctl open device: /dev/sda failed: Permission denied
[moimoi@localhost ~]$ smartctl -a /dev/sdb
smartctl 6.2 2014-07-16 r3952 [x86_64-linux-3.18.9-100.fc20.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
Smartctl open device: /dev/sdb failed: Permission denied
[moimoi@localhost ~]$ su -
Mot de passe :
Dernière connexion : samedi 4 avril 2015 à 15:26:29 CEST sur pts/0
[root@localhost ~]# smartctl -a /dev/sdx
smartctl 6.2 2014-07-16 r3952 [x86_64-linux-3.18.9-100.fc20.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
Smartctl open device: /dev/sdx failed: No such device
[root@localhost ~]# smartctl -a /dev/
smartctl 6.2 2014-07-16 r3952 [x86_64-linux-3.18.9-100.fc20.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
/dev/: Unable to detect device type
Please specify device type with the -d option.
Use smartctl -h to get a usage summary
[root@localhost ~]# smart --info dev/sda/
bash: smart: commande inconnue...
[root@localhost ~]# smartctl -a /dev/sdb
smartctl 6.2 2014-07-16 r3952 [x86_64-linux-3.18.9-100.fc20.x86_64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Maxtor DiamondMax 20
Device Model: MAXTOR STM3802110A
Serial Number: 4LR4R74B
Firmware Version: 3.AAK
User Capacity: 80 026 361 856 bytes [80,0 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA/ATAPI-7 (minor revision not indicated)
Local Time is: Sat Apr 4 15:42:28 2015 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: ( 430) 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: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 27) minutes.
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 088 006 Pre-fail Always - 242463135
3 Spin_Up_Time 0x0003 093 093 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 095 095 020 Old_age Always - 5810
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 084 060 030 Pre-fail Always - 288476382
9 Power_On_Hours 0x0032 071 071 000 Old_age Always - 25429
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 096 096 020 Old_age Always - 4862
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0022 066 050 045 Old_age Always - 34 (Min/Max 20/34)
194 Temperature_Celsius 0x0022 034 050 000 Old_age Always - 34 (0 17 0 0 0)
195 Hardware_ECC_Recovered 0x001a 053 046 000 Old_age Always - 35776009
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
200 Multi_Zone_Error_Rate 0x0000 100 253 000 Old_age Offline - 0
202 Data_Address_Mark_Errs 0x0032 100 253 000 Old_age Always - 0
SMART Error Log Version: 1
ATA Error Count: 1
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 1 occurred at disk power-on lifetime: 2661 hours (110 days + 21 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
-- -- -- -- -- -- --
84 51 00 00 00 00 f0 Error: ICRC, ABRT at LBA = 0x00000000 = 0
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
25 03 01 00 00 00 f0 00 09:10:38.209 READ DMA EXT
ef 03 44 ff ff 00 f0 00 00:00:09.744 SET FEATURES [Set transfer mode]
ec 00 01 ff ff 00 f0 00 00:00:04.570 IDENTIFY DEVICE
00 00 02 00 00 00 00 02 00:00:04.568 NOP [Abort queued commands]
ff ff ff ff ff ff ff ff 00:00:04.554 [VENDOR SPECIFIC]
SMART Self-test log structure revision number 1
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.
[root@localhost ~]# ^C
[root@localhost ~]#
Présentation corrigée le dimanche 5 mars.