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 24/01/2017, à 13:56

lubuntu

testdisk partition write error

Bonjour,

Tue Jan 24 12:04:48 2017
Command line: TestDisk

TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Linux, kernel 4.4.0-31-generic (#50-Ubuntu SMP Wed Jul 13 00:06:14 UTC 2016) i686
Compiler: GCC 5.3
ext2fs lib: 1.42.13, ntfs lib: libntfs-3g, reiserfs lib: none, ewf lib: none, curses lib: ncurses 6.0
/dev/sda: LBA, HPA, LBA48, DCO support
/dev/sda: size       976773168 sectors
/dev/sda: user_max   976773168 sectors
/dev/sda: native_max 976773168 sectors
/dev/sda: dco        976773168 sectors
Warning: can't get size for Disk /dev/mapper/control - 0 B - 0 sectors, sector size=512
Hard disk list
Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512 - SAMSUNG HM500JI, S/N:S1WFJD0Z130254, FW:2AC101C4
Disk /dev/sdb - 1000 MB / 954 MiB - CHS 1016 31 62, sector size=512 - Kingston DataTraveler 2.0, FW:PMAP
Disk /dev/sdc - 500 GB / 465 GiB - CHS 476940 64 32, sector size=512 - StoreJet Transcend

Partition table type default to Intel
Disk /dev/sdc - 500 GB / 465 GiB - StoreJet Transcend
Partition table type: Intel

Analyse Disk /dev/sdc - 500 GB / 465 GiB - CHS 476940 64 32
Current partition structure:

Partition: Read error

search_part()
Disk /dev/sdc - 500 GB / 465 GiB - CHS 476940 64 32
file_pread(6,16,buffer,95(0/2/32)) read err: Input/output error
file_pread(6,16,buffer,2080(1/1/1)) read err: Partial read
file_pread(6,16,buffer,64(0/2/1)) read err: Input/output error
file_pread(6,1,buffer,64(0/2/1)) read err: Input/output error
file_pread(6,8,buffer,71(0/2/8)) read err: Input/output error
file_pread(6,3,buffer,79(0/2/16)) read err: Input/output error
NTFS at 1/0/1
heads/cylinder 255 (NTFS) != 64 (HD)
sect/track 63 (NTFS) != 32 (HD)
filesystem size           935704576
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               2
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS              1   0  1 456887  63 32  935704576
     NTFS, blocksize=4096, 479 GB / 446 GiB
NTFS at 456888/0/1
heads/cylinder 255 (NTFS) != 64 (HD)
sect/track 63 (NTFS) != 32 (HD)
filesystem size           41062400
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               2
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS          456888   0  1 476937  63 32   41062400
     NTFS, blocksize=4096, 21 GB / 19 GiB
get_geometry_from_list_part_aux head=64 nbr=4
get_geometry_from_list_part_aux head=8 nbr=4
get_geometry_from_list_part_aux head=16 nbr=4
get_geometry_from_list_part_aux head=32 nbr=4
get_geometry_from_list_part_aux head=64 nbr=4
get_geometry_from_list_part_aux head=128 nbr=2

Results
   * HPFS - NTFS              1   0  1 456887  63 32  935704576
     NTFS, blocksize=4096, 479 GB / 446 GiB
   P HPFS - NTFS          456888   0  1 476937  63 32   41062400
     NTFS, blocksize=4096, 21 GB / 19 GiB

Hint for advanced users. dmsetup may be used if you prefer to avoid to rewrite the partition table for the moment:
echo "0 935704576 linear /dev/sdc 2048" | dmsetup create test0
echo "0 41062400 linear /dev/sdc 935706624" | dmsetup create test1

interface_write()
 1 * HPFS - NTFS              1   0  1 456887  63 32  935704576
 2 P HPFS - NTFS          456888   0  1 476937  63 32   41062400
write!

write_mbr_i386: starting...
file_pread(6,1,buffer,0(0/0/1)) read err: Input/output error

Partition: Read error
Store new MBR code
file_pwrite(6,1,buffer,0(0/0/1)) write err Input/output error
write_all_log_i386: starting...
No extended partition

Partition: Write error

Analyse Disk /dev/sdc - 500 GB / 465 GiB - CHS 476940 64 32
file_pread(6,1,buffer,0(0/0/1)) read err: Input/output error
Current partition structure:

Partition: Read error

search_part()
Disk /dev/sdc - 500 GB / 465 GiB - CHS 476940 64 32
file_pread(6,16,buffer,2080(1/1/1)) read err: Partial read
file_pread(6,16,buffer,64(0/2/1)) read err: Input/output error
file_pread(6,1,buffer,64(0/2/1)) read err: Input/output error
file_pread(6,8,buffer,71(0/2/8)) read err: Input/output error
file_pread(6,3,buffer,79(0/2/16)) read err: Input/output error
NTFS at 1/0/1
heads/cylinder 255 (NTFS) != 64 (HD)
sect/track 63 (NTFS) != 32 (HD)
filesystem size           935704576
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               2
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS              1   0  1 456887  63 32  935704576
     NTFS, blocksize=4096, 479 GB / 446 GiB
NTFS at 456888/0/1
heads/cylinder 255 (NTFS) != 64 (HD)
sect/track 63 (NTFS) != 32 (HD)
filesystem size           41062400
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               2
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS          456888   0  1 476937  63 32   41062400
     NTFS, blocksize=4096, 21 GB / 19 GiB
get_geometry_from_list_part_aux head=64 nbr=4
get_geometry_from_list_part_aux head=8 nbr=4
get_geometry_from_list_part_aux head=16 nbr=4
get_geometry_from_list_part_aux head=32 nbr=4
get_geometry_from_list_part_aux head=64 nbr=4
get_geometry_from_list_part_aux head=128 nbr=2

Results
   * HPFS - NTFS              1   0  1 456887  63 32  935704576
     NTFS, blocksize=4096, 479 GB / 446 GiB
   P HPFS - NTFS          456888   0  1 476937  63 32   41062400
     NTFS, blocksize=4096, 21 GB / 19 GiB

Hint for advanced users. dmsetup may be used if you prefer to avoid to rewrite the partition table for the moment:
echo "0 935704576 linear /dev/sdc 2048" | dmsetup create test0
echo "0 41062400 linear /dev/sdc 935706624" | dmsetup create test1

interface_write()
 1 * HPFS - NTFS              1   0  1 456887  63 32  935704576
 2 P HPFS - NTFS          456888   0  1 476937  63 32   41062400
write!

write_mbr_i386: starting...
file_pread(6,1,buffer,0(0/0/1)) read err: Input/output error

Partition: Read error
Store new MBR code
file_pwrite(6,1,buffer,0(0/0/1)) write err Input/output error
write_all_log_i386: starting...
No extended partition

Partition: Write error

TestDisk exited normally.

Si vous voyez qlq chose merci d'avance roll

Dernière modification par lubuntu (Le 25/06/2019, à 10:43)

Hors ligne

#2 Le 25/01/2017, à 00:32

Laurent85

Re : testdisk partition write error

Bonjour, les input output error  correspondent à une erreur marérielle, soit le cable sata à changer (change le temporairement avec celui d'un disque qui marche), soit le disque est HS.

Hors ligne

#3 Le 25/01/2017, à 22:01

Laurent85

Re : testdisk partition write error

Les erreurs ne sont pas logicielles, les instructions envoyées au disque échouent.

Hors ligne