How to fix/repair APFS "container superblock is invalid" error?
I have an APFS external drive that I used to save working files all the time. Yesterday, I just can't mount it. When checking with First Aid, I got the result "Container superblock is invalid". Is there any way to solve this?
When checking drive with First Aid, one of the error messages we may get is "container superblock is invalid". Container is a new concept released with macOS High Sierra 10.13, and is also the basic storage unit for APFS. As for superblock, we can simply regard it as a basic as well as essential part of a file system.
Any request to access files on an APFS drive requires access to its superblock. So when the superblock of an APFS drive or container is invalid, the drive/container can't be mounted and files on it will become inaccessible.
Easy method to fix APFS "container superblock is invalid" error
When the superblock of an APFS container has been damaged and become invalid, we can no longer access files on the container. To avoid data loss, we should firstly perform data recovery from the APFS container whose superblock is invalid, and then fix the corrupted APFS container by erasing.
Step 1: Recover data from APFS container whose superblock is invalid with iBoysoft Mac Data Recovery
iBoysoft Mac Data Recovery can recover data from APFS container when its superblock is invalid, recover deleted/lost files from APFS drive, recover data from formatted APFS hard drive, recover data from unmountable APFS drive, recover data from unreadable APFS hard drive, recover data from corrupted APFS drive, recover lost data from encrypted APFS volume, recover deleted/lost APFS partition, etc. on macOS Mojave 10.14/High Sierra 10.13/10.12 Sierra and Mac OS X 10.11/10.10/10.9/10.8/10.7.
Besides, iBoysoft Mac Data Recovery can also recover lost files from FAT32 drives, exFAT drives, HFS+ drives, recover data from hard drive, external hard drive, USB flash drive, SD card, pen drive, no matter the drive is formatted, unmountable, unreadable or corrupted.
Tutorial to recover data from APFS container whose superblock is invalid with iBoysoft Mac Data Recovery
1. Launch iBoysoft Mac Data Recovery.
2. Select the APFS container which has "container superblock is invalid" error and click "Next" to start scanning.
3. Preview listed scanning results, choose files we need, and click "Recover" to get them back.
4. Have a check to ensure we have got all lost data back.
Step 2: Fix APFS "container superblock is invalid" error by erasing
1. Launch Disk Utility.
2. Select the APFS container which has "container superblock is invalid" error on the left part of the window.
3. Click Erase on the top of the window.
4. Complete related information (name, format, scheme), then click Erase button.
Still have questions?