¿Corrupción del contenedor APFS?

0

No estoy seguro de lo que sucedió, pero de repente mi MacBook Pro MD103 dejó de iniciarse desde el SSD interno de Vertex 4 256GB. Ocurrió en diciembre, probablemente antes de una de estas actualizaciones de APFS.

He intentado algunas sugerencias que he encontrado al buscar en Google, pero aún no he tenido suerte.

Esta unidad está cifrada pero no puedo montarla. Aquí hay algunos comandos que ejecuté (parece ser externo ahora porque lo he quitado y lo he puesto en una caja USB):

Andreys-MacBook-Pro:~ andrew$ diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *250.1 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         249.8 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +249.8 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume SSD                     72.0 GB    disk1s1
   2:                APFS Volume Preboot                 20.9 MB    disk1s2
   3:                APFS Volume Recovery                509.8 MB   disk1s3
   4:                APFS Volume VM                      3.2 GB     disk1s4

/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *256.1 GB   disk2
   1:                        EFI EFI                     209.7 MB   disk2s1
   2:                 Apple_APFS                         255.9 GB   disk2s2

/dev/disk3 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk3
   1:                        EFI EFI                     209.7 MB   disk3s1
   2:                  Apple_HFS Archive                 999.3 GB   disk3s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk3s3

Por lo tanto, tengo un nuevo SSD y una vieja unidad de 1TB dentro de mi computadora portátil. disk2 es el problema SSD.

Andreys-MacBook-Pro:~ andrew$ diskutil info disk2
   Device Identifier:        disk2
   Device Node:              /dev/disk2
   Whole:                    Yes
   Part of Whole:            disk2
   Device / Media Name:      EX4

   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:                256.1 GB (256060514304 Bytes) (exactly 500118192 512-Byte-Units)
   Device Block Size:        512 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

La partición en sí:

Andreys-MacBook-Pro:~ andrew$ diskutil info disk2s2
   Device Identifier:        disk2s2
   Device Node:              /dev/disk2s2
   Whole:                    No
   Part of Whole:            disk2

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

   Partition Type:           Apple_APFS
   OS Can Be Installed:      No
   Media Type:               Generic
   Protocol:                 USB
   SMART Status:             Not Supported
   Disk / Partition UUID:    3669F675-F701-4437-AD45-220F8511A834

   Disk Size:                255.9 GB (255850758144 Bytes) (exactly 499708512 512-Byte-Units)
   Device Block Size:        512 Bytes

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

   Device Location:          External
   Removable Media:          Fixed

No aparece en una lista APFS:

Andreys-MacBook-Pro:~ andrew$ sudo diskutil apfs list
APFS Container (1 found)
|
+-- Container disk1 679D92BF-378E-4FD0-93CF-BB8DB2F93F2A
    ====================================================
    APFS Container Reference:     disk1
    Capacity Ceiling (Size):      249849593856 B (249.8 GB)
    Capacity In Use By Volumes:   77252448256 B (77.3 GB) (30.9% used)
    Capacity Available:           172597145600 B (172.6 GB) (69.1% free)
    |
    +-< Physical Store disk0s2 CAAD10D1-5344-4F00-B070-015568F0A593
    |   -----------------------------------------------------------
    |   APFS Physical Store Disk:   disk0s2
    |   Size:                       249849593856 B (249.8 GB)
    |
    +-> Volume disk1s1 B4DAC651-A4A7-4C75-BAA7-1676B0A8F108
    |   ---------------------------------------------------
    |   APFS Volume Disk (Role):   disk1s1 (No specific role)
    |   Name:                      SSD (Case-insensitive)
    |   Mount Point:               /
    |   Capacity Consumed:         72288423936 B (72.3 GB)
    |   FileVault:                 No
    |
    +-> Volume disk1s2 F125EF61-5AFC-4E4A-9C94-CE12D3108D5E
    |   ---------------------------------------------------
    |   APFS Volume Disk (Role):   disk1s2 (Preboot)
    |   Name:                      Preboot (Case-insensitive)
    |   Mount Point:               Not Mounted
    |   Capacity Consumed:         20938752 B (20.9 MB)
    |   FileVault:                 No
    |
    +-> Volume disk1s3 6133396A-F31C-41BD-8AEC-B84574BDB9F0
    |   ---------------------------------------------------
    |   APFS Volume Disk (Role):   disk1s3 (Recovery)
    |   Name:                      Recovery (Case-insensitive)
    |   Mount Point:               Not Mounted
    |   Capacity Consumed:         509820928 B (509.8 MB)
    |   FileVault:                 No
    |
    +-> Volume disk1s4 5353BAE8-3159-463B-86BE-C3E93C156E13
        ---------------------------------------------------
        APFS Volume Disk (Role):   disk1s4 (VM)
        Name:                      VM (Case-insensitive)
        Mount Point:               /private/var/vm
        Capacity Consumed:         4294995968 B (4.3 GB)
        FileVault:                 No

salida fsck:

Andreys-MacBook-Pro:~ andrew$ sudo fsck_apfs -f /dev/disk2s2
warning: option -f is not implemented, ignoring
0000:  33c0 8ed0 bc00 7c8e c08e d8be 007c bf00       |3...............|
0010:  06b9 0002 fcf3 a450 681c 06cb fbb9 0400       |.......Ph.......|
0020:  bdbe 0780 7e00 007c 0b0f 8510 0183 c510       |................|
0030:  e2f1 cd18 8856 0055 c646 1105 c646 1000       |.....V.U.F...F..|
0040:  b441 bbaa 55cd 135d 720f 81fb 55aa 7509       |.A..U...r...U.u.|
0050:  f7c1 0100 7403 fe46 1066 6080 7e10 0074       |....t..F.f.....t|
0060:  2666 6800 0000 0066 ff76 0868 0000 6800       |.fh....f.v.h..h.|
0070:  7c68 0100 6810 00b4 428a 5600 8bf4 cd13       |.h..h...B.V.....|
0080:  9f83 c410 9eeb 14b8 0102 bb00 7c8a 5600       |..............V.|
0090:  8a76 018a 4e02 8a6e 03cd 1366 6173 1efe       |.v..N..n...fas..|
00a0:  4e11 0f85 0c00 807e 0080 0f84 8a00 b280       |N...............|
00b0:  eb82 5532 e48a 5600 cd13 5deb 9c81 3efe       |..U2..V.........|
00c0:  7d55 aa75 6eff 7600 e88a 000f 8515 00b0       |.U.un.v.........|
00d0:  d1e6 64e8 7f00 b0df e660 e878 00b0 ffe6       |..d........x....|
00e0:  64e8 7100 b800 bbcd 1a66 23c0 753b 6681       |d.q......f..u.f.|
00f0:  fb54 4350 4175 3281 f902 0172 2c66 6807       |.TCPAu2....r.fh.|
0100:  bb00 0066 6800 0200 0066 6808 0000 0066       |...fh....fh....f|
0110:  5366 5366 5566 6800 0000 0066 6800 7c00       |SfSfUfh....fh...|
0120:  0066 6168 0000 07cd 1a5a 32f6 ea00 7c00       |.fah.....Z2.....|
0130:  00cd 18a0 b707 eb08 a0b6 07eb 03a0 b507       |................|
0140:  32e4 0500 078b f0ac 3c00 74fc bb07 00b4       |2.........t.....|
0150:  0ecd 10eb f22b c9e4 64eb 0024 02e0 f824       |........d.......|
0160:  02c3 496e 7661 6c69 6420 7061 7274 6974       |..Invalid.partit|
0170:  696f 6e20 7461 626c 6500 4572 726f 7220       |ion.table.Error.|
0180:  6c6f 6164 696e 6720 6f70 6572 6174 696e       |loading.operatin|
0190:  6720 7379 7374 656d 004d 6973 7369 6e67       |g.system.Missing|
01a0:  206f 7065 7261 7469 6e67 2073 7973 7465       |.operating.syste|
01b0:  6d00 0000 0062 7a99 e540 bcff 0000 0000       |m....bz.........|
01c0:  0000 0000 0000 0000 0000 0000 0000 0000       |................|
. . .
01f0:  0000 0000 0000 0000 0000 0000 0000 55aa       |..............U.|
0200:  0000 0000 0000 0000 0000 0000 0000 0000       |................|
. . .
03d0:  0000 0000 0000 0000 e849 d100 0000 0000       |.........I......|
03e0:  0000 0000 0000 0000 0000 0000 0000 0000       |................|
. . .
04f0:  0400 0000 0000 0000 7133 fe02 0000 0000       |........q3......|
0500:  0000 0000 0000 0000 0000 0000 0000 0000       |................|
0510:  5584 0000 0000 0000 0100 0000 0000 0000       |U...............|
0520:  0100 0400 0800 0000 0000 0000 0000 0000       |................|
0530:  0000 0000 0000 0000 0000 0000 0000 0000       |................|
. . .
0ff0:  0000 0000 0000 0000 0000 0000 0000 0000       |................|

error: Device does not contain a valid APFS container.

Y salida gpt:

Andreys-MacBook-Pro:~ andrew$ sudo gpt -r show disk2
Password:
      start       size  index  contents
          0          1         PMBR
          1          1         Pri GPT header
          2         32         Pri GPT table
         34          6
         40     409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
     409640  499708512      2  GPT part - 7C3457EF-0000-11AA-AA11-00306543ECAC
  500118152          7
  500118159         32         Sec GPT table
  500118191          1         Sec GPT header

Intentando montar:

Andreys-MacBook-Pro:~ andrew$ sudo mount -t apfs -r /dev/disk2s2 /Volumes/test
mount_apfs: mount: Inappropriate file type or format

Intentando verificar:

Andreys-MacBook-Pro:~ andrew$ diskutil verifyVolume disk2s2
Started file system verification on disk2s2
Error: -69564: Unable to find an APFS Container Reference

Intentando desbloquear:

Andreys-MacBook-Pro:~ andrew$ diskutil apfs unlockVolume /dev/disk2s2
/dev/disk2s2 is not an APFS Volume

¿Qué más puedo hacer?

    
pregunta and_rew 12.05.2018 - 15:26

0 respuestas

Lea otras preguntas en las etiquetas