When Apple introduced APFS to replace the existing HFS+ system, its design was meant to herald changes to how the file system works with newer, modern technologies such as solid-state drives (SSDs). APFS was also designed to overcome inherent deficiencies in HFS+, which has been showing its age for several years.
However, that doesn't mean APFS is everyone, especially considering some of its limitations, such as not being compatible with Time Machine for backups, FileVault 2 for drive encryption, or the inability to format Fusion drives with Apple's newest file system.
SEE: Complete Beginner's Guide to iOS Development: Build 10 Apps (TechRepublic Academy)
If you've come to rely on any of the aforementioned technologies or require the use of a feature that is not supported by APFS but have already made the leap to using the new file system, fret not—you can revert back to HFS+ by following the simple commands below.
How to delete the APFS partition
Launch Terminal and execute the following command to locate the APFS partition's identifier (Figure A).
Once the command runs, the correct device will list Apple_APFS as the GUID partition name. Make a note of the identifier.
When the next command is run, it will destroy the APFS partition and all the data it contains (Figure B).
diskutil apfs deleteContainer /dev/disk2s2
If the command displays an error after processing, don't be alarmed—this is known to happen on occasion. To verify that the command proceeded correctly, execute the command from the first step from above once again and locate the matching identifier. It should now read Apple_HFS instead of Apple_APFS (Figure C).
Before the partition can be used, it must initialized for the new file system.
Revert the file system back to HFS+
By executing the following command, the partition that previously acted as the container for the APFS file system will be initialized for use with HFS+ (Figure D). The process should only take a few minutes.
diskutil eraseDisk JHFS+ "Disk_Title" /dev/disk2
Once the disk is initialized, it will be ready for use on a system-accessible device (Figure E)(Figure F).
- How to set up and use Apple's APFS filesystem on macOS Sierra (TechRepublic)
- Mac users, meet APFS: macOS' new file system (ZDNet)
- APFS up close: What Mac users need to know about Apple's new file system (ZDNet)
- Why Apple's APFS won't last 30 years (ZDNet)
- Apple's first employee: The remarkable odyssey of Bill Fernandez (PDF download) (TechRepublic)
- Data Backup Policy (Tech Pro Research)
Jesus Vigo is a Network Administrator by day and owner of Mac|Jesus, LLC, specializing in Mac and Windows integration and providing solutions to small- and medium-size businesses. He brings 19 years of experience and multiple certifications from several vendors, including Apple and CompTIA.