Clé USB défectueuse

Utiliser TestDisk pour réparer le système de fichier
Locked
Message
Author
pticle94
Posts: 1
Joined: 24 Jan 2014, 11:30

Clé USB défectueuse

#1 Post by pticle94 »

Bonjour,

J'ai une clé USB de 64GB que j'ai formatée en FAT32 en utilisant EaseUS Partition Master.
Pendant le transfert d'environ 20Go de données, une erreur est apparue et la clé n'était plus reconnue.
J'ai donc enlevé puis remis la clé USB et Windows m'a affiché "Vous devez formater le disque du lecteur F: avant de l'utiliser."
Évidemment cela n'a pas fonctionné, le message "Windows n'a pas pu effectuer le formatage." apparaissant.

J'ai suivi le tuto "Étape par étape" pour TestDisk mais je n'ai pas pu écrire la table de partitions. Enfin je crois avoir tout bien fait ;)

Voici le log de TestDisk:

Code: Select all


Fri Jan 24 10:54:14 2014
Command line: TestDisk

TestDisk 7.0-WIP, Data Recovery Utility, January 2014
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows WorkStation 6.2.9200
Compiler: GCC 4.7, Cygwin 1007.25
Compilation date: 2014-01-19T18:31:45
ext2fs lib: 1.42.8, ntfs lib: 10:0:0, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=750156374016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=64055410688
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=750156374016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=64055410688
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=723310731264
filewin32_getfilesize(\\.\D:) GetFileSize err Fonction incorrecte.

filewin32_setfilepointer(\\.\D:) SetFilePointer err Fonction incorrecte.

Warning: can't get size for \\.\D:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=64055410688
Hard disk list
Disk /dev/sda - 750 GB / 698 GiB - CHS 91201 255 63, sector size=512 - WDC WD7500BPVT-80HXZT1, S/N:WD-WX71E31PC929, FW:01.01A01
Disk /dev/sdb - 64 GB / 59 GiB - CHS 7787 255 63, sector size=512 - Lexar USB Flash Drive, S/N:AA00000000000489, FW:1100

Partition table type default to Intel
Disk /dev/sdb - 64 GB / 59 GiB - Lexar USB Flash Drive
Partition table type: Intel

Interface Advanced

Analyse Disk /dev/sdb - 64 GB / 59 GiB - CHS 7787 255 63
Current partition structure:

Partition sector doesn't have the endmark 0xAA55
Failed to open $MFT/$BITMAP: No such file or directory.
ntfs_mft_load(): Failed.
Failed to load $MFT: No such file or directory.
Failed to startup volume: No such file or directory.
Failed to open $MFT/$BITMAP: No such file or directory.
ntfs_mft_load(): Failed.
Failed to load $MFT: No such file or directory.
Failed to open $MFT/$BITMAP: No such file or directory.
ntfs_mft_load(): Failed.
Failed to load $MFT: No such file or directory.
Failed to startup volume: No such file or directory.
Failed to open $MFT/$BITMAP: No such file or directory.
ntfs_mft_load(): Failed.
Failed to load $MFT: No such file or directory.

search_part()
Disk /dev/sdb - 64 GB / 59 GiB - CHS 7787 255 63
NTFS at 7786/254/63
filesystem size           125082027
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               2
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS              1   1  1  7786 254 63  125082027
     NTFS found using backup sector, blocksize=4096, 64 GB / 59 GiB
NTFS at 7786/254/63
filesystem size           125082027
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               2
clusters_per_mft_record   -10
clusters_per_index_record 1
file_pread(5,1024,buffer,131392682(8178/208/9)) lseek err Invalid argument
file_pread(5,1,buffer,131392682(8178/208/9)) lseek err Invalid argument
NTFS: Can't read MFT
     HPFS - NTFS           7786 254 63 15572 253 62  125082027
     NTFS, blocksize=4096, 64 GB / 59 GiB
This partition ends after the disk limits. (start=125098154, size=125082027, end=250180180, disk end=125108224)
file_pread(5,2,buffer,125108224(7787/159/53)) ReadFile Le lecteur ne trouve pas le secteur demandé.

file_pread(5,1,buffer,125108224(7787/159/53)) ReadFile Le lecteur ne trouve pas le secteur demandé.

file_pread(5,14,buffer,125108225(7787/159/54)) lseek err Invalid argument
file_pread(5,1,buffer,125108225(7787/159/54)) lseek err Invalid argument
file_pread(5,8,buffer,125108231(7787/159/60)) lseek err Invalid argument
file_pread(5,3,buffer,125108239(7787/160/5)) lseek err Invalid argument
file_pread(5,3,buffer,125108286(7787/160/52)) lseek err Invalid argument
file_pread(5,8,buffer,125108302(7787/161/5)) lseek err Invalid argument
file_pread(5,11,buffer,125108349(7787/161/52)) lseek err Invalid argument
file_pread(5,2,buffer,125110271(7787/192/21)) lseek err Invalid argument
file_pread(5,14,buffer,125108226(7787/159/55)) lseek err Invalid argument
file_pread(5,1,buffer,125108242(7787/160/8)) lseek err Invalid argument
file_pread(5,1,buffer,125108289(7787/160/55)) lseek err Invalid argument
file_pread(5,1,buffer,125108310(7787/161/13)) lseek err Invalid argument
file_pread(5,1,buffer,125108360(7787/161/63)) lseek err Invalid argument
file_pread(5,1,buffer,125110273(7787/192/23)) lseek err Invalid argument
Disk /dev/sdb - 64 GB / 59 GiB - CHS 7787 255 63
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (64 GB / 59 GiB) seems too small! (< 128 GB / 119 GiB)
The following partition can't be recovered:
     HPFS - NTFS           7786 254 63 15572 253 62  125082027
     NTFS, blocksize=4096, 64 GB / 59 GiB
get_geometry_from_list_part_aux head=255 nbr=2
get_geometry_from_list_part_aux head=8 nbr=1
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=255 nbr=2

Results
   L HPFS - NTFS              1   1  1  7786 254 63  125082027
     NTFS found using backup sector, blocksize=4096, 64 GB / 59 GiB
Not an exFAT boot sector.

   L HPFS - NTFS              1   1  1  7786 254 63  125082027
     NTFS found using backup sector, blocksize=4096, 64 GB / 59 GiB
Can't open filesystem. Filesystem seems damaged.
add_ext_part_i386: max
add_ext_part_i386: min

interface_write()
 1 E extended LBA             1   0  1  7786 254 63  125082090
 5 L HPFS - NTFS              1   1  1  7786 254 63  125082027
Failed to open $MFT/$BITMAP: No such file or directory.
ntfs_mft_load(): Failed.
Failed to load $MFT: No such file or directory.
Failed to startup volume: No such file or directory.
Failed to open $MFT/$BITMAP: No such file or directory.
ntfs_mft_load(): Failed.
Failed to load $MFT: No such file or directory.
Failed to open $MFT/$BITMAP: No such file or directory.
ntfs_mft_load(): Failed.
Failed to load $MFT: No such file or directory.
Failed to startup volume: No such file or directory.
Failed to open $MFT/$BITMAP: No such file or directory.
ntfs_mft_load(): Failed.
Failed to load $MFT: No such file or directory.

search_part()
Disk /dev/sdb - 64 GB / 59 GiB - CHS 7787 255 63
NTFS at 7786/254/63
filesystem size           125082027
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               2
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS              1   1  1  7786 254 63  125082027
     NTFS found using backup sector, blocksize=4096, 64 GB / 59 GiB
NTFS at 7786/254/63
filesystem size           125082027
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               2
clusters_per_mft_record   -10
clusters_per_index_record 1
file_pread(5,1024,buffer,131392682(8178/208/9)) lseek err Invalid argument
file_pread(5,1,buffer,131392682(8178/208/9)) lseek err Invalid argument
NTFS: Can't read MFT
     HPFS - NTFS           7786 254 63 15572 253 62  125082027
     NTFS, blocksize=4096, 64 GB / 59 GiB
This partition ends after the disk limits. (start=125098154, size=125082027, end=250180180, disk end=125108224)
NTFS at 7787/127/20
filesystem size           125104128
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               2
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS              0  32 33  7787 127 20  125104128
     NTFS found using backup sector, blocksize=4096, 64 GB / 59 GiB
file_pread(5,2,buffer,125108224(7787/159/53)) ReadFile Le lecteur ne trouve pas le secteur demandé.

file_pread(5,1,buffer,125108224(7787/159/53)) ReadFile Le lecteur ne trouve pas le secteur demandé.

file_pread(5,2,buffer,125108267(7787/160/33)) lseek err Invalid argument
file_pread(5,1,buffer,125108267(7787/160/33)) lseek err Invalid argument
file_pread(5,2,buffer,125108287(7787/160/53)) lseek err Invalid argument
file_pread(5,1,buffer,125108287(7787/160/53)) lseek err Invalid argument
file_pread(5,2,buffer,125108330(7787/161/33)) lseek err Invalid argument
file_pread(5,1,buffer,125108330(7787/161/33)) lseek err Invalid argument
file_pread(5,1,buffer,125108224(7787/159/53)) ReadFile Le lecteur ne trouve pas le secteur demandé.

file_pread(5,14,buffer,125108225(7787/159/54)) lseek err Invalid argument
file_pread(5,3,buffer,125108239(7787/160/5)) lseek err Invalid argument
file_pread(5,3,buffer,125108286(7787/160/52)) lseek err Invalid argument
file_pread(5,8,buffer,125108302(7787/161/5)) lseek err Invalid argument
file_pread(5,11,buffer,125108349(7787/161/52)) lseek err Invalid argument
file_pread(5,2,buffer,125110271(7787/192/21)) lseek err Invalid argument
file_pread(5,1,buffer,125108242(7787/160/8)) lseek err Invalid argument
file_pread(5,1,buffer,125108289(7787/160/55)) lseek err Invalid argument
file_pread(5,1,buffer,125108310(7787/161/13)) lseek err Invalid argument
file_pread(5,1,buffer,125108360(7787/161/63)) lseek err Invalid argument
file_pread(5,1,buffer,125110273(7787/192/23)) lseek err Invalid argument
Disk /dev/sdb - 64 GB / 59 GiB - CHS 7787 255 63
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (64 GB / 59 GiB) seems too small! (< 128 GB / 119 GiB)
The following partition can't be recovered:
     HPFS - NTFS           7786 254 63 15572 253 62  125082027
     NTFS, blocksize=4096, 64 GB / 59 GiB
get_geometry_from_list_part_aux head=255 nbr=2
get_geometry_from_list_part_aux head=8 nbr=1
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=255 nbr=2

Results
     HPFS - NTFS              0  32 33  7787 127 20  125104128
     NTFS found using backup sector, blocksize=4096, 64 GB / 59 GiB
     HPFS - NTFS              1   1  1  7786 254 63  125082027
     NTFS found using backup sector, blocksize=4096, 64 GB / 59 GiB
NTFS filesystem need to be repaired.


dir_partition inode=5
     HPFS - NTFS              0  32 33  7787 127 20  125104128
     NTFS found using backup sector, blocksize=4096, 64 GB / 59 GiB
ntfs_readdir failed for cluster 5
Directory /
       5 dr-xr-xr-x     0      0         0 22-Jan-2014 13:53 .
       5 dr-xr-xr-x     0      0         0 22-Jan-2014 13:53 ..
Not an exFAT boot sector.

     HPFS - NTFS              1   1  1  7786 254 63  125082027
     NTFS found using backup sector, blocksize=4096, 64 GB / 59 GiB
Can't open filesystem. Filesystem seems damaged.
NTFS filesystem need to be repaired.


dir_partition inode=5
     HPFS - NTFS              0  32 33  7787 127 20  125104128
     NTFS found using backup sector, blocksize=4096, 64 GB / 59 GiB
ntfs_readdir failed for cluster 5
Directory /
       5 dr-xr-xr-x     0      0         0 22-Jan-2014 13:53 .
       5 dr-xr-xr-x     0      0         0 22-Jan-2014 13:53 ..
NTFS filesystem need to be repaired.


dir_partition inode=5
     HPFS - NTFS              0  32 33  7787 127 20  125104128
     NTFS found using backup sector, blocksize=4096, 64 GB / 59 GiB
ntfs_readdir failed for cluster 5
Directory /
       5 dr-xr-xr-x     0      0         0 22-Jan-2014 13:53 .
       5 dr-xr-xr-x     0      0         0 22-Jan-2014 13:53 ..

interface_write()
 1 P HPFS - NTFS              0  32 33  7787 127 20  125104128
write!

write_mbr_i386: starting...
Store new MBR code
file_pwrite(5,1,buffer,0(0/0/1)) write err No such file or directory
write_all_log_i386: starting...
No extended partition

Partition: Write error

TestDisk exited normally.


Je n'ai pas besoin de récupérer les fichiers sur la clé, je souhaiterais simplement qu'elle fonctionne à nouveau :D

Merci d'avance.

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Clé USB défectueuse

#2 Post by cgrenier »

Si le formatage échoue, il y a sans doute un problème matériel. Dans ce cas, il faut mieux changer de clé.

Locked