Je cherche de l'aide avec un lecteur externe qui continue à éjecter. J'ai GPT qui a montré que mes secteurs pour mes partitions GUID ne semblaient pas corrects. J'ai tenté une réparation et j'ai eu des erreurs suivies par la perte de ma partition EFI. J'ai pu rajouter la partition EFI et cloner si, à partir d'un autre disque dur externe, je suis de retour à la maison, ce qui me permet d'accéder aux fichiers, mais le lecteur sera démonté quelques minutes, puis remonté. J'ai inclus beaucoup de coupes de mon heure de terminal dans l'espoir que quelqu'un puisse avoir des pensées. Je pensais à essayer Techtools, DW ou Drive Genius mais je ne suis pas sûr que l’une de ces applications puisse aider ici. Les données FYI sont sauvegardées avec backblaze, mais j'espère que ces données pourront être corrigées sans formatage ni demande de lecteur de backblaze.

/dev/disk4 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *3.0 TB     disk4
   1:                        EFI                         209.7 MB   disk4s1
   2:                  Apple_HFS My Book 3Tb             3.0 TB     disk4s2




Toms-Mac-mini:~ tomforti$ diskutil info disk4
   Device Identifier:        disk4
   Device Node:              /dev/disk4
   Whole:                    Yes
   Part of Whole:            disk4
   Device / Media Name:      My Book 1130

   Volume Name:              Not applicable (no file system)
   Mounted:                  Not applicable (no file system)
   File System:              None

   Content (IOContent):      GUID_partition_scheme
   OS Can Be Installed:      No
   Media Type:               Generic
   Protocol:                 USB
   SMART Status:             Not Supported

   Disk Size:                3.0 TB (3000558944256 Bytes) (exactly 5860466688 512-Byte-Units)
   Device Block Size:        4096 Bytes

   Read-Only Media:          No
   Read-Only Volume:         Not applicable (no file system)

   Device Location:          External
   Removable Media:          Fixed

   Virtual:                  No
   OS 9 Drivers:             No
   Low Level Format:         Not supported




Toms-Mac-mini:~ tomforti$ sudo gpt show disk4
start       size  index  contents
          0          1         PMBR
          1          1         Pri GPT header
          2          4         Pri GPT table
          6      51200      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
      51206  732474357      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
  732525563      32768         
  732558331          4         Sec GPT table
  732558335          1         Sec GPT header




Disk: /dev/disk4    geometry: 45599/255/63 [732558336 sectors]
Sector size: 4096 bytes
Signature: 0xAA55
         Starting       Ending
 #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
------------------------------------------------------------------------
 1: EE 1023 254  63 - 1023 254  63 [         1 -  732558335] <Unknown ID>
 2: 00    0   0   0 -    0   0   0 [         0 -          0] unused      
 3: 00    0   0   0 -    0   0   0 [         0 -          0] unused      
 4: 00    0   0   0 -    0   0   0 [         0 -          0] unused      



Toms-Mac-mini:~ tomforti$ diskutil verifyDisk disk4
Started partition map verification on disk4
Checking prerequisites
Checking the partition list
Checking the partition map size
Checking for an EFI system partition
Checking the EFI system partition's size
Checking the EFI system partition's file system
Problems were found with the partition map which might prevent booting
Error: -69766: The partition map needs to be repaired because there's a problem with the EFI system partition's file system
Underlying error: 8: Exec format error



Toms-Mac-mini:~ tomforti$ sudo diskutil repairDisk disk4
Password:
Repairing the partition map might erase disk4s1, proceed? (y/N) y
Started partition map repair on disk4
Checking prerequisites
Checking the partition list
Adjusting partition map to fit whole disk as required
Checking for an EFI system partition
Checking the EFI system partition's size
Checking the EFI system partition's file system
Repairing the EFI system partition's file system
Updating boot support partitions for the volume as required
Creating a new EFI system partition
Problems were encountered during repair of the partition map
Error: -69764: Couldn't repair the partition map because a new EFI system partition couldn't be created




Toms-Mac-mini:~ tomforti$ sudo diskutil repairDisk disk4
Repairing the partition map might erase disk4s1, proceed? (y/N) y
Started partition map repair on disk4
Checking prerequisites
Checking the partition list
Problems were encountered during repair of the partition map
Error: -69770: Partition map check failed because no slices were found






/dev/disk4 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *3.0 TB     disk4
   1:                  Apple_HFS My Book 3Tb             3.0 TB     disk4s2





Toms-Mac-mini:~ tomforti$ sudo gpt -r show disk4
Password:
      start       size  index  contents
          0          1         PMBR
          1          1         Pri GPT header
          2          4         Pri GPT table
          6      51200         
      51206  731615488      1  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
  731666694     891637         
  732558331          4         Sec GPT table
  732558335          1         Sec GPT header
Tom Forti
la source