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.

#26 Le 10/04/2025, à 09:25

zatigem

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

Bonjour,
Peux-tu donner le retour copié / collé + les étapes que tu as suivi avec la commande

sudo testdisk

Ne surtout rien écrire / ne pas formater ton disque d'origine. Tu suggerais de recréer une partition dessus? Chaque manipulation, notament créer une partition, écrire, que tu fais sur ton disque endommagé risque de te faire perdre encore plus de données.

Dernière modification par zatigem (Le 10/04/2025, à 09:54)

Hors ligne

#27 Le 10/04/2025, à 09:39

enrico_69003

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

Un peu busy, je fais ça plus tard.

Dernière modification par enrico_69003 (Le 10/04/2025, à 09:44)

Hors ligne

#28 Le 10/04/2025, à 09:46

geole

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

Bonjour.
Tu dis ne plus voir SDB1. Pourtant il était présent au début .
On n'a donc maintenant que ce choix
Copier SDB dans SDC. Mais c'est sans grand interêt puisque déja copié dans SDC1.
1) On va regarder l'état général de SDB afin de voir si sa réparation est jouable.
2) On va récupérer le secteur illisible et tenter sa réparation.
Les commandes arrivent.
Installe l'application smartmontools
Publie ce retour.

sudo smartctl -s on -a /dev/sdb

Publie aussi

 touch $HOME/ddbadblocs
sudo ddrescuelog -l- -b4096 $HOME/ddsuivi >$HOME/ddbadblocs
cat $HOME/ddbadblocs

Comme  malheureusement, je n'avais pas pensé immédiatement à te demander l'implantation de SDB1, on va essayer de retrouver.

Dernière modification par geole (Le 10/04/2025, à 09:59)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#29 Le 10/04/2025, à 09:52

enrico_69003

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

geole a écrit :

Bonjour.
Tu dis ne plus voir SDB1. Pourtant il était présent au début .
On n'a donc maintenant que ce choix
Copier SDB dans SDC. Mais c'est sans grand interêt puisque déja copié dans SDC1.
1) On va regarder l'état général de SDB afin de voir si sa réparation est jouable.
2) On va récupérer le secteur illisible et tenter sa réparation.
Les commandes arrivent.

Bonjour,
A noter que ce matin, sur Disques, le disque cible de 2 To est sdb, avec une partition sdb1 de 1To "unknown"
et le disque source de 1To est sdc, sans partition, avec un contenu de 1 To "unknown"

Dernière modification par enrico_69003 (Le 10/04/2025, à 09:54)

Hors ligne

#30 Le 10/04/2025, à 09:55

enrico_69003

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

eric@eric:~$ sudo smartctl -s on -a /dev/sdb
[sudo] Mot de passe de eric : 
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.11.0-21-generic] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:                       Samsung Portable SSD T7
Serial Number:                      S7MNNS0Y210966R
Firmware Version:                   FXG44P2Q
PCI Vendor/Subsystem ID:            0x144d
IEEE OUI Identifier:                0x002538
Total NVM Capacity:                 2000398934016 [2,00 TB]
Unallocated NVM Capacity:           0
Controller ID:                      5
NVMe Version:                       1.4
Number of Namespaces:               1
Namespace 1 Size/Capacity:          2000398934016 [2,00 TB]
Namespace 1 Formatted LBA Size:     512
Local Time is:                      Thu Apr 10 09:55:30 2025 CEST
Firmware Updates (0x16):            3 Slots, no Reset required
Optional Admin Commands (0x0007):   Security Format Frmw_DL
Optional NVM Commands (0x0015):     Comp DS_Mngmt Sav/Sel_Feat
Log Page Attributes (0x0f):         S/H_per_NS Cmd_Eff_Lg Ext_Get_Lg Telmtry_Lg
Maximum Data Transfer Size:         512 Pages
Warning  Comp. Temp. Threshold:     52 Celsius
Critical Comp. Temp. Threshold:     54 Celsius
Namespace 1 Features (0x10):        NP_Fields

Supported Power States
St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
 0 +     4.83W       -        -    0  0  0  0        0       0
 1 +     3.54W       -        -    1  1  1  1        0       0
 2 +     3.04W       -        -    2  2  2  2        0    6000
 3 -   0.0500W       -        -    3  3  3  3     6000    1500

Supported LBA Sizes (NSID 0x1)
Id Fmt  Data  Metadt  Rel_Perf
 0 +     512       0         0

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

SMART/Health Information (NVMe Log 0x02)
Critical Warning:                   0x00
Temperature:                        24 Celsius
Available Spare:                    100%
Available Spare Threshold:          10%
Percentage Used:                    0%
Data Units Read:                    6035 [3,08 GB]
Data Units Written:                 11785189 [6,03 TB]
Host Read Commands:                 56485
Host Write Commands:                46613923
Controller Busy Time:               243
Power Cycles:                       6
Power On Hours:                     48
Unsafe Shutdowns:                   5
Media and Data Integrity Errors:    0
Error Information Log Entries:      0
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0
Temperature Sensor 1:               24 Celsius
Temperature Sensor 2:               24 Celsius

Warning: NVMe Get Log truncated to 0x200 bytes, 0x200 bytes zero filled
Error Information (NVMe Log 0x01, 16 of 64 entries)
No Errors Logged

Self-tests not supported

eric@eric:~$ 

Hors ligne

#31 Le 10/04/2025, à 10:00

enrico_69003

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

En fait, le T7 de 2To est visible dans le gestionnaire de fichiers si je vais sur 'Autres emplacements", mais si je clique dessus ou si je clique sur "monter", il dit "Impossible d'accéder à l'emplacement". Et il a un nom bizarre : Usb-Samsung_PSSD_T7_S7MNNS0...

Dernière modification par enrico_69003 (Le 10/04/2025, à 10:29)

Hors ligne

#32 Le 10/04/2025, à 10:03

geole

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

enrico_69003 a écrit :

Bonjour,
A noter que ce matin, sur Disques, le disque cible de 2 To est sdb, avec une partition sdb1 de 1To "unknown"
et le disque source de 1To est sdc, sans partition, avec un contenu de 1 To "unknown"

Alors remplace sdb par sdc

Nota. Je comprends pourquoi ta copie a été rapide
Model Number:                       Samsung Portable SSD T7

On ne monte pas des disques mais des partitions.

sudo mount -v /dev/sdb1

Cependant cela va être compliqué puisque cette partition est une image de disque ayant une partition en mauvais état.

Dernière modification par geole (Le 10/04/2025, à 10:10)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#33 Le 10/04/2025, à 10:10

enrico_69003

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

eric@eric:~$ sudo smartctl -s on -a /dev/sdc
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.11.0-21-generic] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     HGST Travelstar 7K1000
Device Model:     HGST HTS721010A9E630
Serial Number:    JS10206208T4ST
LU WWN Device Id: 5 000cca 836c3fda3
Firmware Version: JB0OA3J0
User Capacity:    1000204886016 bytes [1,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Form Factor:      2.5 inches
Device is:        In smartctl database 7.3/5528
ATA Version is:   ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Thu Apr 10 10:09:15 2025 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:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(   45) 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: 	 ( 171) minutes.
SCT capabilities: 	       (0x003d)	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     0x000b   086   086   062    Pre-fail  Always       -       8519680
  2 Throughput_Performance  0x0005   100   100   040    Pre-fail  Offline      -       0
  3 Spin_Up_Time            0x0007   114   114   033    Pre-fail  Always       -       2
  4 Start_Stop_Count        0x0012   093   093   000    Old_age   Always       -       11345
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   100   100   040    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0012   001   001   000    Old_age   Always       -       44848
 10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   098   098   000    Old_age   Always       -       4673
191 G-Sense_Error_Rate      0x000a   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   083   083   000    Old_age   Always       -       3507
193 Load_Cycle_Count        0x0012   095   095   000    Old_age   Always       -       53415
194 Temperature_Celsius     0x0002   253   253   000    Old_age   Always       -       23 (Min/Max 15/50)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       8
198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       0
223 Load_Retry_Count        0x000a   100   100   000    Old_age   Always       -       0

SMART Error Log Version: 1
ATA Error Count: 2823 (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 2823 occurred at disk power-on lifetime: 44838 hours (1868 days + 6 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 00 08 60 00  Error: UNC 8 sectors at LBA = 0x00600800 = 6293504

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 03 08 00 08 60 40 00      03:32:21.845  READ DMA EXT
  ef 03 46 00 08 60 00 00      03:32:21.845  SET FEATURES [Set transfer mode]
  ef 03 0c 00 08 60 00 00      03:32:21.845  SET FEATURES [Set transfer mode]
  ec 03 08 00 08 60 00 00      03:32:21.844  IDENTIFY DEVICE
  25 03 08 00 08 60 00 04      03:32:21.824  READ DMA EXT

Error 2822 occurred at disk power-on lifetime: 44838 hours (1868 days + 6 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 00 08 60 00  Error: UNC 8 sectors at LBA = 0x00600800 = 6293504

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 03 08 00 08 60 40 00      03:32:18.903  READ DMA EXT
  ef 03 46 00 08 60 00 00      03:32:18.903  SET FEATURES [Set transfer mode]
  ef 03 0c 00 08 60 00 00      03:32:18.903  SET FEATURES [Set transfer mode]
  ec 03 08 00 08 60 00 00      03:32:18.902  IDENTIFY DEVICE
  25 03 08 00 08 60 00 04      03:32:18.882  READ DMA EXT

Error 2821 occurred at disk power-on lifetime: 44838 hours (1868 days + 6 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 00 08 60 00  Error: UNC 8 sectors at LBA = 0x00600800 = 6293504

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 03 08 00 08 60 40 00      03:32:15.962  READ DMA EXT
  ef 03 46 00 08 60 00 00      03:32:15.961  SET FEATURES [Set transfer mode]
  ef 03 0c 00 08 60 00 00      03:32:15.961  SET FEATURES [Set transfer mode]
  ec 03 08 00 08 60 00 00      03:32:15.960  IDENTIFY DEVICE
  25 03 08 00 08 60 00 04      03:32:15.940  READ DMA EXT

Error 2820 occurred at disk power-on lifetime: 44838 hours (1868 days + 6 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 00 08 60 00  Error: UNC 8 sectors at LBA = 0x00600800 = 6293504

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 03 08 00 08 60 40 00      03:32:13.037  READ DMA EXT
  ef 03 46 00 08 60 00 00      03:32:13.036  SET FEATURES [Set transfer mode]
  ef 03 0c 00 08 60 00 00      03:32:13.036  SET FEATURES [Set transfer mode]
  ec 03 08 00 08 60 00 00      03:32:13.035  IDENTIFY DEVICE
  25 03 08 00 08 60 00 04      03:32:13.015  READ DMA EXT

Error 2819 occurred at disk power-on lifetime: 44838 hours (1868 days + 6 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 00 08 60 00  Error: UNC 8 sectors at LBA = 0x00600800 = 6293504

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 03 08 00 08 60 40 00      03:32:10.086  READ DMA EXT
  ef 03 46 00 08 60 00 00      03:32:10.086  SET FEATURES [Set transfer mode]
  ef 03 0c 00 08 60 00 00      03:32:10.086  SET FEATURES [Set transfer mode]
  ec 03 08 00 08 60 00 00      03:32:10.085  IDENTIFY DEVICE
  25 03 08 00 08 60 00 04      03:32:10.065  READ DMA EXT

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed: read failure       90%     44818         6293504

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.

The above only provides legacy SMART information - try 'smartctl -x' for more

eric@eric:~$ 

Hors ligne

#34 Le 10/04/2025, à 10:11

enrico_69003

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

eric@eric:~$ touch $HOME/ddbadblocs
sudo ddrescuelog -l- -b4096 $HOME/ddsuivi >$HOME/ddbadblocs
cat $HOME/ddbadblocs
786688
eric@eric:~$ 

Hors ligne

#35 Le 10/04/2025, à 10:13

enrico_69003

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

eric@eric:~$ sudo mount -v /dev/sdb1
mount: /mnt/usb-Samsung_PSSD_T7_S7MNNS0Y210966R-0:0-part1: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.
eric@eric:~$ 

Hors ligne

#36 Le 10/04/2025, à 10:39

geole

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

Donne aussi ce retour. Il peut être long a s'afficher
journalctl -g "i/o error, dev sd" | grep -Ev "Boot|No entries|Reboot"  | awk  '{printf ("%-7s %010d\n", $11, $12) }' | sort | uniq -c |sort

J'analyse le rapport smartctl dans la foulée


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#37 Le 10/04/2025, à 10:41

enrico_69003

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

eric@eric:~$ journalctl -g "i/o error, dev sd" | grep -Ev "Boot|No entries|Reboot"  | awk  '{printf ("%-7s %010d\n", $11, $12) }' | sort | uniq -c |sort
      1 0       0000000000
      1 1953521536 0000000000
      1 1953521656 0000000000
      1 1953524256 0000000000
      1 1953524912 0000000000
      1 1953524992 0000000000
      1 205695096 0000000000
      1 208249840 0000000000
      1 208249904 0000000000
      1 208255056 0000000000
      1 208255096 0000000000
      1 208332872 0000000000
      1 208345080 0000000000
      1 208345112 0000000000
    122 6293504 0000000000
      1 32      0000000000
      1 6144    0000000000
      1 6293507 0000000000
      1 6293760 0000000000
      2 2080    0000000000
      2 2176    0000000000
      2 3072    0000000000
      2 4096    0000000000
      2 6293508 0000000000
      3 2304    0000000000
      3 6293509 0000000000
      3 6293510 0000000000
      3 6293511 0000000000
      3 6294528 0000000000
      3 8       0000000000
      4 2112    0000000000
eric@eric:~$ 

Hors ligne

#38 Le 10/04/2025, à 10:48

zatigem

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

J'ai trouvé l'option /b de chkdisk au passage mais à faire uniquement si la méthode de @geole ne marche pas.
Aussi, as-tu bien utilisé l'option /f ? Tu n'en as pas parlé.

Dernière modification par zatigem (Le 10/04/2025, à 11:00)

Hors ligne

#39 Le 10/04/2025, à 10:55

geole

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

enrico_69003 a écrit :

sudo smartctl -s on -a /dev/sdc
=== START OF INFORMATION SECTION ===
Model Family:     HGST Travelstar 7K1000
Device Model:     HGST HTS721010A9E630
User Capacity:    1000204886016 bytes [1,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical

Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   100   100   040    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0012   001   001   000    Old_age   Always       -       44848
191 G-Sense_Error_Rate      0x000a   100   100   000    Old_age   Always       -       0
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       8
198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       0
223 Load_Retry_Count        0x000a   100   100   000    Old_age   Always       -       0

Error 2823 occurred at disk power-on lifetime: 44838 hours (1868 days + 6 hours)  Error: UNC 8 sectors at LBA = 6293504
Error 2822 occurred at disk power-on lifetime: 44838 hours (1868 days + 6 hours)  Error: UNC 8 sectors at LBA =  6293504
Error 2821 occurred at disk power-on lifetime: 44838 hours (1868 days + 6 hours)  Error: UNC 8 sectors at LBA =  6293504
Error 2820 occurred at disk power-on lifetime: 44838 hours (1868 days + 6 hours)  Error: UNC 8 sectors at LBA =  6293504
Error 2819 occurred at disk power-on lifetime: 44838 hours (1868 days + 6 hours)  Error: UNC 8 sectors at LBA =  6293504 

Donc disque déclaré statistiquement usé par son constructeur N'ayant jamais eu besoin de réparer des secteurs deffectueux.
Mais il suffit que cela arrive pour qu'il montre qu'il ne sait pas le faire.
Tente cette  vérification

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

   Si c'est plein de zéros, on ne s'est pas trompé d'endroit. On force alors l'écriture.

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

Puis on vérifie que c'est réparé

Sect=6293504
for    (( I=0; I < 8; I++ ));  do
       sudo dd if=/dev/sdc count=1 skip=$(($Sect+$I))  
       sleep 5
done

si c'est illisible, on n'a pas su réparer. Le disque est à changer

Dernière modification par geole (Le 10/04/2025, à 11:17)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#40 Le 10/04/2025, à 11:02

enrico_69003

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

eric@eric:~$ Sect=6293504
for    (( I=0; I < 8; I++ ));  do
       sudo   hdparm    --yes-i-know-what-i-am-doing    --read-sector   $(($Sect+$I))  /dev/sdc
       sleep 5
done
[sudo] Mot de passe de eric : 

/dev/sdc:
reading sector 6293504: SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 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/sdc:
reading sector 6293505: SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 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/sdc:
reading sector 6293506: SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 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/sdc:
reading sector 6293507: SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 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/sdc:
reading sector 6293508: SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 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/sdc:
reading sector 6293509: SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 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/sdc:
reading sector 6293510: SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 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/sdc:
reading sector 6293511: SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 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
eric@eric:~$ 

Hors ligne

#41 Le 10/04/2025, à 11:08

enrico_69003

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

zatigem a écrit :

J'ai trouvé l'option /b de chkdisk au passage mais à faire uniquement si la méthode de @geole ne marche pas.
Aussi, as-tu bien utilisé l'option /f ? Tu n'en as pas parlé.

Si, j'ai fait chksdk /f sous W (avec la lettre du disque en plus) (cf #11), mais ça n'a pas marché because disque endommagé. A voir plus tard l'option /b.

Dernière modification par enrico_69003 (Le 10/04/2025, à 11:09)

Hors ligne

#42 Le 10/04/2025, à 11:09

geole

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

enrico_69003 a écrit :
eric@eric:~$ journalctl -g "i/o error, dev sd" | grep -Ev "Boot|No entries|Reboot"  | awk  '{printf ("%-7s %010d\n", $11, $12) }' | sort | uniq -c |sort
      1 0       0000000000
      1 1953521536 0000000000
      1 1953521656 0000000000
      1 1953524256 0000000000
      1 1953524912 0000000000
      1 1953524992 0000000000
      1 205695096 0000000000
      1 208249840 0000000000
      1 208249904 0000000000
      1 208255056 0000000000
      1 208255096 0000000000
      1 208332872 0000000000
      1 208345080 0000000000
      1 208345112 0000000000
    122 6293504 0000000000
      1 32      0000000000
      1 6144    0000000000
      1 6293507 0000000000
      1 6293760 0000000000
      2 2080    0000000000
      2 2176    0000000000
      2 3072    0000000000
      2 4096    0000000000
      2 6293508 0000000000
      3 2304    0000000000
      3 6293509 0000000000
      3 6293510 0000000000
      3 6293511 0000000000
      3 6294528 0000000000
      3 8       0000000000
      4 2112    0000000000
eric@eric:~$ 

J'ai du rater quelque chose  pour le troisième champ:  Le nom du disque n'est pas présent.  peut-être que tout n'appartient pas au disque usagé. Mais cela fait une belle liste.

enrico_69003 a écrit :
eric@eric:~$ touch $HOME/ddbadblocs
sudo ddrescuelog -l- -b4096 $HOME/ddsuivi >$HOME/ddbadblocs
cat $HOME/ddbadblocs
786688
eric@eric:~$ 

et

 echo $((786688*8))
6293504

Indique bien le secteur repéré dans smartctl


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#43 Le 10/04/2025, à 11:11

enrico_69003

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

eric@eric:~$ Sect=6293504
for    (( I=0; I < 8; I++ ));  do
       sudo   hdparm    --yes-i-know-what-i-am-doing    --write-sector   $(($Sect+$I))  /dev/sdc
       sleep 5
done

/dev/sdc:
re-writing sector 6293504: succeeded

/dev/sdc:
re-writing sector 6293505: succeeded

/dev/sdc:
re-writing sector 6293506: succeeded

/dev/sdc:
re-writing sector 6293507: succeeded

/dev/sdc:
re-writing sector 6293508: succeeded

/dev/sdc:
re-writing sector 6293509: succeeded

/dev/sdc:
re-writing sector 6293510: succeeded

/dev/sdc:
re-writing sector 6293511: succeeded
eric@eric:~$ 

Hors ligne

#44 Le 10/04/2025, à 11:13

enrico_69003

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

eric@eric:~$ Sect=6293504
for    (( I=0; I < 8; I++ ));  do
       sudo   hdparm    --yes-i-know-what-i-am-doing    --read-sector   $(($Sect+$I))  /dev/sdc
       sleep 5
done

/dev/sdc:
reading sector 6293504: 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/sdc:
reading sector 6293505: 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/sdc:
reading sector 6293506: 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/sdc:
reading sector 6293507: 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/sdc:
reading sector 6293508: 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/sdc:
reading sector 6293509: 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/sdc:
reading sector 6293510: 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/sdc:
reading sector 6293511: 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
eric@eric:~$ 

Hors ligne

#45 Le 10/04/2025, à 11:23

geole

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

J'ai rectifié la commande de vérification
Puis on vérifie que c'est réparé

Sect=6293504
for    (( I=0; I < 8; I++ ));  do
       sudo dd if=/dev/sdc count=1 skip=$(($Sect+$I))  
       sleep 5
done

et redonne

sudo smartctl -a /dev/sdc | grep -E "Sector Size|Pending|Reallocated"

Si le montage est resté le même, La suite serait de retenter testdisk    dans sa recherche de partitions afin qu'il essaie de retrouver..

sudo testdisk /dev/sdc

  Sinon, je ne vois plus que photorec.

Dernière modification par geole (Le 10/04/2025, à 11:34)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity

Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#46 Le 10/04/2025, à 11:36

enrico_69003

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

eric@eric:~$ Sect=6293504
for    (( I=0; I < 8; I++ ));  do
       sudo dd if=/dev/sdc count=1 skip=$(($Sect+$I))  
       sleep 5
done
[sudo] Mot de passe de eric : 
1+0 enregistrements lus
1+0 enregistrements écrits
512 octets copiés, 0,0386856 s, 13,2 kB/s
1+0 enregistrements lus
1+0 enregistrements écrits
512 octets copiés, 0,000214173 s, 2,4 MB/s
1+0 enregistrements lus
1+0 enregistrements écrits
512 octets copiés, 0,000204527 s, 2,5 MB/s
1+0 enregistrements lus
1+0 enregistrements écrits
512 octets copiés, 0,000195174 s, 2,6 MB/s
1+0 enregistrements lus
1+0 enregistrements écrits
512 octets copiés, 0,000197168 s, 2,6 MB/s
1+0 enregistrements lus
1+0 enregistrements écrits
512 octets copiés, 0,00018213 s, 2,8 MB/s
1+0 enregistrements lus
1+0 enregistrements écrits
512 octets copiés, 0,000200291 s, 2,6 MB/s
1+0 enregistrements lus
1+0 enregistrements écrits
512 octets copiés, 0,000217085 s, 2,4 MB/s
eric@eric:~$ 

Hors ligne

#47 Le 10/04/2025, à 11:37

enrico_69003

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

eric@eric:~$ sudo smartctl -a /dev/sdc | grep -E "Sector Size|Pending|Reallocated"
Sector Sizes:     512 bytes logical, 4096 bytes physical
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       1
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0
eric@eric:~$ 

Hors ligne

#48 Le 10/04/2025, à 11:41

enrico_69003

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

TestDisk 7.1, Data Recovery Utility, July 2019
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org


Disk /dev/sdc - 1000 GB / 931 GiB - HGST TOURO S

Please select the partition table type, press Enter when done.
>[Intel  ] Intel/PC partition
 [EFI GPT] EFI GPT partition map (Mac i386, some x86_64...)
 [Humax  ] Humax partition table
 [Mac    ] Apple partition map (legacy)
 [None   ] Non partitioned media
 [Sun    ] Sun Solaris partition
 [XBox   ] XBox partition
 [Return ] Return to disk selection




Note: Do NOT select 'None' for media with only a single partition. It's very
rare for a disk to be 'Non-partitioned'.

Là, il faut que je choisisse "None", non ?

Hors ligne

#49 Le 10/04/2025, à 11:44

enrico_69003

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

TestDisk 7.1, Data Recovery Utility, July 2019
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org

Disk /dev/sdc - 1000 GB / 931 GiB - CHS 121601 255 63

     Partition                  Start        End    Size in sectors
>   P Unknown                  0   0  1 121601  80 63 1953525168






 [  Type  ] >[Image Creation]  [  Quit  ]
                                Create an image

J'ai choisi "None" au-dessus, et là, je choisis "Image création"

Dernière modification par enrico_69003 (Le 10/04/2025, à 11:44)

Hors ligne

#50 Le 10/04/2025, à 11:48

zatigem

Re : [Résolu] Le disque dur externe plus dans le gestionnaire de fichiers

Note: Do NOT select 'None' for media with only a single partition. It's very
rare for a disk to be 'Non-partitioned'.
. Essaye autre chose que None peut-être ? C'est a toi de nous dire, te rappele tu avoir choisi une table de partition ? GPT ? MBR / ms-dos ? ...

Dernière modification par zatigem (Le 10/04/2025, à 11:50)

Hors ligne