• Home
  • macOS
  • macOS High Sierra APFS Bug Can Cause Data Loss When Writing to Disk Images

macOS High Sierra APFS Bug Can Cause Data Loss When Writing to Disk Images

macOS High Sierra APFS Bug Can Cause Data Loss When Writing to Disk Images

Software developer Mike Bombich has discovered a flaw in macOS High Sierra’s APFS file system that can lead to data loss when writing disk images.

macOS High Sierra APFS Bug Can Cause Data Loss When Writing to Disk Images


In a blog post last Thursday, software developer Mike Bombich explained that he had uncovered the data writing flaw in the Apple File System, or APFS, through his regular work with “sparse” disk images.

A “sparse disk image” is a file that macOS mounts on the desktop, and treats as if it were an attached disk drive. Sparse disk images are often used in backing up and cloning disks. Bombich is the creator of Carbon Copy Cloner, which means Bombich is experienced with the use of the images.

Earlier this week I noticed that an APFS-formatted sparsebundle disk image volume showed ample free space, despite that the underlying disk was completely full. Curious, I copied a video file to the disk image volume to see what would happen. The whole file copied without error! I opened the file, verified that the video played back start to finish, checksummed the file – as far as I could tell, the file was intact and whole on the disk image. When I unmounted and remounted the disk image, however, the video was corrupted. If you’ve ever lost data, you know the kick-in-the-gut feeling that would have ensued. Thankfully, I was just running some tests and the file that disappeared was just test data. Taking a closer look, I discovered two bugs in macOS’s “diskimages-helper” service that lead to this result.

The two images Bombich discovered are that an APFS volume’s free space doesn’t reflect a smaller amount of free space on the underlying disk, and The diskimages-helper application doesn’t report errors when write requests fail to grow the disk image

When macOS users update their Mac to macOS High Sierra, which is the latest version of the venerable operating system, the installation process automatically converts the Mac’s hard drive to APFS.

Ordinary APFS volumes, such as SSD startup drives, are not affected by the bug, so most users will not experience the issues described by Bombich. The flaw usually shows up when making backups to network volumes. Bombich says Carbon Copy Cloner won’t support APFS-formatted sparse disk images until the issue if fixed.


  1. Apple Seeds First Beta of macOS Sierra 10.12.1 to Developers
  2. Apple Seeds Third Beta of macOS Sierra 10.12.2, Xcode 8.2 Beta 2 to Developers
  3. macOS High Sierra Security Fix Breaks File Sharing for Some Users – Here’s How To Fix It
  4. Apple Releases Third Public Beta of macOS Sierra
  5. Apple Releases macOS Sierra 10.12.2 Update – Offers Fix for Graphics Issue & SIP Bug, Bring More Emoji, and More
  6. Apple Releases macOS Sierra 10.12.4 Beta 5 to Developers for Testing
Apple Giveaways

iPhone X Giveaway



MacBook Pro Giveaway



10.5″ iPad Pro Giveaway



iPhone 8 Plus Giveaway