Please bring back the ability to create HFS+ Encrypted Volumes

Originator:sasmito.adibowo
Number:rdar://FB9738554 Date Originated:4 Nov 2021
Status:Open Resolved:
Product:macOS Product Version:12.0.1
Classification:file system Reproducible:often
 
Please bring back the ability to create HFS+ Encrypted partitions. This feature has been missing since Big Sur. On the other hand, APFS’ performance is unacceptable when applied to rotational drives.

1. Take a 5400 rpm _rotational_ drive that is connected via USB.
2. Partition the drive into two at 50% each.
3. Format both halves of the partition as APFS Encrypted (Case Sensitive) - do not use APFS volumes for this.
4. Use the second partition as a Time Machine drive.
5. Use Time Machine to make backups until the partition is full and Time Machine had to delete some of the oldest backups.
6. Take a Time Machine backup.
7. While the backup is ongoing, _unplug_ the drive _without_ ejecting it.
8. Restart the Mac
9. Re-connect the drive and try another Time Machine backup.
10. Screen-lock the Mac
11. Unlock screen-lock of the Mac.
12. Start Disk Utility and inspect the Time Machine partition.


At this point the Time Machine partition would be badly fragmented, it won’t even mount within five minutes. My experience is that the drive doesn’t even mount after hours of plugging in, despite fsck_apfs.log shows no errors. 

What’s worse, during that time the Mac often freezes. Screen lock often freeze with a beach ball. Disk Utility won’t show any disks. Command “diskutil apfs list” in the terminal freeze mid way and stuck at the Time Machine partition.

The people from Carbon Copy Cloner had done an objective analysis on APFS performance on rotational drives: https://bombich.com/blog/2019/09/12/analysis-apfs-enumeration-performance-on-rotational-hard-drives

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!