Hard disk seems too small !

Comment utiliser TestDisk pour récupérer une partition perdue
Locked
Message
Author
NueclearSnake
Posts: 5
Joined: 31 Oct 2016, 16:28

Hard disk seems too small !

#1 Post by NueclearSnake »

Bonjour,
J'ai un souci avec un disque dur externe WD.
Je suis sous MACOSX.
C'est un DD avec de nombreuses videos.
Hier, j'ai voulu copier des vidéos (une 40aine d'un coup) sur un autre disk mais ça m'a pris un temps fou (8h). Ensuite, j'ai eu du mal à le démonter et j'ai du éteindre mon MAC durement.
Aujourd'hui, quand je le branche, j'arrive à le voir mais j'ai beaucoup de mal à accéder aux fichiers, ça tourne dans le vide.

Voici ce que me donne testdisk :

Code: Select all

Select a media (use Arrow keys, then press Enter):
>Disk /dev/disk0 - 1000 GB / 931 GiB (RO)
 Disk /dev/disk2 - 1000 GB / 931 GiB
 Disk /dev/disk3 - 998 GB / 929 GiB
 Disk /dev/rdisk0 - 1000 GB / 931 GiB (RO)
 Disk /dev/rdisk2 - 1000 GB / 931 GiB
 Disk /dev/rdisk3 - 998 GB / 929 GiB

Code: Select all

Disk /dev/disk2 - 1000 GB / 931 GiB

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
 [None   ] Non partitioned media
 [Sun    ] Sun Solaris partition
 [XBox   ] XBox partition
 [Return ] Return to disk selection

Code: Select all

Disk /dev/disk2 - 1000 GB / 931 GiB
     1953519616 sectors - sector size=512

>[ Analyse  ] Analyse current partition structure and search for lost partitions
 [ Advanced ] Filesystem Utils
 [ Geometry ] Change disk geometry
 [ Options  ] Modify options
 
 [ Quit     ] Return to disk selection

Code: Select all

isk /dev/disk2 - 1000 GB / 931 GiB - 1953519616 sectors
Current partition structure:
     Partition                  Start        End    Size in sectors

 1 P EFI System                    40     409639     409600 [EFI System Partitio
 2 P Mac HFS                   409640 1953257431 1952847792
=> Quick search
Il me dit que mon disk est trop petit :-( je ne comprends pas pourquoi.

Code: Select all

Disk /dev/disk2 - 1000 GB / 931 GiB - 1953519616 sectors

The harddisk (1000 GB / 931 GiB) seems too small! (< 2000 GB / 1863 GiB)
Check the harddisk size: HD jumper settings, BIOS detection...

The following partition can't be recovered:
     Partition               Start        End    Size in sectors
>  Mac HFS               1953515516 3907028987 1953513472
=> Et la je suis bloqué !

Code: Select all

Disk /dev/disk2 - 1000 GB / 931 GiB - 1953519616 sectors
     Partition               Start        End    Size in sectors
>D EFI System                    40     409639     409600 [EFI System Partition]
 D Mac HFS                     2048 1953515519 1953513472
 D Mac HFS                   409640 1953257431 1952847792
Que dois-je faire?
Merci à vous.

Thomas

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

Re: Hard disk seems too small !

#2 Post by cgrenier »

La table des partitions est intacte, cela ne sert donc à rien d'utiliser Analyze/Quick Search à la recherche de partitions.
Regardes "Repairing filesystems from Mac OS X" dans https://www.cgsecurity.org/testdisk.pdf pour essayer de réparer le système de fichier.

NueclearSnake
Posts: 5
Joined: 31 Oct 2016, 16:28

Re: Hard disk seems too small !

#3 Post by NueclearSnake »

Bonjour et merci pour votre réponse.
Voici ce que j'obtiens.

En faisant sudo diskutil list (je garde que la partie qui m'intéresse)

Code: Select all

/dev/disk4 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk4
   1:                               EFI EFI                     209.7 MB   disk4s1
   2:                  Apple_HFS FILMS                   999.9 GB   disk4s2
Ensuite, je fais un

sudo fsck /dev/disk4s et j'obtiens :

Code: Select all

fsck usage: fsck [-fdnypq] [-l number]
J'essaye sudo fsck /dev/disk4s2 et j'obtiens pareil.
Alors j'essaye : sudo fsck_hfs -r -d /dev/disk4s2

Code: Select all

Unable to open block device /dev/disk4s2: Resource busyjournal_replay(/dev/disk4s2) returned 16
** /dev/rdisk4s2
	Using cacheBlockSize=32K cacheTotalBlock=65536 cacheSize=2097152K.
   Executing fsck_hfs (version hfs-305.10.1).
** Checking Journaled HFS Plus volume.
** The volume   could not be verified completely.
	volume check failed with error 5 
	volume type is pure HFS+ 
	primary MDB is at block 0 0x00 
	alternate MDB is at block 0 0x00 
	primary VHB is at block 2 0x02 
	alternate VHB is at block 1952847790 0x746617ae 
	sector size = 512 0x200 
	VolumeObject flags = 0x07 
	total sectors for volume = 1952847792 0x746617b0 
	total sectors for embedded volume = 0 0x00 
	CheckHFS returned 5, fsmodified = 0
Ensuite, j'ai refais après avoir démonté le volume, j'obtiens quelque chose d'un peu différent :

Code: Select all

** /dev/rdisk4s2
	Using cacheBlockSize=32K cacheTotalBlock=65536 cacheSize=2097152K.
   Executing fsck_hfs (version hfs-305.10.1).
** Checking Journaled HFS Plus volume.
** The volume   could not be verified completely.
	volume check failed with error 5 
	volume type is pure HFS+ 
	primary MDB is at block 0 0x00 
	alternate MDB is at block 0 0x00 
	primary VHB is at block 2 0x02 
	alternate VHB is at block 1952847790 0x746617ae 
	sector size = 512 0x200 
	VolumeObject flags = 0x07 
	total sectors for volume = 1952847792 0x746617b0 
	total sectors for embedded volume = 0 0x00 
	CheckHFS returned 5, fsmodified = 0
Qu'en pensez-vous?
Grand merci par avance !

Thomas

NueclearSnake
Posts: 5
Joined: 31 Oct 2016, 16:28

Re: Hard disk seems too small !

#4 Post by NueclearSnake »

Bonjour,
Est-ce que vous pourriez m'aider?
Merci,
Thomas

NueclearSnake
Posts: 5
Joined: 31 Oct 2016, 16:28

Re: Hard disk seems too small !

#5 Post by NueclearSnake »

Bonjour,
Svp. Quelqu'un pourrait-il m'aider et me dire ce que je vois faire?
Merci,
Thomas

NueclearSnake
Posts: 5
Joined: 31 Oct 2016, 16:28

Re: Hard disk seems too small !

#6 Post by NueclearSnake »

Bonjour,
Est-ce que vous pourriez m'aider?
Merci,
Thomas

Locked