Apple File System replaces HFS+

Summary

Apple presents APFS as a modern file system with copy-on-write, snapshots, cloning, strong encryption and SSD optimisation. Apple announced APFS in 2016.

Ideas

  • Copy-on-write avoids directly overwriting existing metadata.
  • Snapshots preserve consistent file system states.
  • Cloning shares data blocks until something is changed.
  • Multi-key encryption protects different classes of data.

Insights

  • File system design combines consistency, performance and recoverability.
  • Copies become cheap as long as shared blocks remain unchanged.
  • Snapshots are local states and not an independent backup.

Facts

  • APFS uses 64-bit inode numbers.
  • The file system later replaced HFS+.

Recommendations

  • Back up data externally before any file system migration.
  • Test snapshot restores and free space together.

References

Read the original article

Search the Web Archive

Found a mistake or have something to add? Get in touch.