L'activité de mon disque dur m'inquiète !
Lami René
lami at webestrie.com
Dim 2 Déc 15:16:48 UTC 2007
Maxime Steisel a écrit :
> Le 02/12/07, *Christophe Meessen* <christophe at meessen.net
> <mailto:christophe at meessen.net>> a écrit :
>
> paco.f2 at wanadoo.fr <mailto:paco.f2 at wanadoo.fr> a écrit :
> > Christophe Meessen a écrit :
> >
> >> La commande df vous donnera la liste des disques durs.
> >> Vous y verrez un disque /dev/sda1 etc.
> >>
> >> Ensuite exécutez la commande suivante (notez qu'on n'indique
> pas le n°)
> >> $ smartctl -a /dev/sda
> >>
> Petite précision:
> $ smartctl -A /dev/sda
>
> Limite la sortie aux paramètres intéressant.
> J'ai testé sur plusieurs ordinateurs et certains disques ne sont pas
> supportés.
> Les informations affichées doivent être considérées avec prudence.
> > Chez moi ca n'a pas l'air de fonctionner (sauf erreur de ma part
> ?):
> >
> > paco at paco:$ smartctl -a /dev/sda
> >
> ...
> > Device: TOSHIBA MK4025GAS Version: KA10
> > Device type: disk
> > Local Time is: Sat Dec 1 23:19:22 2007 CET
> > Device does not support SMART
> >
> Voilà l'explication. Votre disque ne supporte pas la fonction SMART.
> SMART est un système de monitoring de l'état du disque intégré
> dans son
> contrôleur.
> --
> ubuntu-fr mailing list
> ubuntu-fr at lists.ubuntu.com <mailto:ubuntu-fr at lists.ubuntu.com>
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr
>
>
> Dans le cas de paco, /dev/sda represente apparemment un disque dur
> externe et /dev/hda le disque dur interne. La commande à executer est
> donc : sudo smartctl -a /dev/hda si c'est le disque dur interne de
> l'ordinateur qui pose problème.
> --
> Maxime
Bonjour Maxime,
Merci pour ton aide !
Voici ce que j'ai essayé :
rene at PIII800:~$ smartctl -A /dev/sda
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
Probable ATA device behind a SAT layer
Try an additional '-d ata' or '-d sat' argument.
Ajout du paramètre « -d ata » :
rene at PIII800:~$ smartctl -A -d ata /dev/sda
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)
A mandatory SMART command failed: exiting. To continue, add one or more
'-T permissive' options.
Ajout du paramètre « -T permissive » :
rene at PIII800:~$ smartctl -A -d ata -T permissive /dev/sda
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show
if SMART supported.
A mandatory SMART command failed: exiting. To continue, add one or more
'-T permissive' options.
Ajout du « sudo » :
rene at PIII800:~$ sudo smartctl -A -d ata /dev/sda
[sudo] password for rene:
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
SMART Disabled. Use option -s with argument 'on' to enable it.
Ajout du paramètre « -s on » :
rene at PIII800:~$ sudo smartctl -s on -A -d ata /dev/sda
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
=== START OF READ SMART DATA SECTION ===
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 117 100 006 Pre-fail
Always - 128034907
3 Spin_Up_Time 0x0003 096 095 000 Pre-fail
Always - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age
Always - 126
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail
Always - 0
7 Seek_Error_Rate 0x000f 072 060 030 Pre-fail
Always - 15654243
9 Power_On_Hours 0x0032 100 100 000 Old_age
Always - 361
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail
Always - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age
Always - 418
187 Unknown_Attribute 0x0032 100 100 000 Old_age
Always - 0
189 Unknown_Attribute 0x003a 100 100 000 Old_age
Always - 0
190 Temperature_Celsius 0x0022 061 047 045 Old_age
Always - 656867367
194 Temperature_Celsius 0x0022 039 053 000 Old_age
Always - 39 (Lifetime Min/Max 0/27)
195 Hardware_ECC_Recovered 0x001a 072 058 000 Old_age
Always - 132018263
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 TA_Increase_Count 0x0032 100 253 000 Old_age
Always - 0
rene at PIII800:~$
Là j'ai des colonnes et « Power_On_Hours » est à 100 et «
Power_Cycle_Count » est aussi à 100, donc j'en conclu que cela confirme
que mes disques dur sont toujours actifs !
Maintenant que le problème est confirmé, comment résoudre le problème de
accès disque permanent ?
Merci d'avance a tout le monde pour votre aide !
L'ami René
P.-S. : La commande sans le paramètre « -A » mais avec « -a » donne cela :
rene at PIII800:~$ sudo smartctl -s on -a -d ata /dev/sda
[sudo] password for rene:
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.10 family
Device Model: ST3250620A
Serial Number: 5QF3EEBX
Firmware Version: 3.AAE
User Capacity: 250 059 350 016 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 7
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Sun Dec 2 10:11:42 2007 EST
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: (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: ( 74) 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 117 100 006 Pre-fail
Always - 128034907
3 Spin_Up_Time 0x0003 096 095 000 Pre-fail
Always - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age
Always - 126
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail
Always - 0
7 Seek_Error_Rate 0x000f 072 060 030 Pre-fail
Always - 15664327
9 Power_On_Hours 0x0032 100 100 000 Old_age
Always - 361
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail
Always - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age
Always - 418
187 Unknown_Attribute 0x0032 100 100 000 Old_age
Always - 0
189 Unknown_Attribute 0x003a 100 100 000 Old_age
Always - 0
190 Temperature_Celsius 0x0022 061 047 045 Old_age
Always - 656867367
194 Temperature_Celsius 0x0022 039 053 000 Old_age
Always - 39 (Lifetime Min/Max 0/27)
195 Hardware_ECC_Recovered 0x001a 072 058 000 Old_age
Always - 135116535
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 TA_Increase_Count 0x0032 100 253 000 Old_age
Always - 0
SMART Error Log Version: 1
No Errors Logged
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%
104 -
# 2 Short offline Completed without error 00%
4 -
# 3 Short offline Completed without error 00%
4 -
# 4 Short offline Completed without error 00%
3 -
# 5 Short offline Completed without error 00%
0 -
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.
rene at PIII800:~$
La commande sans le paramètre « -a » donne cela :
rene at PIII800:~$ sudo smartctl -s on -d ata /dev/sda
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
rene at PIII800:~$
Encore Merci !!
Plus d'informations sur la liste de diffusion ubuntu-fr