Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 06/10/2021, à 08:04

hyacinthus

Échec de l'autotest (court ou étendu) d'estimation globale du disque

Salut,

Il y a deux semaines, la lanière de mon sac en bandoulière a subitement lâchée, alors que je me tenais debout dans la rue, et le sac -ainsi que l'ordinateur portable qui s'y trouvait- chut d'un peu plus de la moitié de ma hauteur et heurta l'asphalte du trottoir. Preuve du choc, la coque s'est fissurée en un angle de l'ordinateur.

Celui-ci démarre toujours. Le système d'exploitation de Windows démarrait, mais celui d'Ubuntu lançait la busybox. Après l'fsck que suggérait la busybox, j'ai pu retrouver Ubuntu, qui est tout de même beaucoup plus long.

Les donnée S.M.A.R.T. et autotests du logiciel Disques m'indiquaient deux secteurs défectueux, mais son auto-estimation est que le seuil est non-dépassé. L'autotest, en revanche, échoue systématiquement à dépasser les dix pour cent d'analyse ("Autotest en cours --- 90 % restant"), puis renonce d'un "échec de l'auto-test" en capitales rouges. Après ces échecs, le logiciel disque indiquait trois, puis cinq, puis neuf secteurs défectueux.

J'ai acheté un disque dur externe pour copier les données importantes de mon disque dur, ai copié la plupart de celles-ci, et en ai emprunté un nouveau en attendant.
J'y reviens deux semaines plus tard pour achever ces copies de sauvegarde et pour tenter de résoudre le problème.

J'en suis là, à présent :
- mon ordinateur est un Easynote ENLG81BA
- Ubuntu 20.04.3 LTS est significativement plus lent au démarrage et à l'utilisation de Firefox qu'il ne l'était avant le choc ;
- Windows 10 fonctionne mieux ;
- les deux systèmes d'exploitation sont sur des partitions distinctes d'un même disque dur [modèle : ST1000LM024 HN-M101MBB (2BA30001)] dont 9 secteurs sont reconnus défectueux ;
- Je n'ai guère testé les autres applications, ni n'ai mis à jour le système d'exploitation ;
- les autotests court et étendu du logiciel Disques faillent systématiquement alors que 90 % du test semble encore à faire) ;
- le logiciel Disques auto-estime que le seuil n'est pas dépassé.

Que devrais-je faire ?

Merci d'avoir pris le temps de me lire,
H.

Dernière modification par hyacinthus (Le 06/10/2021, à 09:25)

Hors ligne

#2 Le 06/10/2021, à 08:52

geole

Re : Échec de l'autotest (court ou étendu) d'estimation globale du disque

Bonjour.
Peux-tu publier le rapport smartctl?

sudo smartctl -s on -a /dev/sda

Àprès une chute, je serais surpris qu'il n'y ait que 9 secteurs impactés.
Si c'est vrai, la commande hdparm bien paramétrée va remettre en état.

Dernière modification par geole (Le 06/10/2021, à 08:53)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#3 Le 06/10/2021, à 09:28

hyacinthus

Re : Échec de l'autotest (court ou étendu) d'estimation globale du disque

Bonjour Geole,

Merci beaucoup pour ta réponse.

Voici le rapport de la commande smartctl :

###:/$ sudo smartctl -s on -a /dev/sda
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-88-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Samsung SpinPoint M8 (AF)
Device Model:     ST1000LM024 HN-M101MBB
Serial Number:    S31QJ9CG804810
LU WWN Device Id: 5 0004cf 21050e48b
Firmware Version: 2BA30001
User Capacity:    1000204886016 bytes [1,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      2.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 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Wed Oct  6 10:28:07 2021 CEST
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:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      ( 121)	The previous self-test completed having
					the read element of the test failed.
Total time to complete Offline 
data collection: 		(12300) 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: 	 ( 205) 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       -       4660
  2 Throughput_Performance  0x0026   056   056   000    Old_age   Always       -       11194
  3 Spin_Up_Time            0x0023   092   088   025    Pre-fail  Always       -       2468
  4 Start_Stop_Count        0x0032   082   082   000    Old_age   Always       -       18263
  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       -       12068
 10 Spin_Retry_Count        0x0032   252   252   051    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   096   096   000    Old_age   Always       -       4433
191 G-Sense_Error_Rate      0x0022   100   100   000    Old_age   Always       -       207
192 Power-Off_Retract_Count 0x0022   100   100   000    Old_age   Always       -       163
194 Temperature_Celsius     0x0002   064   039   000    Old_age   Always       -       29 (Min/Max 5/61)
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   100   100   000    Old_age   Always       -       9
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       -       30501
223 Load_Retry_Count        0x0032   100   100   000    Old_age   Always       -       646
225 Load_Cycle_Count        0x0032   065   065   000    Old_age   Always       -       361278

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: read failure       90%     12067         109692008
# 2  Short offline       Completed: read failure       90%     12066         109692008
# 3  Extended offline    Completed: read failure       90%     12065         109692008
# 4  Short offline       Completed: read failure       90%     12065         109692008
# 5  Extended offline    Aborted by host               90%     12028         -
# 6  Extended offline    Completed: read failure       90%     12028         109692008
# 7  Short offline       Interrupted (host reset)      80%     12028         -
# 8  Short offline       Interrupted (host reset)      90%     12028         -
# 9  Short offline       Completed: read failure       90%     12027         109692008
#10  Short offline       Completed: read failure       90%     12027         109692008
#11  Short offline       Completed: read failure       70%     12026         109692008
#12  Extended offline    Completed: read failure       90%     12025         109692008
#13  Short offline       Completed without error       00%      9910         -
#14  Short offline       Completed without error       00%      5182         -
#15  Short offline       Completed: read failure       90%      4838         91263656
#16  Short offline       Completed: read failure       90%      4838         91263656
#17  Short offline       Completed without error       00%      4829         -
#18  Short offline       Completed without error       00%      4829         -
#19  Extended offline    Completed without error       00%      4824         -
#20  Extended offline    Aborted by host               80%      4821         -
#21  Extended offline    Aborted by host               40%      4820         -

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_read_failure [90% 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.

Dernière modification par hyacinthus (Le 06/10/2021, à 09:58)

Hors ligne

#4 Le 06/10/2021, à 10:02

geole

Re : Échec de l'autotest (court ou étendu) d'estimation globale du disque

Vu cela

197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       9

Sector Sizes:     512 bytes logical, 4096 bytes physical

 Short offline       Completed: read failure       90%     12067         109692008

Tu vas réparer 8 secteurs de cette façon

Sect=109692008
for    (( I=0; I < 8; I++ ));  do
       sudo   hdparm    --yes-i-know-what-i-am-doing    --read-sector   $(($Sect+$I))  /dev/sda
       sleep 5
done

Puis tu relanceras un test court pour trouver le neuvième secteur que tu répareras de la même façon
puis tu lanceras un test long afin de voir s'il n'y en a pas d'autres

 sudo smartctl  -t select,0-1999999999   /dev/sda    

et tu posteras un retour la commande

sudo smartctl -A /dev/sda 

lorsque cette commande de test sera finie
Pour son suivi

sudo smartctl -a /dev/sda | grep left

Dernière modification par geole (Le 06/10/2021, à 10:05)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#5 Le 06/10/2021, à 10:43

hyacinthus

Re : Échec de l'autotest (court ou étendu) d'estimation globale du disque

Salut Geole,

Merci encore.

Je n'étais pas trop sûr de savoir s'il me fallait faire "entrer" entre chacune des lignes de ta commande ou tout taper à la suite.
J'ai finalement copié ta commande depuis le forum, collée dans le terminal. Le terminal a récupéré le formatage du forum, avec la mise à la ligne correspondante, mais précédée d'un symbole ">".

J'espère qu'il fallait bien faire ainsi.

Après avoir appuyé sur entrée, voici le résultat de ma réparation des huit secteurs :

###:/$ Sect=109692008
###:/$ Sect=109692008
###:/$ for    (( I=0; I < 8; I++ ));  do
>        sudo   hdparm    --yes-i-know-what-i-am-doing    --read-sector   $(($Sect+$I))  /dev/sda
>        sleep 5
> done
[sudo] Mot de passe de ### : 

/dev/sda:
reading sector 109692008: SG_IO: bad/missing sense data, sb[]:  70 00 03 00 00 00 00 0a 40 51 e6 01 11 04 00 00 00 68 00 00 00 00 00 00 00 00 00 00 00 00 00 00
succeeded
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000

/dev/sda:
reading sector 109692009: SG_IO: bad/missing sense data, sb[]:  70 00 03 00 00 00 00 0a 40 51 e6 01 11 04 00 00 00 69 00 00 00 00 00 00 00 00 00 00 00 00 00 00
succeeded
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000

/dev/sda:
reading sector 109692010: SG_IO: bad/missing sense data, sb[]:  70 00 03 00 00 00 00 0a 40 51 e6 01 11 04 00 00 00 6a 00 00 00 00 00 00 00 00 00 00 00 00 00 00
succeeded
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000

/dev/sda:
reading sector 109692011: SG_IO: bad/missing sense data, sb[]:  70 00 03 00 00 00 00 0a 40 51 e6 01 11 04 00 00 00 6b 00 00 00 00 00 00 00 00 00 00 00 00 00 00
succeeded
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000

/dev/sda:
reading sector 109692012: SG_IO: bad/missing sense data, sb[]:  70 00 03 00 00 00 00 0a 40 51 e6 01 11 04 00 00 00 6c 00 00 00 00 00 00 00 00 00 00 00 00 00 00
succeeded
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000

/dev/sda:
reading sector 109692013: SG_IO: bad/missing sense data, sb[]:  70 00 03 00 00 00 00 0a 40 51 e6 01 11 04 00 00 00 6d 00 00 00 00 00 00 00 00 00 00 00 00 00 00
succeeded
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000

/dev/sda:
reading sector 109692014: SG_IO: bad/missing sense data, sb[]:  70 00 03 00 00 00 00 0a 40 51 e6 01 11 04 00 00 00 6e 00 00 00 00 00 00 00 00 00 00 00 00 00 00
succeeded
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000

/dev/sda:
reading sector 109692015: SG_IO: bad/missing sense data, sb[]:  70 00 03 00 00 00 00 0a 40 51 e6 01 11 04 00 00 00 6f 00 00 00 00 00 00 00 00 00 00 00 00 00 00
succeeded
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000

Puis celui de mon test court (mais je réalise que tu me prescrivais probablement de faire un test court depuis l'interface graphique de Disques, est-ce le cas ?) :

###:/$ sudo smartctl -s on -a /dev/sda
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-88-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Samsung SpinPoint M8 (AF)
Device Model:     ST1000LM024 HN-M101MBB
Serial Number:    S31QJ9CG804810
LU WWN Device Id: 5 0004cf 21050e48b
Firmware Version: 2BA30001
User Capacity:    1000204886016 bytes [1,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      2.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 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Wed Oct  6 11:34:09 2021 CEST
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:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      ( 121)	The previous self-test completed having
					the read element of the test failed.
Total time to complete Offline 
data collection: 		(12300) 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: 	 ( 205) 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       -       4746
  2 Throughput_Performance  0x0026   056   056   000    Old_age   Always       -       11194
  3 Spin_Up_Time            0x0023   092   088   025    Pre-fail  Always       -       2468
  4 Start_Stop_Count        0x0032   082   082   000    Old_age   Always       -       18263
  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       -       12069
 10 Spin_Retry_Count        0x0032   252   252   051    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   096   096   000    Old_age   Always       -       4433
191 G-Sense_Error_Rate      0x0022   100   100   000    Old_age   Always       -       207
192 Power-Off_Retract_Count 0x0022   100   100   000    Old_age   Always       -       163
194 Temperature_Celsius     0x0002   064   039   000    Old_age   Always       -       35 (Min/Max 5/61)
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   100   100   000    Old_age   Always       -       9
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       -       30506
223 Load_Retry_Count        0x0032   100   100   000    Old_age   Always       -       646
225 Load_Cycle_Count        0x0032   065   065   000    Old_age   Always       -       361278

SMART Error Log Version: 1
ATA Error Count: 8 (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 8 occurred at disk power-on lifetime: 12069 hours (502 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
  -- -- -- -- -- -- --
  40 51 01 6f c4 89 e6  Error: UNC at LBA = 0x0689c46f = 109692015

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  20 00 01 6f c4 89 e6 00      00:00:15.860  READ SECTOR(S)
  ec 00 01 00 00 00 40 00      00:00:15.860  IDENTIFY DEVICE
  ea 00 00 00 00 00 e0 00      00:00:15.859  FLUSH CACHE EXT
  35 00 08 b8 00 56 e0 00      00:00:15.859  WRITE DMA EXT
  ea 00 00 00 00 00 e0 00      00:00:15.859  FLUSH CACHE EXT

Error 7 occurred at disk power-on lifetime: 12069 hours (502 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
  -- -- -- -- -- -- --
  40 51 01 6e c4 89 e6  Error: UNC at LBA = 0x0689c46e = 109692014

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  20 00 01 6e c4 89 e6 00      00:00:15.852  READ SECTOR(S)
  ec 00 01 00 00 00 40 00      00:00:15.852  IDENTIFY DEVICE
  ca 00 08 18 fa c0 e9 00      00:00:15.851  WRITE DMA
  ca 00 20 10 75 54 e7 00      00:00:15.851  WRITE DMA
  ca 00 18 f0 74 54 e7 00      00:00:15.851  WRITE DMA

Error 6 occurred at disk power-on lifetime: 12069 hours (502 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
  -- -- -- -- -- -- --
  40 51 01 6d c4 89 e6  Error: UNC at LBA = 0x0689c46d = 109692013

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  20 00 01 6d c4 89 e6 00      00:00:15.843  READ SECTOR(S)
  ec 00 01 00 00 00 40 00      00:00:15.843  IDENTIFY DEVICE
  e5 00 00 00 00 00 00 00      00:00:15.842  CHECK POWER MODE
  ea 00 00 00 00 00 e0 00      00:00:15.840  FLUSH CACHE EXT
  ca 00 08 88 8a 5e e9 00      00:00:15.840  WRITE DMA

Error 5 occurred at disk power-on lifetime: 12069 hours (502 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
  -- -- -- -- -- -- --
  40 51 01 6c c4 89 e6  Error: UNC at LBA = 0x0689c46c = 109692012

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  20 00 01 6c c4 89 e6 00      00:00:15.834  READ SECTOR(S)
  ec 00 01 00 00 00 40 00      00:00:15.834  IDENTIFY DEVICE
  e5 00 00 00 00 00 00 00      00:00:15.832  CHECK POWER MODE
  25 00 08 30 3a 0f e0 00      00:00:15.832  READ DMA EXT
  ea 00 00 00 00 00 e0 00      00:00:15.831  FLUSH CACHE EXT

Error 4 occurred at disk power-on lifetime: 12069 hours (502 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
  -- -- -- -- -- -- --
  40 51 01 6b c4 89 e6  Error: UNC at LBA = 0x0689c46b = 109692011

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  20 00 01 6b c4 89 e6 00      00:00:15.826  READ SECTOR(S)
  ec 00 01 00 00 00 40 00      00:00:15.826  IDENTIFY DEVICE
  ea 00 00 00 00 00 e0 00      00:00:15.823  FLUSH CACHE EXT
  ca 00 08 18 8a 5e e9 00      00:00:15.823  WRITE DMA
  ea 00 00 00 00 00 e0 00      00:00:15.823  FLUSH CACHE EXT

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed: read failure       90%     12067         109692008
# 2  Short offline       Completed: read failure       90%     12066         109692008
# 3  Extended offline    Completed: read failure       90%     12065         109692008
# 4  Short offline       Completed: read failure       90%     12065         109692008
# 5  Extended offline    Aborted by host               90%     12028         -
# 6  Extended offline    Completed: read failure       90%     12028         109692008
# 7  Short offline       Interrupted (host reset)      80%     12028         -
# 8  Short offline       Interrupted (host reset)      90%     12028         -
# 9  Short offline       Completed: read failure       90%     12027         109692008
#10  Short offline       Completed: read failure       90%     12027         109692008
#11  Short offline       Completed: read failure       70%     12026         109692008
#12  Extended offline    Completed: read failure       90%     12025         109692008
#13  Short offline       Completed without error       00%      9910         -
#14  Short offline       Completed without error       00%      5182         -
#15  Short offline       Completed: read failure       90%      4838         91263656
#16  Short offline       Completed: read failure       90%      4838         91263656
#17  Short offline       Completed without error       00%      4829         -
#18  Short offline       Completed without error       00%      4829         -
#19  Extended offline    Completed without error       00%      4824         -
#20  Extended offline    Aborted by host               80%      4821         -
#21  Extended offline    Aborted by host               40%      4820         -

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_read_failure [90% 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.

Je ne suis pas sûr de comprendre comment saisir identifier le 9e secteur défectueux et donc que répéter, pour le réparer de la même façon.
Dois-je plutôt faire un test depuis l'interface graphique de Disques ?
(Désolé de ne pas parfaitement comprendre tes instructions).

[on dirait que ces erreurs sont antérieures au choc].

Dernière modification par hyacinthus (Le 06/10/2021, à 11:00)

Hors ligne

#6 Le 06/10/2021, à 11:56

geole

Re : Échec de l'autotest (court ou étendu) d'estimation globale du disque

Je me suis trompé dans la copie de la commande de réparation!!!! J'ai fourni celle du diagnostic.
Voici la bonne. A faire comme tu as fait

Sect=109692008
for    (( I=0; I < 8; I++ ));  do
       sudo   hdparm    --yes-i-know-what-i-am-doing    --write-sector   $(($Sect+$I))  /dev/sda
       sleep 5
done

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#7 Le 06/10/2021, à 13:42

hyacinthus

Re : Échec de l'autotest (court ou étendu) d'estimation globale du disque

Voici les résultats :

###:/$ Sect=109692008
###:/$ for    (( I=0; I < 8; I++ ));  do
>        sudo   hdparm    --yes-i-know-what-i-am-doing    --write-sector   $(($Sect+$I))  /dev/sda
>        sleep 5
> done
[sudo] Mot de passe de ### : 

/dev/sda:
re-writing sector 109692008: succeeded

/dev/sda:
re-writing sector 109692009: succeeded

/dev/sda:
re-writing sector 109692010: succeeded

/dev/sda:
re-writing sector 109692011: succeeded

/dev/sda:
re-writing sector 109692012: succeeded

/dev/sda:
re-writing sector 109692013: succeeded

/dev/sda:
re-writing sector 109692014: succeeded

/dev/sda:
re-writing sector 109692015: succeeded

puis :

###:/$ sudo smartctl -s on -a /dev/sda
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-88-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Samsung SpinPoint M8 (AF)
Device Model:     ST1000LM024 HN-M101MBB
Serial Number:    S31QJ9CG804810
LU WWN Device Id: 5 0004cf 21050e48b
Firmware Version: 2BA30001
User Capacity:    1000204886016 bytes [1,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      2.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 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Wed Oct  6 14:39:42 2021 CEST
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:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      ( 121)	The previous self-test completed having
					the read element of the test failed.
Total time to complete Offline 
data collection: 		(12300) 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: 	 ( 205) 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       -       4901
  2 Throughput_Performance  0x0026   056   056   000    Old_age   Always       -       11194
  3 Spin_Up_Time            0x0023   092   088   025    Pre-fail  Always       -       2460
  4 Start_Stop_Count        0x0032   082   082   000    Old_age   Always       -       18264
  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       -       12070
 10 Spin_Retry_Count        0x0032   252   252   051    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   096   096   000    Old_age   Always       -       4434
191 G-Sense_Error_Rate      0x0022   100   100   000    Old_age   Always       -       207
192 Power-Off_Retract_Count 0x0022   100   100   000    Old_age   Always       -       163
194 Temperature_Celsius     0x0002   064   039   000    Old_age   Always       -       30 (Min/Max 5/61)
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   100   100   000    Old_age   Always       -       8
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       -       30508
223 Load_Retry_Count        0x0032   100   100   000    Old_age   Always       -       646
225 Load_Cycle_Count        0x0032   065   065   000    Old_age   Always       -       361279

SMART Error Log Version: 1
ATA Error Count: 8 (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 8 occurred at disk power-on lifetime: 12069 hours (502 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
  -- -- -- -- -- -- --
  40 51 01 6f c4 89 e6  Error: UNC at LBA = 0x0689c46f = 109692015

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  20 00 01 6f c4 89 e6 00      00:00:15.860  READ SECTOR(S)
  ec 00 01 00 00 00 40 00      00:00:15.860  IDENTIFY DEVICE
  ea 00 00 00 00 00 e0 00      00:00:15.859  FLUSH CACHE EXT
  35 00 08 b8 00 56 e0 00      00:00:15.859  WRITE DMA EXT
  ea 00 00 00 00 00 e0 00      00:00:15.859  FLUSH CACHE EXT

Error 7 occurred at disk power-on lifetime: 12069 hours (502 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
  -- -- -- -- -- -- --
  40 51 01 6e c4 89 e6  Error: UNC at LBA = 0x0689c46e = 109692014

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  20 00 01 6e c4 89 e6 00      00:00:15.852  READ SECTOR(S)
  ec 00 01 00 00 00 40 00      00:00:15.852  IDENTIFY DEVICE
  ca 00 08 18 fa c0 e9 00      00:00:15.851  WRITE DMA
  ca 00 20 10 75 54 e7 00      00:00:15.851  WRITE DMA
  ca 00 18 f0 74 54 e7 00      00:00:15.851  WRITE DMA

Error 6 occurred at disk power-on lifetime: 12069 hours (502 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
  -- -- -- -- -- -- --
  40 51 01 6d c4 89 e6  Error: UNC at LBA = 0x0689c46d = 109692013

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  20 00 01 6d c4 89 e6 00      00:00:15.843  READ SECTOR(S)
  ec 00 01 00 00 00 40 00      00:00:15.843  IDENTIFY DEVICE
  e5 00 00 00 00 00 00 00      00:00:15.842  CHECK POWER MODE
  ea 00 00 00 00 00 e0 00      00:00:15.840  FLUSH CACHE EXT
  ca 00 08 88 8a 5e e9 00      00:00:15.840  WRITE DMA

Error 5 occurred at disk power-on lifetime: 12069 hours (502 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
  -- -- -- -- -- -- --
  40 51 01 6c c4 89 e6  Error: UNC at LBA = 0x0689c46c = 109692012

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  20 00 01 6c c4 89 e6 00      00:00:15.834  READ SECTOR(S)
  ec 00 01 00 00 00 40 00      00:00:15.834  IDENTIFY DEVICE
  e5 00 00 00 00 00 00 00      00:00:15.832  CHECK POWER MODE
  25 00 08 30 3a 0f e0 00      00:00:15.832  READ DMA EXT
  ea 00 00 00 00 00 e0 00      00:00:15.831  FLUSH CACHE EXT

Error 4 occurred at disk power-on lifetime: 12069 hours (502 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
  -- -- -- -- -- -- --
  40 51 01 6b c4 89 e6  Error: UNC at LBA = 0x0689c46b = 109692011

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  20 00 01 6b c4 89 e6 00      00:00:15.826  READ SECTOR(S)
  ec 00 01 00 00 00 40 00      00:00:15.826  IDENTIFY DEVICE
  ea 00 00 00 00 00 e0 00      00:00:15.823  FLUSH CACHE EXT
  ca 00 08 18 8a 5e e9 00      00:00:15.823  WRITE DMA
  ea 00 00 00 00 00 e0 00      00:00:15.823  FLUSH CACHE EXT

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed: read failure       90%     12067         109692008
# 2  Short offline       Completed: read failure       90%     12066         109692008
# 3  Extended offline    Completed: read failure       90%     12065         109692008
# 4  Short offline       Completed: read failure       90%     12065         109692008
# 5  Extended offline    Aborted by host               90%     12028         -
# 6  Extended offline    Completed: read failure       90%     12028         109692008
# 7  Short offline       Interrupted (host reset)      80%     12028         -
# 8  Short offline       Interrupted (host reset)      90%     12028         -
# 9  Short offline       Completed: read failure       90%     12027         109692008
#10  Short offline       Completed: read failure       90%     12027         109692008
#11  Short offline       Completed: read failure       70%     12026         109692008
#12  Extended offline    Completed: read failure       90%     12025         109692008
#13  Short offline       Completed without error       00%      9910         -
#14  Short offline       Completed without error       00%      5182         -
#15  Short offline       Completed: read failure       90%      4838         91263656
#16  Short offline       Completed: read failure       90%      4838         91263656
#17  Short offline       Completed without error       00%      4829         -
#18  Short offline       Completed without error       00%      4829         -
#19  Extended offline    Completed without error       00%      4824         -
#20  Extended offline    Aborted by host               80%      4821         -
#21  Extended offline    Aborted by host               40%      4820         -

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_read_failure [90% 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.

Hors ligne

#8 Le 06/10/2021, à 14:15

geole

Re : Échec de l'autotest (court ou étendu) d'estimation globale du disque

Il  faut maintenant relancer un test court
S'il plante, tu redonnes le retour de la commande smartctl
S'il ne plante pas, il faut lancer un test long, suivre son exécution et lorsque c'est terminé, donner  le retour de la commande smartctl


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#9 Le 06/10/2021, à 14:23

hyacinthus

Re : Échec de l'autotest (court ou étendu) d'estimation globale du disque

Le test court a planté : "échec de l'auto-test" (alors qu'il restait 90 % à faire).

Voici le retour de la commande smartctl :

###:/$ sudo smartctl -s on -a /dev/sda
[sudo] Mot de passe de ### : 
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-88-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Samsung SpinPoint M8 (AF)
Device Model:     ST1000LM024 HN-M101MBB
Serial Number:    S31QJ9CG804810
LU WWN Device Id: 5 0004cf 21050e48b
Firmware Version: 2BA30001
User Capacity:    1000204886016 bytes [1,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      2.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 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Wed Oct  6 15:22:01 2021 CEST
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:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      ( 121)	The previous self-test completed having
					the read element of the test failed.
Total time to complete Offline 
data collection: 		(12300) 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: 	 ( 205) 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       -       4990
  2 Throughput_Performance  0x0026   056   056   000    Old_age   Always       -       11194
  3 Spin_Up_Time            0x0023   092   088   025    Pre-fail  Always       -       2460
  4 Start_Stop_Count        0x0032   082   082   000    Old_age   Always       -       18264
  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       -       12071
 10 Spin_Retry_Count        0x0032   252   252   051    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   096   096   000    Old_age   Always       -       4434
191 G-Sense_Error_Rate      0x0022   100   100   000    Old_age   Always       -       207
192 Power-Off_Retract_Count 0x0022   100   100   000    Old_age   Always       -       163
194 Temperature_Celsius     0x0002   064   039   000    Old_age   Always       -       32 (Min/Max 5/61)
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   100   100   000    Old_age   Always       -       8
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       -       30510
223 Load_Retry_Count        0x0032   100   100   000    Old_age   Always       -       646
225 Load_Cycle_Count        0x0032   065   065   000    Old_age   Always       -       361279

SMART Error Log Version: 1
ATA Error Count: 8 (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 8 occurred at disk power-on lifetime: 12069 hours (502 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
  -- -- -- -- -- -- --
  40 51 01 6f c4 89 e6  Error: UNC at LBA = 0x0689c46f = 109692015

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  20 00 01 6f c4 89 e6 00      00:00:15.860  READ SECTOR(S)
  ec 00 01 00 00 00 40 00      00:00:15.860  IDENTIFY DEVICE
  ea 00 00 00 00 00 e0 00      00:00:15.859  FLUSH CACHE EXT
  35 00 08 b8 00 56 e0 00      00:00:15.859  WRITE DMA EXT
  ea 00 00 00 00 00 e0 00      00:00:15.859  FLUSH CACHE EXT

Error 7 occurred at disk power-on lifetime: 12069 hours (502 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
  -- -- -- -- -- -- --
  40 51 01 6e c4 89 e6  Error: UNC at LBA = 0x0689c46e = 109692014

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  20 00 01 6e c4 89 e6 00      00:00:15.852  READ SECTOR(S)
  ec 00 01 00 00 00 40 00      00:00:15.852  IDENTIFY DEVICE
  ca 00 08 18 fa c0 e9 00      00:00:15.851  WRITE DMA
  ca 00 20 10 75 54 e7 00      00:00:15.851  WRITE DMA
  ca 00 18 f0 74 54 e7 00      00:00:15.851  WRITE DMA

Error 6 occurred at disk power-on lifetime: 12069 hours (502 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
  -- -- -- -- -- -- --
  40 51 01 6d c4 89 e6  Error: UNC at LBA = 0x0689c46d = 109692013

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  20 00 01 6d c4 89 e6 00      00:00:15.843  READ SECTOR(S)
  ec 00 01 00 00 00 40 00      00:00:15.843  IDENTIFY DEVICE
  e5 00 00 00 00 00 00 00      00:00:15.842  CHECK POWER MODE
  ea 00 00 00 00 00 e0 00      00:00:15.840  FLUSH CACHE EXT
  ca 00 08 88 8a 5e e9 00      00:00:15.840  WRITE DMA

Error 5 occurred at disk power-on lifetime: 12069 hours (502 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
  -- -- -- -- -- -- --
  40 51 01 6c c4 89 e6  Error: UNC at LBA = 0x0689c46c = 109692012

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  20 00 01 6c c4 89 e6 00      00:00:15.834  READ SECTOR(S)
  ec 00 01 00 00 00 40 00      00:00:15.834  IDENTIFY DEVICE
  e5 00 00 00 00 00 00 00      00:00:15.832  CHECK POWER MODE
  25 00 08 30 3a 0f e0 00      00:00:15.832  READ DMA EXT
  ea 00 00 00 00 00 e0 00      00:00:15.831  FLUSH CACHE EXT

Error 4 occurred at disk power-on lifetime: 12069 hours (502 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
  -- -- -- -- -- -- --
  40 51 01 6b c4 89 e6  Error: UNC at LBA = 0x0689c46b = 109692011

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  20 00 01 6b c4 89 e6 00      00:00:15.826  READ SECTOR(S)
  ec 00 01 00 00 00 40 00      00:00:15.826  IDENTIFY DEVICE
  ea 00 00 00 00 00 e0 00      00:00:15.823  FLUSH CACHE EXT
  ca 00 08 18 8a 5e e9 00      00:00:15.823  WRITE DMA
  ea 00 00 00 00 00 e0 00      00:00:15.823  FLUSH CACHE EXT

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed: read failure       90%     12071         319686912
# 2  Short offline       Completed: read failure       90%     12071         319686912
# 3  Short offline       Completed: read failure       90%     12067         109692008
# 4  Short offline       Completed: read failure       90%     12066         109692008
# 5  Extended offline    Completed: read failure       90%     12065         109692008
# 6  Short offline       Completed: read failure       90%     12065         109692008
# 7  Extended offline    Aborted by host               90%     12028         -
# 8  Extended offline    Completed: read failure       90%     12028         109692008
# 9  Short offline       Interrupted (host reset)      80%     12028         -
#10  Short offline       Interrupted (host reset)      90%     12028         -
#11  Short offline       Completed: read failure       90%     12027         109692008
#12  Short offline       Completed: read failure       90%     12027         109692008
#13  Short offline       Completed: read failure       70%     12026         109692008
#14  Extended offline    Completed: read failure       90%     12025         109692008
#15  Short offline       Completed without error       00%      9910         -
#16  Short offline       Completed without error       00%      5182         -
#17  Short offline       Completed: read failure       90%      4838         91263656
#18  Short offline       Completed: read failure       90%      4838         91263656
#19  Short offline       Completed without error       00%      4829         -
#20  Short offline       Completed without error       00%      4829         -
#21  Extended offline    Completed without error       00%      4824         -

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_read_failure [90% 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.

Dernière modification par hyacinthus (Le 06/10/2021, à 14:23)

Hors ligne

#10 Le 06/10/2021, à 14:29

geole

Re : Échec de l'autotest (court ou étendu) d'estimation globale du disque

Le secteur détecté par le test rapide
# 1  Short offline       Completed: read failure       90%     12071         319686912
La réparation

Sect=319686912
for    (( I=0; I < 8; I++ ));  do
       sudo   hdparm    --yes-i-know-what-i-am-doing    --write-sector   $(($Sect+$I))  /dev/sda
       sleep 5
done

et un nouveau test rapide à lancer, s'il est bon faire le test long
S'il est mauvais réparer avec la même méthode

Dernière modification par geole (Le 06/10/2021, à 14:32)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#11 Le 06/10/2021, à 14:39

hyacinthus

Re : Échec de l'autotest (court ou étendu) d'estimation globale du disque

Merci beaucoup Geole,

J'en déduis que je ne touche jamais à la graphie de ta commande, exception faite de sa première ligne "sect=#" où je renseigne le premier "LBA_of_first_error" du SMART Self-test log structure revision number 1" de la première ligne, jusqu'à ce que la commande de vérification ne m'indique plus de problèmes. Me trompé-je ?

Je lance les commandes que tu me suggères.

Dernière modification par hyacinthus (Le 06/10/2021, à 14:40)

Hors ligne

#12 Le 06/10/2021, à 14:53

hyacinthus

Re : Échec de l'autotest (court ou étendu) d'estimation globale du disque

Disques échoue à nouveau son auto-test court, sans dépasser les 10 %, toutefois, le texte de l'auto-diagnostique est devenu : "le disque est sain, 7 secteurs endommagés" (plutôt que 8 précédemment).

Dois-je modifier la commande

for    (( I=0; I < 8; I++ ));  do

par

for    (( I=0; I < 7; I++ ));  do

ou est-ce sans lien aucun ?

Au vu de ce rapport :

###:/sudo smartctl -s on -a /dev/sda
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-88-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Samsung SpinPoint M8 (AF)
Device Model:     ST1000LM024 HN-M101MBB
Serial Number:    S31QJ9CG804810
LU WWN Device Id: 5 0004cf 21050e48b
Firmware Version: 2BA30001
User Capacity:    1000204886016 bytes [1,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      2.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 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Wed Oct  6 15:53:30 2021 CEST
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:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      ( 121)	The previous self-test completed having
					the read element of the test failed.
Total time to complete Offline 
data collection: 		(12300) 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: 	 ( 205) 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       -       5026
  2 Throughput_Performance  0x0026   056   056   000    Old_age   Always       -       11194
  3 Spin_Up_Time            0x0023   094   088   025    Pre-fail  Always       -       1939
  4 Start_Stop_Count        0x0032   082   082   000    Old_age   Always       -       18265
  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       -       12071
 10 Spin_Retry_Count        0x0032   252   252   051    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   096   096   000    Old_age   Always       -       4435
191 G-Sense_Error_Rate      0x0022   100   100   000    Old_age   Always       -       207
192 Power-Off_Retract_Count 0x0022   100   100   000    Old_age   Always       -       164
194 Temperature_Celsius     0x0002   064   039   000    Old_age   Always       -       33 (Min/Max 5/61)
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   100   100   000    Old_age   Always       -       7
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       -       30510
223 Load_Retry_Count        0x0032   100   100   000    Old_age   Always       -       646
225 Load_Cycle_Count        0x0032   065   065   000    Old_age   Always       -       361279

SMART Error Log Version: 1
ATA Error Count: 8 (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 8 occurred at disk power-on lifetime: 12069 hours (502 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
  -- -- -- -- -- -- --
  40 51 01 6f c4 89 e6  Error: UNC at LBA = 0x0689c46f = 109692015

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  20 00 01 6f c4 89 e6 00      00:00:15.860  READ SECTOR(S)
  ec 00 01 00 00 00 40 00      00:00:15.860  IDENTIFY DEVICE
  ea 00 00 00 00 00 e0 00      00:00:15.859  FLUSH CACHE EXT
  35 00 08 b8 00 56 e0 00      00:00:15.859  WRITE DMA EXT
  ea 00 00 00 00 00 e0 00      00:00:15.859  FLUSH CACHE EXT

Error 7 occurred at disk power-on lifetime: 12069 hours (502 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
  -- -- -- -- -- -- --
  40 51 01 6e c4 89 e6  Error: UNC at LBA = 0x0689c46e = 109692014

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  20 00 01 6e c4 89 e6 00      00:00:15.852  READ SECTOR(S)
  ec 00 01 00 00 00 40 00      00:00:15.852  IDENTIFY DEVICE
  ca 00 08 18 fa c0 e9 00      00:00:15.851  WRITE DMA
  ca 00 20 10 75 54 e7 00      00:00:15.851  WRITE DMA
  ca 00 18 f0 74 54 e7 00      00:00:15.851  WRITE DMA

Error 6 occurred at disk power-on lifetime: 12069 hours (502 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
  -- -- -- -- -- -- --
  40 51 01 6d c4 89 e6  Error: UNC at LBA = 0x0689c46d = 109692013

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  20 00 01 6d c4 89 e6 00      00:00:15.843  READ SECTOR(S)
  ec 00 01 00 00 00 40 00      00:00:15.843  IDENTIFY DEVICE
  e5 00 00 00 00 00 00 00      00:00:15.842  CHECK POWER MODE
  ea 00 00 00 00 00 e0 00      00:00:15.840  FLUSH CACHE EXT
  ca 00 08 88 8a 5e e9 00      00:00:15.840  WRITE DMA

Error 5 occurred at disk power-on lifetime: 12069 hours (502 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
  -- -- -- -- -- -- --
  40 51 01 6c c4 89 e6  Error: UNC at LBA = 0x0689c46c = 109692012

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  20 00 01 6c c4 89 e6 00      00:00:15.834  READ SECTOR(S)
  ec 00 01 00 00 00 40 00      00:00:15.834  IDENTIFY DEVICE
  e5 00 00 00 00 00 00 00      00:00:15.832  CHECK POWER MODE
  25 00 08 30 3a 0f e0 00      00:00:15.832  READ DMA EXT
  ea 00 00 00 00 00 e0 00      00:00:15.831  FLUSH CACHE EXT

Error 4 occurred at disk power-on lifetime: 12069 hours (502 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
  -- -- -- -- -- -- --
  40 51 01 6b c4 89 e6  Error: UNC at LBA = 0x0689c46b = 109692011

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  20 00 01 6b c4 89 e6 00      00:00:15.826  READ SECTOR(S)
  ec 00 01 00 00 00 40 00      00:00:15.826  IDENTIFY DEVICE
  ea 00 00 00 00 00 e0 00      00:00:15.823  FLUSH CACHE EXT
  ca 00 08 18 8a 5e e9 00      00:00:15.823  WRITE DMA
  ea 00 00 00 00 00 e0 00      00:00:15.823  FLUSH CACHE EXT

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed: read failure       90%     12071         319687152
# 2  Short offline       Completed: read failure       90%     12071         319686912
# 3  Short offline       Completed: read failure       90%     12071         319686912
# 4  Short offline       Completed: read failure       90%     12067         109692008
# 5  Short offline       Completed: read failure       90%     12066         109692008
# 6  Extended offline    Completed: read failure       90%     12065         109692008
# 7  Short offline       Completed: read failure       90%     12065         109692008
# 8  Extended offline    Aborted by host               90%     12028         -
# 9  Extended offline    Completed: read failure       90%     12028         109692008
#10  Short offline       Interrupted (host reset)      80%     12028         -
#11  Short offline       Interrupted (host reset)      90%     12028         -
#12  Short offline       Completed: read failure       90%     12027         109692008
#13  Short offline       Completed: read failure       90%     12027         109692008
#14  Short offline       Completed: read failure       70%     12026         109692008
#15  Extended offline    Completed: read failure       90%     12025         109692008
#16  Short offline       Completed without error       00%      9910         -
#17  Short offline       Completed without error       00%      5182         -
#18  Short offline       Completed: read failure       90%      4838         91263656
#19  Short offline       Completed: read failure       90%      4838         91263656
#20  Short offline       Completed without error       00%      4829         -
#21  Short offline       Completed without error       00%      4829         -

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_read_failure [90% 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.

dois-je ordonner ?

Sect=319687152
for    (( I=0; I < 7; I++ ));  do
       sudo   hdparm    --yes-i-know-what-i-am-doing    --write-sector   $(($Sect+$I))  /dev/sda
       sleep 5
done

Avec "319687152" au lieu de l'identifiant du précédent secteur et "I < 7" au lieu d'"I < 8" ?

Dernière modification par hyacinthus (Le 06/10/2021, à 14:57)

Hors ligne

#13 Le 06/10/2021, à 14:55

geole

Re : Échec de l'autotest (court ou étendu) d'estimation globale du disque

C'est la méthode à faire lorsqu'on pense que peu de secteurs sont atteints.
Dans le cas contraire, on essaie d'en établir une liste  dans un fichier avec la commande badbocks
Mais cela se fait uniquement pour les partitions formatées en EXT4
L'autre solution étant d'utiliser ddrescue afin d'en avoir la liste pour tout le disque

Dernière modification par geole (Le 06/10/2021, à 15:02)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#14 Le 06/10/2021, à 14:58

geole

Re : Échec de l'autotest (court ou étendu) d'estimation globale du disque

hyacinthus a écrit :

Disques échoue à nouveau son auto-test court, sans dépasser les 10 %, toutefois, le texte de l'auto-diagnostique est devenu : "le disque est sain, 7 secteurs endommagés" (plutôt que 8 précédemment).

Dois-je modifier la commande

for    (( I=0; I < 8; I++ ));  do

par

for    (( I=0; I < 7; I++ ));  do

ou est-ce sans lien aucun ?

Tu ne modifies pas.
Le secteur physique fait 4096 octets soit exactement 8 secteurs logiques de 512 octets
autant traiter les huit d'un coup


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#15 Le 06/10/2021, à 14:59

hyacinthus

Re : Échec de l'autotest (court ou étendu) d'estimation globale du disque

Bien compris, merci encore...

Bon, bah je continue sur ma lancée !

Hors ligne

#16 Le 06/10/2021, à 15:04

geole

Re : Échec de l'autotest (court ou étendu) d'estimation globale du disque

En fait, il faut s'assurer que le secteur indiqué est bien multiple de huit avant de mettre sa valeur


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#17 Le 06/10/2021, à 15:16

hyacinthus

Re : Échec de l'autotest (court ou étendu) d'estimation globale du disque

Merci pour la précision !
J'ai revérifié et tous ceux que j'ai traités entre temps sont bien des multiples de huit.

Hors ligne

#18 Le 06/10/2021, à 15:29

hyacinthus

Re : Échec de l'autotest (court ou étendu) d'estimation globale du disque

L'auto-test court est achevé avec succès. Le disque est sain. Je procède à l'auto-test étendu (via l'interface graphique de Disques).

Hors ligne

#19 Le 06/10/2021, à 15:34

geole

Re : Échec de l'autotest (court ou étendu) d'estimation globale du disque

C'est un bon début.
Je ne connais pas trop si, avec l'interface graphique, en cas de plantage, on peut reprendre à l'endroit planté ou s'il repart  du début.

Avec cette commande

 sudo smartctl  -t select,0-1999999999   /dev/sda 

On peut le faire repartir du secteur d'arrêt avec cette commande

sudo smartctl  -t select,next /dev/sda

Dernière modification par geole (Le 06/10/2021, à 15:59)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#20 Le 06/10/2021, à 15:53

hyacinthus

Re : Échec de l'autotest (court ou étendu) d'estimation globale du disque

Merci beaucoup. L'auto-test étendu a découvert quelques autres secteurs défectueux, puis a échoué.
Je dois partir à présent. Je poursuivrai ce soir ou demain, avec votre commande.

Merci encore, infiniment, pour votre aide Geole.

À bientôt,
Y.

Hors ligne

#21 Le 28/11/2022, à 16:40

gumen

Re : Échec de l'autotest (court ou étendu) d'estimation globale du disque

Bonjour à tous,

Problème similaire pour moi.

Je suis passé sur Ubuntu depuis plus de 5 ans et j'arrivais à me débrouiller jusqu'à présent.
Cependant, en allumant mon ordinateur portable il y a 2 jours, j'ai cru qu'il était définitivement perdu.
Voici ce qu'il m'affichait :
Boot

J'ai été obligé de l'éteindre de force en restant appuyé sur Power.


Suite à cela, il se rallume et refonctionne parfaitement, étrange ?
J'ai tout de même effectué toutes les sauvegardes sur un hdd externe.
En procédant aux tests SMART depuis Disques et GSmartControl, les auto-tests Short plantent tous à 20%.
Et malheureusement, je n'ai pas les connaissances pour décrypter les résultats du test.


Voici les informations de l'ordinateur :
- ASUS N56JR acheté sous Windows 8 (et oui..)
- Ubuntu 22.04.1 LTS installé sur SSD Crucial MX300 en 05/2016 suite à un plantage du HDD originel

Merci infiniment pour votre aide

Hors ligne

#22 Le 28/11/2022, à 17:16

geole

Re : Échec de l'autotest (court ou étendu) d'estimation globale du disque

Bonjour
Dans un premier temps, installe l'application smartmontools

sudo apt-get install --no-install-recommends smartmontools

et publie l'état du disque SSD

sudo smartctl -s on -a /dev/sda

Dernière modification par geole (Le 28/11/2022, à 17:16)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#23 Le 28/11/2022, à 17:28

gumen

Re : Échec de l'autotest (court ou étendu) d'estimation globale du disque

Bonjour Geole,

Merci beaucoup pour ta réponse.

Voici le rapport de la commande smartctl :

rom@rom-N56JRH:~$ sudo smartctl -s on -a /dev/sda
[sudo] Mot de passe de rom : 
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.15.0-53-generic] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Crucial/Micron Client SSDs
Device Model:     Crucial_CT525MX300SSD1
Serial Number:    1714169BBD72
LU WWN Device Id: 5 00a075 1169bbd72
Firmware Version: M0CR040
User Capacity:    525112713216 bytes [525 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
TRIM Command:     Available, deterministic, zeroed
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Nov 28 17:27:49 2022 CET
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:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      ( 120)	The previous self-test completed having
					the read element of the test failed.
Total time to complete Offline 
data collection: 		( 1283) 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: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 (   7) minutes.
Conveyance self-test routine
recommended polling time: 	 (   3) minutes.
SCT capabilities: 	       (0x0035)	SCT Status 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   000    Pre-fail  Always       -       1946
  5 Reallocate_NAND_Blk_Cnt 0x0032   092   092   010    Old_age   Always       -       153
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       1496
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       1756
171 Program_Fail_Count      0x0032   100   100   000    Old_age   Always       -       0
172 Erase_Fail_Count        0x0032   100   100   000    Old_age   Always       -       0
173 Ave_Block-Erase_Count   0x0032   099   099   000    Old_age   Always       -       19
174 Unexpect_Power_Loss_Ct  0x0032   100   100   000    Old_age   Always       -       41
183 SATA_Interfac_Downshift 0x0032   100   100   000    Old_age   Always       -       1
184 Error_Correction_Count  0x0032   100   100   000    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       175
194 Temperature_Celsius     0x0022   074   048   000    Old_age   Always       -       26 (Min/Max 10/52)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       153
197 Current_Pending_ECC_Cnt 0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       13
199 UDMA_CRC_Error_Count    0x0032   100   100   000    Old_age   Always       -       0
202 Percent_Lifetime_Remain 0x0030   099   099   001    Old_age   Offline      -       1
206 Write_Error_Rate        0x000e   100   100   000    Old_age   Always       -       0
246 Total_LBAs_Written      0x0032   100   100   000    Old_age   Always       -       6879233407
247 Host_Program_Page_Count 0x0032   100   100   000    Old_age   Always       -       214977766
248 FTL_Program_Page_Count  0x0032   100   100   000    Old_age   Always       -       222496732
180 Unused_Reserve_NAND_Blk 0x0033   000   000   000    Pre-fail  Always       -       1804
210 Success_RAIN_Recov_Cnt  0x0032   100   100   000    Old_age   Always       -       472

SMART Error Log Version: 1
ATA Error Count: 175 (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 175 occurred at disk power-on lifetime: 0 hours (0 days + 0 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 08 18 9c 58 40  Error: UNC at LBA = 0x00589c18 = 5807128

  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 00 08 18 9c 58 40 08  12d+15:05:12.704  READ FPDMA QUEUED
  61 00 18 60 6b db 40 08  12d+15:05:12.704  WRITE FPDMA QUEUED
  47 00 01 30 06 00 e0 08  12d+15:05:12.704  READ LOG DMA EXT
  47 00 01 30 00 00 e0 08  12d+15:05:12.704  READ LOG DMA EXT
  47 00 01 00 00 00 e0 08  12d+15:05:12.704  READ LOG DMA EXT

Error 174 occurred at disk power-on lifetime: 0 hours (0 days + 0 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 20 18 9c 58 40  Error: UNC at LBA = 0x00589c18 = 5807128

  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 00 20 18 9c 58 40 08  12d+15:05:12.704  READ FPDMA QUEUED
  60 00 18 58 88 54 40 08  12d+15:05:12.704  READ FPDMA QUEUED
  60 00 40 70 68 58 40 08  12d+15:05:12.704  READ FPDMA QUEUED
  60 00 20 50 68 58 40 08  12d+15:05:12.704  READ FPDMA QUEUED
  60 00 18 40 88 54 40 08  12d+15:05:12.704  READ FPDMA QUEUED

Error 173 occurred at disk power-on lifetime: 0 hours (0 days + 0 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 20 20 88 5f 40  Error: UNC at LBA = 0x005f8820 = 6260768

  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 00 20 00 08 60 40 08  12d+15:05:12.704  READ FPDMA QUEUED
  60 00 40 20 88 5f 40 08  12d+15:05:12.704  READ FPDMA QUEUED
  60 00 20 00 88 5f 40 08  12d+15:05:12.704  READ FPDMA QUEUED
  60 d0 40 20 08 5f 40 08  12d+15:05:12.704  READ FPDMA QUEUED
  60 00 20 00 08 5f 40 08  12d+15:05:12.704  READ FPDMA QUEUED

Error 172 occurred at disk power-on lifetime: 0 hours (0 days + 0 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 08 18 9c 58 40  Error: UNC at LBA = 0x00589c18 = 5807128

  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 00 08 18 9c 58 40 08  12d+14:56:12.704  READ FPDMA QUEUED
  60 00 08 c0 39 c3 40 08  12d+14:56:12.704  READ FPDMA QUEUED
  47 00 01 30 06 00 e0 08  12d+14:56:12.704  READ LOG DMA EXT
  47 00 01 30 00 00 e0 08  12d+14:56:12.704  READ LOG DMA EXT
  47 00 01 00 00 00 e0 08  12d+14:56:12.704  READ LOG DMA EXT

Error 171 occurred at disk power-on lifetime: 0 hours (0 days + 0 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 08 18 9c 58 40  Error: UNC at LBA = 0x00589c18 = 5807128

  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 00 08 c0 39 c3 40 08  12d+14:56:12.704  READ FPDMA QUEUED
  60 d5 20 18 9c 58 40 08  12d+14:56:12.704  READ FPDMA QUEUED
  60 00 08 e8 ee 1e 40 08  12d+14:56:12.704  READ FPDMA QUEUED
  60 d5 18 58 88 54 40 08  12d+14:56:12.704  READ FPDMA QUEUED
  60 00 08 58 4f 1d 40 08  12d+14:56:12.704  READ FPDMA QUEUED

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed: read failure       80%      1496         14793216
# 2  Short offline       Completed: read failure       80%      1495         14793216
# 3  Short offline       Completed: read failure       80%      1495         14793216
# 4  Short offline       Completed: read failure       80%      1495         14793216
# 5  Short offline       Completed: read failure       80%      1495         14793216
# 6  Short offline       Completed: read failure       80%      1495         14793216
# 7  Short offline       Completed: read failure       80%      1494         14793216
# 8  Conveyance offline  Completed: read failure       80%      1494         14793216
# 9  Extended offline    Completed: read failure       90%      1494         14793216
#10  Short offline       Completed: read failure       80%      1494         14793216
#11  Short offline       Completed: read failure       80%      1494         14793216
#12  Short offline       Completed: read failure       80%      1494         14793216
#13  Short offline       Completed: read failure       80%      1494         14793216
#14  Short offline       Completed without error       00%        22         -

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.

Merci pour ton retour

Hors ligne

#24 Le 28/11/2022, à 18:06

geole

Re : Échec de l'autotest (court ou étendu) d'estimation globale du disque

Je connais mal l'interprétation du rapport pour les SSD.
En tout cas, il y a pas mal d'erreurs

5 Reallocate_NAND_Blk_Cnt 0x0032   092   092   010    Old_age   Always       -       153
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       1496
174 Unexpect_Power_Loss_Ct  0x0032   100   100   000    Old_age   Always       -       41
180 Unused_Reserve_NAND_Blk 0x0033   000   000   000    Pre-fail  Always       -       1804
183 SATA_Interfac_Downshift 0x0032   100   100   000    Old_age   Always       -       1
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       175
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       153

Error 175 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)

Sur ce type de disque j'ai souvent vu le message de perte de courant électrique  "Unexpect_Power_Loss_Ct"
et lorsqu'il perd le courant, il est obligé de  totalement refabriquer  la référence de ce qui est utilisé. Cela prend du temps.
Tu as raison de prendre des précautions.
Je te rappelle ce qui est écrit

La documentation a écrit :

Utilisation
Il est inutile de tester un SSD car les secteurs testés sont virtuels. Cela ne ferait que l'user de façon prématurée !

Dernière modification par geole (Le 28/11/2022, à 18:10)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne