Pages : 1
#1 Le 13/12/2016, à 09:43
- Saturnin51
[RES]Disque HS ?
Bonjour,
j'ai un HD externe de 320 Go sur lequel j'avais voulu installer la distribution Astronomy Ubuntu, sans succès. Depuis il ne se monte plus et lorsque je veux le formater avec l'outil disque en ext4, j'obtiens le message suivant après un moment de travail:
Error creating file system: Command-line `mkfs.ext4 -F -L "" "/dev/sdf"' exited with non-zero exit status 37:
stdout: `/dev/sdf est le périphérique en intégralité, pas seulement une partition !
En train de créer un système de fichiers avec 78142806 4k blocs et 19537920 i-noeuds.
UUID de système de fichiers=45db32e3-101a-464f-a118-42a03c6b63f4
Superblocs de secours stockés sur les blocs :
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616
Allocation des tables de groupe : 0/2385 complété
Écriture des tables d'i-noeuds : 0/2385 complété
Création du journal (32768 blocs) : complété
Écriture des superblocs et de l'information de comptabilité du système de
fichiers : 0/2385 2/2385 4/2385 626/2385 '
stderr: `mke2fs 1.42.13 (17-May-2015)
Avertissement : impossible d'effacer le secteur 2 : La tentative d'écriture d'un block vers le système de fichiers a produit une écriture tronquée
Avertissement : impossible de lire le bloc 0 : La tentative de lecture d'un bloc depuis le système de fichiers a produit une lecture tronquée
Avertissement : impossible d'effacer le secteur 0 : La tentative d'écriture d'un block vers le système de fichiers a produit une écriture tronquée
Attention, des problèmes sont survenus lors de l'écriture des superblocs.' (udisks-error-quark, 0)
Définitivement HS ? Merci d'avance pour vos réponses.
Modération : merci à l'avenir d'utiliser les balises code (explications ici).
Dernière modification par Saturnin51 (Le 06/01/2017, à 05:40)
Hors ligne
#2 Le 13/12/2016, à 10:35
- inbox
Re : [RES]Disque HS ?
Salut,
Comme l'indique ce message (stdout: `/dev/sdf est le périphérique en intégralité, pas seulement une partition !), tu as voulu formater ton disque entier sans créer de partition auparavant.
Je ne sais si tu es au courant, mais il existe un outil graphique pour partitionner et formater : gparted.
A+
Un problème résolu ? Indiquez le en modifiant le titre du sujet.
Hors ligne
#3 Le 13/12/2016, à 12:12
- MicP
Re : [RES]Disque HS ?
…tu as voulu formater ton disque entier sans créer de partition auparavant.…
Ni de table de partitions afin de pouvoir créer les partitions et de les formater
Dernière modification par MicP (Le 13/12/2016, à 12:13)
Hors ligne
#4 Le 14/12/2016, à 10:16
- Saturnin51
Re : [RES]Disque HS ?
Pas moyen de créer une partition avec Gparted, Windows ou sur un Mac. Il doit être vraiment HS. un passage au congélateur peut être ?
Hors ligne
#5 Le 14/12/2016, à 19:52
- Laurent85
Re : [RES]Disque HS ?
Génère et colle le rapport SMART du disque dur dans ta réponse,
installe smartmontools :
sudo apt install smartmontools
si la première commande ne marche pas, essaie la seconde :
sudo smartctl -iHA --log=error /dev/sdf
sudo smartctl -iHA --log=error -d sat,16 /dev/sdf
Hors ligne
#6 Le 14/12/2016, à 23:05
- Bougron
Re : [RES]Disque HS ?
Bonsoir
La premier commande dont parle laurant85 a été oubliée,
Après l'installation du logiciel c'est
sudo smartctl -s on -a /dev/sdf
Dernière modification par Bougron (Le 14/12/2016, à 23:06)
Hors ligne
#7 Le 15/12/2016, à 14:27
- Saturnin51
Re : [RES]Disque HS ?
la réponse après le -s on -s /dev/sdf
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-53-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 Momentus 5400.6
Device Model: ST9320325AS
Serial Number: 5VD4P8FC
LU WWN Device Id: 5 000c50 029b6066f
Firmware Version: 0002SDM1
User Capacity: 320 072 933 376 bytes [320 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 5400 rpm
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS T13/1699-D revision 4
SATA Version is: SATA 2.6, 3.0 Gb/s
Local Time is: Thu Dec 15 14:25:11 2016 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
See vendor-specific Attribute list for marginal Attributes.
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 0) seconds.
Offline data collection
capabilities: (0x73) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 99) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x103b) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 093 093 006 Pre-fail Always - 199508576
3 Spin_Up_Time 0x0003 099 098 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 097 097 020 Old_age Always - 3408
5 Reallocated_Sector_Ct 0x0033 099 099 036 Pre-fail Always - 40
7 Seek_Error_Rate 0x000f 078 060 030 Pre-fail Always - 81600490
9 Power_On_Hours 0x0032 097 097 000 Old_age Always - 3103
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 098 098 020 Old_age Always - 2954
184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0
187 Reported_Uncorrect 0x0032 001 001 000 Old_age Always - 1212
188 Command_Timeout 0x0032 100 092 000 Old_age Always - 25770328550
189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0022 083 044 045 Old_age Always In_the_past 17 (0 1 17 17 0)
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 47
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 1624
193 Load_Cycle_Count 0x0032 083 083 000 Old_age Always - 34982
194 Temperature_Celsius 0x0022 017 056 000 Old_age Always - 17 (0 6 0 0 0)
195 Hardware_ECC_Recovered 0x001a 055 046 000 Old_age Always - 199508576
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 7
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 7
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
254 Free_Fall_Sensor 0x0032 100 100 000 Old_age Always - 0
SMART Error Log Version: 1
ATA Error Count: 1250 (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 1250 occurred at disk power-on lifetime: 3101 hours (129 days + 5 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 00 82 00 00 00 Error: UNC at LBA = 0x00000082 = 130
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
25 00 08 80 00 00 40 00 02:50:10.981 READ DMA EXT
ec 00 01 00 00 00 00 00 02:49:36.801 IDENTIFY DEVICE
25 00 08 00 08 00 40 00 02:49:34.340 READ DMA EXT
ec 00 01 00 00 00 00 00 02:49:34.240 IDENTIFY DEVICE
ec 00 01 00 00 00 00 00 02:49:34.182 IDENTIFY DEVICE
Error 1249 occurred at disk power-on lifetime: 3101 hours (129 days + 5 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 00 03 08 00 00 Error: UNC at LBA = 0x00000803 = 2051
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
25 00 08 00 08 00 40 00 02:49:34.340 READ DMA EXT
ec 00 01 00 00 00 00 00 02:49:34.240 IDENTIFY DEVICE
ec 00 01 00 00 00 00 00 02:49:34.182 IDENTIFY DEVICE
25 00 08 00 08 00 40 00 02:49:31.617 READ DMA EXT
25 00 08 00 08 00 40 00 02:49:29.152 READ DMA EXT
Error 1248 occurred at disk power-on lifetime: 3101 hours (129 days + 5 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 00 03 08 00 00 Error: UNC at LBA = 0x00000803 = 2051
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
25 00 08 00 08 00 40 00 02:49:31.617 READ DMA EXT
25 00 08 00 08 00 40 00 02:49:29.152 READ DMA EXT
25 00 08 ff ff ff 4f 00 02:49:29.150 READ DMA EXT
25 00 08 ff ff ff 4f 00 02:49:29.150 READ DMA EXT
25 00 08 ff ff ff 4f 00 02:49:29.150 READ DMA EXT
Error 1247 occurred at disk power-on lifetime: 3101 hours (129 days + 5 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 00 03 08 00 00 Error: UNC at LBA = 0x00000803 = 2051
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
25 00 08 00 08 00 40 00 02:49:29.152 READ DMA EXT
25 00 08 ff ff ff 4f 00 02:49:29.150 READ DMA EXT
25 00 08 ff ff ff 4f 00 02:49:29.150 READ DMA EXT
25 00 08 ff ff ff 4f 00 02:49:29.150 READ DMA EXT
25 00 08 ff ff ff 4f 00 02:49:29.149 READ DMA EXT
Error 1246 occurred at disk power-on lifetime: 3101 hours (129 days + 5 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 00 82 00 00 00 Error: UNC at LBA = 0x00000082 = 130
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
25 00 08 80 00 00 40 00 02:49:26.239 READ DMA EXT
25 00 08 ff ff ff 4f 00 02:49:26.195 READ DMA EXT
25 00 08 80 00 00 40 00 02:49:21.426 READ DMA EXT
25 00 08 ff ff ff 4f 00 02:49:21.374 READ DMA EXT
ec 00 01 00 00 00 40 00 02:49:21.234 IDENTIFY DEVICE
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
Dernière modification par Saturnin51 (Le 15/12/2016, à 17:35)
Hors ligne
#8 Le 15/12/2016, à 14:52
- Bougron
Re : [RES]Disque HS ?
Bonjour
Je confirme ce que tout le monte pressentait: Le disque est fichu
1) Nombre très important d'erreurs
Error 1249 occurred at disk power-on lifetime: 3101 hours (129 days + 5 hours)
2) Dont la dernière est quasiment maintenant
9 Power_On_Hours 0x0032 097 097 000 Old_age Always - 3103
et portant sur le LBA 130 soit le tout début du disque dans un endroit où les caractéristiques des partitions sont certainement stockées.
3) Des secteurs restés illisibles
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 7
4) Avec déjà pas mal de réparés.
5 Reallocated_Sector_Ct 0x0033 099 099 036 Pre-fail Always - 40
4) Avec un accès aux plateaux catastrophique
1 Raw_Read_Error_Rate 0x000f 093 093 006 Pre-fail Always - 199508576
7 Seek_Error_Rate 0x000f 078 060 030 Pre-fail Always - 81600490
195 Hardware_ECC_Recovered 0x001a 055 046 000 Old_age Always - 199508576
Je ne pense pas que la cause soit le froid ambiant...
194 Temperature_Celsius 0x0022 017 056 000 Old_age Always - 17 (0 6 0 0 0)
Mais, je vais quand quand même regarder les recommandations pour ce disque.
==> Il est sensément opérationnel à partir de zéro degré.
Dernière modification par Bougron (Le 15/12/2016, à 15:04)
Hors ligne
#9 Le 15/12/2016, à 17:36
- Saturnin51
Re : [RES]Disque HS ?
Bon direction la déchetterie. Merci à tous et bonne fin d'année.
Robert
Dernière modification par Saturnin51 (Le 15/12/2016, à 17:37)
Hors ligne
Pages : 1