Seems like my APFS on my 512G SanDisk USB has gone corrupt.

diskutil list
/dev/disk0 (internal):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                         500.3 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk1         500.0 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +500.0 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume APPLE SSD AP0512M Media 273.7 GB   disk1s1
   2:                APFS Volume PreBoot                 18.4 MB    disk1s2
   3:                APFS Volume Recovery                521.4 MB   disk1s3
   4:                APFS Volume VM                      8.6 GB     disk1s4
   5:                APFS Volume Programming             74.0 GB    disk1s5
   6:                APFS Volume P2                      117.8 GB   disk1s6

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

/dev/disk3 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +ERROR      disk3
                                 Physical Store disk2s2

^ my thumbdrive is on /dev/disk2 and 3.

Running First Aid on Disk Utility returns this, which does not solve the problem:

Repairing storage system
Performing fsck_apfs -y -x /dev/disk2s2
Checking volume.
Checking the container superblock.
Checking the EFI jumpstart record.
Checking the space manager.
warning: spaceman chunk 2266 free count 4294947960 > block count 32768
warning: spaceman main free count 6291015 does not match sum of free counts 6310351
Checking the object map.
Checking the APFS volume superblock.
Checking the object map.
error: /dev/disk3s1 is not encrypted
Checking the fsroot tree.
error: drec_key object (oid 0x10ae62): invalid hash (0, expected 2bc5d) of name (.ConnectableObservable.ts.1DIRuT)
fsroot tree is invalid.
The volume /dev/disk2s2 could not be verified completely.
Storage system check exit code is 0.
Operation successful.

What should I do to the save/retrieve the data in the thumbdrive? ;(;(

  • tbh, when an SD card/USB stick goes down the best fix is usually to throw it away & get another. Disk Drill might be able to scavenge some of the structure, but I wouldn't consider this a 'fix' more a 'rescue' for whatever you don't have backed up properly. Golden rule: Never use any SD/USB as the only repository of any imformation. They have a remarkable propensity for sudden death.
    – Tetsujin
    May 8 at 8:00


You must log in to answer this question.

Browse other questions tagged .