How to rebuild/repair APFS disk?

Posted by Katrina to Mac Data Recovery on November 16th, 2018

With the release of macOS High Sierra 10.13, Mojave 10.14, and the latest macOS Catalina 10.15, lots of people have upgraded their systems and converted their internal SSD or external hard drive to the new file system APFS. Since APFS is a completely new file system, it contains many bugs needed to be fixed and you may have a hard time using it. Chances that one of APFS disk gets corrupted. As a result, all data on the drive becomes inaccessible. There is no need to worry as this passage will show you solutions to rebuild/repair APFS disk without losing data.

How to rebuild APFS disk?

Recommended: Back up from APFS disk at first.

When your APFS disk gets corrupted, all data on the drive is so fragile that any operation will overwrite the original data. Therefore, the first step is always to make sure you have backed up important data. If you don't make any backup, you can recover all lost data back with the help of professional APFS data recovery software. Don't have any important data? Please skip to the solutions.

iBoysoft Mac Data Recovery is the best APFS data recovery utility that works well in different data loss scenarios. It is able to recover lost data from corrupted APFS disk, recover data from formatted APFS drive, recover data from unmountable APFS drive, recover data from unreadable APFS drive, recover deleted/lost APFS volume.

Aside from APFS data recovery, iBoysoft Mac Data Recovery also recovers data from HFS, HFS+, FAT32, exFAT drives. It supports more than 500+ file types, including documents, pictures, audios, videos, emails, etc. and different storage devices such as hard drive, external hard drive, USB flash drive, SD card, etc. It is compatible with macOS Catalina 10.15/Mojave 10.14/High Sierra 10.13/Sierra 10.12/10.11/10.10/10.9/10.8/10.7.

Follow the steps below to recover data from APFS disk:

Step 1: Download and install iBoysoft Mac Data Recovery on Mac.

Step 2: Launch iBoysoft Mac Data Recovery.

Recover data from APFS disk

Step 3: Select the APFS disk and click "Next" to scan all lost files.

Step 4: Preview the scanning results, choose files we need, and click "Recover" to get them back.

Step 5: Have a check to ensure all lost files have been successfully recovered.

Solution 1: Repair APFS disk with Disk Utility

Disk Utility's First Aid is a tiny tool designed to repair minor problems of a disk. It can not only repair the corrupted disk structure but also the damaged file system.

Step 1: Go to /Applications/Utilities/Disk Utility/, then click Continue.

Step 2: In the sidebar, select the APFS disk you want to repair.

Step 3: Click the First Aid button and click Run.

Solution 2: Run FSCK command in Single User Mode

FSCK is a useful tool to check the consistency of a file system. To rebuild APFS disk, you can boot your Mac into Single User Mode and run FSCK command.

Step 1: Restart your Mac and, before the Apple logo appears, hold down Command and S keys. This will boot your Mac into Single User Mode.

Step 2: Type in: /sbin/fsck -fy.

Step 3: If you see "File system was modified", then re-type in the command again until you see "The volume [name] appears to be OK".

Use FSCK command in Single User Mode

Step 4: Type in reboot to restart your Mac.

Solution 3: Use repair tools

If these system utilities can't repair the APFS disk, you can try some third-party repair software. Disk Warrior, developed by Alsoft, is the most famous one. Unfortunately, the latest version of Disk Warrior can only recognize but not repair APFS disks.

Solution 4: Erase APFS disk to rebuild APFS disk

As any file system corruption can be easily fixed by reformatting or erasing, you can rebuild APFS disk in this way. But reformatting will remove all data on the APFS disk, please back up with iBoysoft Mac Data Recovery at first.

Step 1: Launch Disk Utility located at /Applications/Utilities/.

Step 2: From the Disk Utility toolbar, click the view button, then select the option to Show All Devices.

Step 3: In the sidebar, select the drive you wish to format with APFS.

Step 4: Choose Erase function, complete related information (name, format, scheme), and then click Erase button.

Still have questions?