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 03/08/2019, à 12:24

doudy

Problème de disque dur ?

Bonjour,

Mon portable sous Ubuntu 16.04 qui marchait sans problème depuis plusieurs années, a refusé de démarrer avec un message d'erreur " ... file system errors ..."
j'ai alors vu l'occasion de passer à la 18.04 que j'ai réinstallé sans problème( sans changer le DD )... et ça a marché quelques heures sans problème et le problème est revenu ... dont voici la copie ... Pouvez vous me confirmer, svp, qu'il s’agit bien d'un problème de disque .. si c'est bien ça je vais remplacer le DD par un SSD:

1564907284.jpg

Merci d'avance pour votre aide.


Modération : merci d'utiliser des images de petite taille (300x300) ou des miniatures pointant sur ces images (Des hébergeurs comme Toile Libre ou TDCT'Pix le permettent).

Dernière modification par doudy (Le 04/08/2019, à 09:02)


Ubuntu 22.04

Hors ligne

#2 Le 03/08/2019, à 12:38

geole

Re : Problème de disque dur ?

Bonjour
Si le problème revient si rapidement, il y a de fortes chances que l'état du disque se dégrade.
Pour le confirmer, merci d'installer l'application smartmontools sur ton support d'installation  de ubuntu voir paragraphe 1 de https://doc.ubuntu-fr.org/smartmontools
et de donner le retour de cette commande

sudo smartctl   -s   on   -a /dev/sda

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

En ligne

#3 Le 03/08/2019, à 14:03

doudy

Re : Problème de disque dur ?

Merci smile

Voici le retour de la commande:

smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-20-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, [url=http://www.smartmontools.org]www.smartmontools.org[/url]

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Samsung SpinPoint M8 (AF)
Device Model:     ST1000LM024 HN-M101MBB
Serial Number:    S2ZWJ9CF105088
LU WWN Device Id: 5 0004cf 20c5366d4
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:    Sat Aug  3 12:59:49 2019 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      (  19)	The self-test routine was aborted by
					the host.
Total time to complete Offline 
data collection: 		(13440) 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: 	 ( 224) 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       -       66
  2 Throughput_Performance  0x0026   252   252   000    Old_age   Always       -       0
  3 Spin_Up_Time            0x0023   092   091   025    Pre-fail  Always       -       2470
  4 Start_Stop_Count        0x0032   096   096   000    Old_age   Always       -       4278
  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       -       15852
 10 Spin_Retry_Count        0x0032   252   252   051    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       270
 12 Power_Cycle_Count       0x0032   096   096   000    Old_age   Always       -       4133
191 G-Sense_Error_Rate      0x0022   100   100   000    Old_age   Always       -       6
192 Power-Off_Retract_Count 0x0022   252   252   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0002   064   051   000    Old_age   Always       -       30 (Min/Max 16/49)
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       -       1
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       -       7361
223 Load_Retry_Count        0x0032   100   100   000    Old_age   Always       -       270
225 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       8357

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       Aborted by host               30%     15840         -
# 2  Short offline       Completed without error       00%     15840         -

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  Aborted_by_host [30% 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 doudy (Le 04/08/2019, à 09:00)


Ubuntu 22.04

Hors ligne

#4 Le 03/08/2019, à 16:17

geole

Re : Problème de disque dur ?

Tu as un seul incident
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       1
Il peut expliquer le problème. Cependant son état est loin de justifier son remplacement
Je te propose deux actions, je n'ai  aucune idée de celle par qui commencer
La première va immédiatement te dépanner ou te dire  qu'il y a trop de perte liée à ce secteur et  le reboot sera toujours impossible.

Donc, lorsque tu auras de nouveau  la message en rebootant,  tu peux le frapper mais de préférence avec cette  syntaxe

fsck   -y  /dev/sda1

ce qui t'évitera de frapper des milliers de Y      aux questions posées
Tu pourras tenter de  rebooter


La seconde va durer plusieurs heures, elle peut se faire en live-USB ou avec le ubuntu réparé.
Cela va consister à  analyser plus finement l'état des pistes du disque    et constater  qu'il n'y en a qu'une  ou qu'il y en a  potentiellement des milliers

Je te conseille fortement d'utiliser  cette commande

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

qui permettra  une reprise au lieu d'un recommencement après le premier arrêt

Tu pourras en assurer un suivi avec cette commande

sudo smartctl -a /dev/sda | grep left

Lorsque cela ne sera plus en exécution, tu redonnas

sudo smartctl   -s   on   -a /dev/sda

On  avisera alors pour la suite.

Attention;  Tu devrais modifier ton message pour qu'il soit mieux présentable Voir la technique https://forum.ubuntu-fr.org/viewtopic.php?id=1614731

Dernière modification par geole (Le 03/08/2019, à 16:25)


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

En ligne

#5 Le 03/08/2019, à 17:02

doudy

Re : Problème de disque dur ?

Merci
Je lance:

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

Dernière modification par doudy (Le 03/08/2019, à 17:28)


Ubuntu 22.04

Hors ligne

#6 Le 03/08/2019, à 17:22

cqfd93

Re : Problème de disque dur ?

Modération

Bonjour,

Pour ajouter toi-même les balises code à ton message #3 :

  • Cliquer sur le lien « Modifier » en bas à droite du message

  • Sélectionner le texte

  • Cliquer sur le <> de l'éditeur de message
    1471986854.png


cqfd93

Hors ligne

#7 Le 04/08/2019, à 08:54

doudy

Re : Problème de disque dur ?

Ça reste à 30% après plus de 15 heures de test :

ubuntu@ubuntu:~$ sudo smartctl -a /dev/sda | grep left
    1        0  1953525167  Self_test_in_progress [50% left] (1322438912-1322504447)
ubuntu@ubuntu:~$ sudo smartctl -a /dev/sda | grep left
    1        0  1953525167  Self_test_in_progress [40% left] (1550574320-1550639855)
ubuntu@ubuntu:~$ sudo smartctl -a /dev/sda | grep left
    1        0  1953525167  Self_test_in_progress [30% left] (1641755584-1641821119)
ubuntu@ubuntu:~$ sudo smartctl -a /dev/sda | grep left
    1        0  1953525167  Completed_read_failure [30% left] (0-65535)
ubuntu@ubuntu:~$ sudo smartctl -a /dev/sda | grep left
    1        0  1953525167  Completed_read_failure [30% left] (0-65535)
ubuntu@ubuntu:~$ sudo smartctl -a /dev/sda | grep left
    1        0  1953525167  Completed_read_failure [30% left] (0-65535)

Dernière modification par doudy (Le 04/08/2019, à 08:59)


Ubuntu 22.04

Hors ligne

#8 Le 04/08/2019, à 08:57

doudy

Re : Problème de disque dur ?

Voici le retour de la commande:

sudo smartctl   -s   on   -a /dev/sda
ubuntu@ubuntu:~$ sudo smartctl   -s   on   -a /dev/sda
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-20-generic] (local build)
Copyright (C) 2002-16, 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:    S2ZWJ9CF105088
LU WWN Device Id: 5 0004cf 20c5366d4
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:    Sun Aug  4 07:55:08 2019 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      ( 115)	The previous self-test completed having
					the read element of the test failed.
Total time to complete Offline 
data collection: 		(13440) 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: 	 ( 224) 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       -       66
  2 Throughput_Performance  0x0026   252   252   000    Old_age   Always       -       0
  3 Spin_Up_Time            0x0023   092   091   025    Pre-fail  Always       -       2524
  4 Start_Stop_Count        0x0032   096   096   000    Old_age   Always       -       4284
  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       -       15855
 10 Spin_Retry_Count        0x0032   252   252   051    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       270
 12 Power_Cycle_Count       0x0032   096   096   000    Old_age   Always       -       4135
191 G-Sense_Error_Rate      0x0022   100   100   000    Old_age   Always       -       6
192 Power-Off_Retract_Count 0x0022   252   252   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0002   064   043   000    Old_age   Always       -       36 (Min/Max 16/57)
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       -       1
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       -       7361
223 Load_Retry_Count        0x0032   100   100   000    Old_age   Always       -       270
225 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       8371

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  Selective offline   Completed: read failure       30%     15855         1736445256
# 2  Short offline       Aborted by host               30%     15840         -
# 3  Short offline       Completed without error       00%     15840         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA     MAX_LBA  CURRENT_TEST_STATUS
    1        0  1953525167  Completed_read_failure [30% 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 doudy (Le 04/08/2019, à 09:03)


Ubuntu 22.04

Hors ligne

#9 Le 04/08/2019, à 10:26

geole

Re : Problème de disque dur ?

Bonjour

On va donc voir s'est réparable.

J'ai noté dans le smartctl que l'unité physique de stockage est de 8 secteurs logiques.
         Sector Sizes:     512 bytes logical, 4096 bytes physical
Dans un tel contexte, il est très fréquent que les 8 secteurs soient tous illisibles


1)   Vérifions que c'est toujours impossible à lire avec une commande plus agressive.
.

sudo   hdparm    --yes-i-know-what-i-am-doing    --read-sector  1736445256  /dev/sda
sudo   hdparm    --yes-i-know-what-i-am-doing    --read-sector  1736445257  /dev/sda
sudo   hdparm    --yes-i-know-what-i-am-doing    --read-sector  1736445258  /dev/sda
sudo   hdparm    --yes-i-know-what-i-am-doing    --read-sector  1736445259  /dev/sda
sudo   hdparm    --yes-i-know-what-i-am-doing    --read-sector  1736445260  /dev/sda
sudo   hdparm    --yes-i-know-what-i-am-doing    --read-sector  1736445261  /dev/sda
sudo   hdparm    --yes-i-know-what-i-am-doing    --read-sector  1736445262  /dev/sda
sudo   hdparm    --yes-i-know-what-i-am-doing    --read-sector  1736445263  /dev/sda

Si  tout est  lisible,  suite  en 4

2)   Comme c'est toujours illisible, réparons uniquement pour ceux qui ont eu un problème

    sudo   hdparm    --yes-i-know-what-i-am-doing    --write-sector  1736445256  /dev/sda
    sudo   hdparm    --yes-i-know-what-i-am-doing    --write-sector  1736445257  /dev/sda
    sudo   hdparm    --yes-i-know-what-i-am-doing    --write-sector  1736445258  /dev/sda
    sudo   hdparm    --yes-i-know-what-i-am-doing    --write-sector  1736445259 /dev/sda
    sudo   hdparm    --yes-i-know-what-i-am-doing    --write-sector  1736445260  /dev/sda
    sudo   hdparm    --yes-i-know-what-i-am-doing    --write-sector  1736445261  /dev/sda
    sudo   hdparm    --yes-i-know-what-i-am-doing    --write-sector  1736445262  /dev/sda
    sudo   hdparm    --yes-i-know-what-i-am-doing    --write-sector  1736445263  /dev/sda

3)  Vérifions que c'est réparé et accessible normalement

sudo dd if=/dev/sda skip=1736445256 count=8  2>/dev/null | hexdump -C

Il ne devrait y  avoir que des zéros d'affichés.

4) Continons les tests.

 sudo smartctl  -t select,1736445256-max /dev/sda

Dernière modification par geole (Le 04/08/2019, à 10:30)


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

En ligne

#10 Le 04/08/2019, à 11:25

doudy

Re : Problème de disque dur ?

La commande 1 est "succeded" pour les 8 secteurs:

ubuntu@ubuntu:~$ sudo   hdparm    --yes-i-know-what-i-am-doing    --read-sector  1736445256  /dev/sda

/dev/sda:
reading sector 1736445256: SG_IO: bad/missing sense data, sb[]:  70 00 03 00 00 00 00 0a 40 51 e0 01 11 04 00 00 a0 48 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
ubuntu@ubuntu:~$ sudo   hdparm    --yes-i-know-what-i-am-doing    --read-sector  1736445257  /dev/sda

/dev/sda:
reading sector 1736445257: SG_IO: bad/missing sense data, sb[]:  70 00 03 00 00 00 00 0a 40 51 e0 01 11 04 00 00 a0 49 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
ubuntu@ubuntu:~$ sudo   hdparm    --yes-i-know-what-i-am-doing    --read-sector  1736445258  /dev/sda

/dev/sda:
reading sector 1736445258: SG_IO: bad/missing sense data, sb[]:  70 00 03 00 00 00 00 0a 40 51 e0 01 11 04 00 00 a0 4a 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
ubuntu@ubuntu:~$ sudo   hdparm    --yes-i-know-what-i-am-doing    --read-sector  1736445259  /dev/sda

/dev/sda:
reading sector 1736445259: SG_IO: bad/missing sense data, sb[]:  70 00 03 00 00 00 00 0a 40 51 e0 01 11 04 00 00 a0 4b 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
ubuntu@ubuntu:~$ sudo   hdparm    --yes-i-know-what-i-am-doing    --read-sector  1736445260  /dev/sda

/dev/sda:
reading sector 1736445260: SG_IO: bad/missing sense data, sb[]:  70 00 03 00 00 00 00 0a 40 51 e0 01 11 04 00 00 a0 4c 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
ubuntu@ubuntu:~$ sudo   hdparm    --yes-i-know-what-i-am-doing    --read-sector  1736445261  /dev/sda

/dev/sda:
reading sector 1736445261: SG_IO: bad/missing sense data, sb[]:  70 00 03 00 00 00 00 0a 40 51 e0 01 11 04 00 00 a0 4d 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
ubuntu@ubuntu:~$ sudo   hdparm    --yes-i-know-what-i-am-doing    --read-sector  1736445262  /dev/sda

/dev/sda:
reading sector 1736445262: SG_IO: bad/missing sense data, sb[]:  70 00 03 00 00 00 00 0a 40 51 e0 01 11 04 00 00 a0 4e 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
ubuntu@ubuntu:~$ sudo   hdparm    --yes-i-know-what-i-am-doing    --read-sector  1736445263  /dev/sda

/dev/sda:
reading sector 1736445263: SG_IO: bad/missing sense data, sb[]:  70 00 03 00 00 00 00 0a 40 51 e0 01 11 04 00 00 a0 4f 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
ubuntu@ubuntu:~$ 

La commande 4 :

ubuntu@ubuntu:~$ sudo smartctl  -t select,1736445256-max /dev/sda
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-20-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Selective self-test routine immediately in off-line mode".
SPAN         STARTING_LBA           ENDING_LBA
   0           1736445256           1953525167
Drive command "Execute SMART Selective self-test routine immediately in off-line mode" successful.
Testing has begun.

le suivi:

ubuntu@ubuntu:~$ sudo smartctl -a /dev/sda | grep left
    1  1736445256  1953525167  Completed_read_failure [90% left] (0-65535)

Dernière modification par doudy (Le 04/08/2019, à 11:30)


Ubuntu 22.04

Hors ligne

#11 Le 04/08/2019, à 11:38

geole

Re : Problème de disque dur ?

Peux-tu malgré tout donner ce retour au cas où une lecture agressive masque un problème que je ne connais pas.

sudo dd if=/dev/sda skip=1736445256 count=8  2>/dev/null | hexdump -C

et le retour  de

sudo smartctl   -s   on   -a /dev/sda

Pour voir si c'est toujours le même sectteur ou un autre...

Si c'est c'est encore le même secteur, vu que la lecture faire montre qu'il n'y a que des zéros d'obtenus, tu peux faire l'action 2 de réparation.

Dernière modification par geole (Le 04/08/2019, à 11:44)


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

En ligne

#12 Le 04/08/2019, à 12:17

doudy

Re : Problème de disque dur ?

Cette commande ne donne pas  de retour:

ubuntu@ubuntu:~$ sudo dd if=/dev/sda skip=1736445256 count=8  2>/dev/null | hexdump -C
ubuntu@ubuntu:~$ 

Et

sudo smartctl   -s   on   -a /dev/sda

donne:


smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-20-generic] (local build)
Copyright (C) 2002-16, 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:    S2ZWJ9CF105088
LU WWN Device Id: 5 0004cf 20c5366d4
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:    Sun Aug  4 11:15:21 2019 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (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: 		(13440) 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: 	 ( 224) 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       -       76
  2 Throughput_Performance  0x0026   252   252   000    Old_age   Always       -       0
  3 Spin_Up_Time            0x0023   092   091   025    Pre-fail  Always       -       2524
  4 Start_Stop_Count        0x0032   096   096   000    Old_age   Always       -       4287
  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       -       15855
 10 Spin_Retry_Count        0x0032   252   252   051    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       270
 12 Power_Cycle_Count       0x0032   096   096   000    Old_age   Always       -       4135
191 G-Sense_Error_Rate      0x0022   100   100   000    Old_age   Always       -       6
192 Power-Off_Retract_Count 0x0022   252   252   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0002   064   043   000    Old_age   Always       -       35 (Min/Max 16/57)
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       -       1
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       -       7361
223 Load_Retry_Count        0x0032   100   100   000    Old_age   Always       -       270
225 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       8392

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  Selective offline   Completed: read failure       90%     15855         1736445256
# 2  Selective offline   Completed: read failure       30%     15855         1736445256
# 3  Short offline       Aborted by host               30%     15840         -
# 4  Short offline       Completed without error       00%     15840         -

SMART Selective self-test log data structure revision number 1
 SPAN     MIN_LBA     MAX_LBA  CURRENT_TEST_STATUS
    1  1736445256  1953525167  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.

puis l'action 2:

ubuntu@ubuntu:~$ sudo   hdparm    --yes-i-know-what-i-am-doing    --write-sector  1736445256  /dev/sda

/dev/sda:
re-writing sector 1736445256: succeeded
ubuntu@ubuntu:~$ sudo   hdparm    --yes-i-know-what-i-am-doing    --write-sector  1736445257  /dev/sda

/dev/sda:
re-writing sector 1736445257: succeeded
ubuntu@ubuntu:~$ sudo   hdparm    --yes-i-know-what-i-am-doing    --write-sector  1736445258  /dev/sda

/dev/sda:
re-writing sector 1736445258: succeeded
ubuntu@ubuntu:~$ sudo   hdparm    --yes-i-know-what-i-am-doing    --write-sector  1736445259 /dev/sda

/dev/sda:
re-writing sector 1736445259: succeeded
ubuntu@ubuntu:~$ sudo   hdparm    --yes-i-know-what-i-am-doing    --write-sector  1736445260  /dev/sda

/dev/sda:
re-writing sector 1736445260: succeeded
ubuntu@ubuntu:~$ sudo   hdparm    --yes-i-know-what-i-am-doing    --write-sector  1736445261  /dev/sda

/dev/sda:
re-writing sector 1736445261: succeeded
ubuntu@ubuntu:~$ sudo   hdparm    --yes-i-know-what-i-am-doing    --write-sector  1736445262  /dev/sda

/dev/sda:
re-writing sector 1736445262: succeeded
ubuntu@ubuntu:~$ sudo   hdparm    --yes-i-know-what-i-am-doing    --write-sector  1736445263  /dev/sda

/dev/sda:
re-writing sector 1736445263: succeeded
ubuntu@ubuntu:~$ 

Dernière modification par doudy (Le 04/08/2019, à 12:22)


Ubuntu 22.04

Hors ligne

#13 Le 04/08/2019, à 12:49

geole

Re : Problème de disque dur ?

Cette commande a masqué le problème

sudo   hdparm    --yes-i-know-what-i-am-doing    --read-sector  1736445256  /dev/sda

du coup, celle-ci a  encore rencontré le problème qu a été écrit dans le fichier /dev/null !

sudo dd if=/dev/sda skip=1736445256 count=8  2>/dev/null | hexdump -C

J'aurais du être moins optimiste et proposer

sudo dd if=/dev/sda skip=1736445256 count=8  of=/dev/null

afin que tu aies le message d'erreur ou de bonne fin.

Tu peux continuer à tester.

sudo smartctl  -t select,1736445256-max /dev/sda

Si tu te sens capable de réparer l'erreur suivante s'il y en a, tu fais, sinon tu postes.

Ce n'est qu'un avis, mais au-delà de 100  paquets de 8 secteurs,   (la marge peut être de 1 à 65536 secteurs)il ne faut plus faire confiance  au disque


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

En ligne

#14 Le 04/08/2019, à 14:17

doudy

Re : Problème de disque dur ?

ubuntu@ubuntu:~$ sudo dd if=/dev/sda skip=1736445256 count=8  2>/dev/null | hexdump -C
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00001000
ubuntu@ubuntu:~$ sudo dd if=/dev/sda skip=1736445256 count=8  of=/dev/null
8+0 enregistrements lus
8+0 enregistrements écrits
4096 bytes (4,1 kB, 4,0 KiB) copied, 0,000346161 s, 11,8 MB/s

J'ai relancé :

sudo smartctl  -t select,1736445256-max /dev/sda

Je suis un peu dépassé  par tous ces tests .... et comme il faudrait que ça marche pour demain, je vais installer un SSD neuf que j'ai en stock et ça va résoudre le problème...
Est il préférable, pour une utilisation basique de bureautique, d'installer la 18.04 LTS ou bien la dernière 19.04 ?

Merci encore pour l'aide et le temps passé smile

Bonne journée

Dernière modification par doudy (Le 04/08/2019, à 14:20)


Ubuntu 22.04

Hors ligne

#15 Le 04/08/2019, à 14:58

geole

Re : Problème de disque dur ?

Tu verras bien la quantité de  blocks qui vont être trouvés.
Je t'ai aussi dit que tu pouvais immédiatement faire la réparation par la commande FSCK et faire les tests avec le ubuntu installé.

Le but est  de savoir combien le disque a de secteurs défectueux. Le fait que cela se soit planté deux fois ne signifie pas qu'il y a 2 secteurs défectueux. Cela peut être deux fois le même puisque qu'il n'y a pas eu de correction.

En principe, on change le disque lorsque des nouveaux secteurs défectueux apparaissent  à une fréquence  de l'utilisateur juge trop rapprochée.
Certains utilisateurs décident de changer le disque dés l'arrivée du premier secteur défecteux, c'est un peu comme changer une voiture lorsqu'un pneu crève

Je n'avais pas tilté sur le fait que tu possédais déjà un SSD.

Que cela soit pour un utilisation basique ou pas de ubuntu, lorsqu'on ne souhaite pas participer à la mise au point des logiciels, on installe une version LTS qui   est maintenue cinq ans (le cas de la 18.04)     et pas une version qu'il faut remplacer au bout de 9 mois par une autre (le cas de la version 19.04)
Lorsque l'ordinateur n'est pas un nouveau-né, on peut même prendre une version 18.04  qui n'est pas équipée des noyaux les plus récents mais des noyaux éprouvés.

Tu as dit avoir la version UBUNTU 16.04.    Voici un lien pour télécharger la version UBUNTU 18.04.1 par torrent http://old-releases.ubuntu.com/releases … so.torrent  ou en iso. http://old-releases.ubuntu.com/releases … -amd64.iso
Cependant, tu peux aussi choisir la version 18.04.2


AJOUT.  En relisant, je vois que tu es déjà en version 18.04.   Conserve cette version.  Comme tu viens de l'installer, Même si le disque était en excellant  état, mettre le logiciel sur le SSD est un sacré plus.

Dernière modification par geole (Le 04/08/2019, à 15:12)


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

En ligne

#16 Le 04/08/2019, à 15:22

doudy

Re : Problème de disque dur ?

Je vais mettre le système 18.04 sur le SSD neuf , et pour ce qui est de l'ancien disque mécanique qui a un problème je ferai un  FSCK pour voir s'il est récupérable comme simple disque de données ...

Merci encore des conseils smile

Bon après midi

Ajout: Je viens d'installer 18.04 sur le SSD, et le gain de réactivité est assez important pour ne plus repasser sur des DD mécaniques, en espérant que le système soit aussi stable qu'avant ...

Dernière modification par doudy (Le 04/08/2019, à 16:20)


Ubuntu 22.04

Hors ligne