MacInTouch Amazon link...

APFS / file systems

Channels
Apple, Security, Other, Products
I have a small business with a dozen iMacs, circa 2014-2017, all booting off external T5's, some formatted as APFS with Disk Utility, some auto-formatted to APFS via Mojave installer, all running Mojave. All work fine.
I've had no success booting from my T5 formatted as APFS, even after re-installing Mojave on it. So I erased the drive, formatted it as HFS+, and tried again, still with no luck. The boot process hangs about half-way through consistently. I thought it was the drive, so I tried booting from another APFS-formatted T5, and that didn't work either. So I'm wondering if it's my iMac. I'll try both drives with my MacBook Pro next.
 


I've had no success booting from my T5 formatted as APFS, even after re-installing Mojave on it. So I erased the drive, formatted it as HFS+, and tried again, still with no luck. The boot process hangs about half-way through consistently. I thought it was the drive, so I tried booting from another APFS-formatted T5, and that didn't work either. So I'm wondering if it's my iMac. I'll try both drives with my MacBook Pro next.
Did you install directly or try cloning the install from another disk? I'd try cloning it first from a boot disk that's known to work.
 


Did you install directly or try cloning the install from another disk? I'd try cloning it first from a boot disk that's known to work.
I tried both approaches. Interestingly, I can successfully boot from both T5s (one APFS, the other HFS+) on my MacBook Pro, so there's something weird about the iMac. I'm going to try them on my other iMac at home too.
 


I tried both approaches. Interestingly, I can successfully boot from both T5s (one APFS, the other HFS+) on my MacBook Pro, so there's something weird about the iMac. I'm going to try them on my other iMac at home too.
I'm beginning to think it's more due to the Mac involved, as well, having had a 13" MacBook Pro not boot repeatedly and the 15" boot just fine with this one T5.
 


Ric Ford

MacInTouch
I'm beginning to think it's more due to the Mac involved, as well, having had a 13" MacBook Pro not boot repeatedly and the 15" boot just fine with this one T5.
These results beg the question of Mac firmware versions and whether they’re up to date, or differ, etc.
 


These results beg the question of Mac firmware versions and whether they’re up to date, or differ, etc.
Yes, I suspect that this (or some other factor associated with my 2014 iMac) is at fault. My home iMac, which is a 2017 model, boots from an identical APFS-formatted T5 just fine.
 


It's unclear to me, though, if High Sierra's transitional and problematic APFS implementation has been updated to a more robust and current APFS version somehow (via stealth firmware updates, perhaps?), or if decent APFS support requires an update to macOS Mojave or Catalina.
I've been avoiding High Sierra, mostly because of its half-baked APFS implementation. If Apple managed to port a stable APFS to it, then I would consider upgrading my MacBook Air.
I have a Mac Mini Server (Mid 2011) running fully updated High Sierra with no obvious APFS issues for a couple of years. It is run by two SSDs in an OWC ThunderBay 4 Mini (one is the boot disk, the other a clone of the boot disk as a backup.

I've noticed that in Mojave and Catalina, when you run First Aid in Disk Utility on a APFS formatted SSD, you get an output line saying how the volume was formatted and the latest modification. Since I can easily remove the SSDs running the Mini, I popped them out and ran them through Disk Utility on my 2012 Mac Book Pro running Mojave. Here are the results:

The volume azaharserverSSD was formatted by hfs.convert (748.77.8) and last modified by apfs.kext (945.275.8)
The volume azaharserverSSD.PortA was formatted by newfs.apfs (748.77.10) and last modified by apfs.kext (945.275.8).
Since I have High Sierra, Mojave, and Catalina volumes on my boot SSD, I also tested those:
High Sierra on Mac Book Pro
The volume Untitledy was formatted by newfs.apfs (748.77.11) and last modified by apfs_kext (945.275.8).
Mojave on Mac Book Pro
The volume UntitledMojave was formatted by newfs_apfs (748.77.8) and last modified by apfs.kext (945.275.8).
Catalina on Mac Book Pro
The volume UntitledCatalina was formatted by diskmanagementd (1412.61.1) and last modified by apfs.kext (945.275.8)
Notice that all of results of fully updated systems were formatted by a variety of means but have all been modified by apfs.kext (945.275.8).

I don't know how complete the modification was for each system, but the final APFS systems have all been updated by the same kext. With all the lack of transparency with APFS, while the 5 volumes might not be exact duplicates, all have been updated.
 


... I popped them out and ran them through Disk Utility on my 2012 Mac Book Pro running Mojave. Here are the results:
... but the final APFS systems have all been updated by the same kext.
I could be under-informed but I would expect the "last modified" version to match the booted macOS's kext version. (By default macOS mounts drives as read/write. If a drive is writeable, macOS will update Spotlight's files et al when the drive is mounted.)
 


I could be under-informed but I would expect the "last modified" version to match the booted macOS's kext version. (By default macOS mounts drives as read/write. If a drive is writeable, macOS will update Spotlight's files et al when the drive is mounted.)
You may very well be right, but being bull-headed, I tried a different tack. This time I partitioned an SSD with Catalina into 4 APFS containers. Then using fsck_apfs on Catalina I checked and got the following result:
The volume Untitled3 was formatted by diskmanagementd (1412.61.1) and last modified by apfs_kext (1412.61.1)
Then, booting from High Sierra, I installed High Sierra on one of the new containers. Again using fsck_apfs from Catalina, I got:
The volume Untitled3 was formatted by diskmanagementd (1412.61.1) and last modified by apfs_kext (1412.61.1).
So the indication is that the High Sierra install does not completely reformat the APFS volume, but it also does not indicate whether it modifies it during the installation.

Unfortunately, there doesn't appear to be a working APFS tool that will tell you what the APFS version is in High Sierra. A suggested tool, gpt, doesn't seem to work in High Sierra. Howard Oakley has a series of posts regarding the status of APFS tools. Here's one:
Eclectic Light Co. said:
Why isn’t APFS fully supported yet in macOS?
... Tracking build numbers of APFS revealed that it remained very much a work in progress until its release nearly a year ago in Mojave, when it finally did achieve all its major objectives. It now copes well with a full range of Unicode names, hard disks and Fusion Drives, although many users remain unconvinced that it’s the file system of choice on those media.
Support tools for working with APFS have been considerably less impressive, though, and access through developer interfaces or documentation essentially non-existent.
 


Ric Ford

MacInTouch
In other file system news, here's an update on FUSE software, needed for such critical things as SMART support of external drives...
The Register said:
FUSE for macOS: Why a popular open source library became closed source and commercially licensed
In May this year, users of popular open source project FUSE for macOS noticed the source code for the latest update was missing. The project had become closed source and was no longer free for commercial use. But as The Reg discovered when we had a talk with its maintainer, there was a very good reason for that – and it's not a good look for the many companies that used it.

"... the number of applications relying on FUSE for macOS has grown rapidly. Today FUSE for macOS is used by many big internet companies, among them cloud storage and infrastructure-as-a-service providers and even popular social networks."

The problem? Fleischer was doing most of the development work for free. In May 2016, he asked for support. "In order to take FUSE for OS X to the next level, I would like to spend more time working on it, but this won't be possible without being compensated for my work," he explained at the time.

"My post did not produce the hoped-for results," Fleischer told us. "Then I altered my strategy and tried contacting companies directly, that are using FUSE, and asked for their support.

"I tried to advocate that having one project, that everyone contributes to, instead of many closed source forks without pushing fixes and improvements upstream, would benefit everybody. I was able to convince one or two companies to support my work financially. However, most companies were reluctant to support the project that their product depends on because it is available for free. This in itself is kind of ironic....
 


OWC has switched some of their Mercury Extreme Pro SSD controllers from Silicon Motion to Phison with their newer black drives. Phison has only 11 smartmon attributes that are reported, compared to 30 with Silicon Motion. I've never heard of Phison. Opinions?

These big SSDs are primarily for updating data like documents, graphics, video, etc. Would APFS be more reliable or wear out the drive less in Mojave, than if formatted MacOS Extended? How about with High Sierra? I'm guessing that APFS is better with Mojave, but maybe MacOS Extended is better for High Sierra, assuming APFS is an older version there.

Of course, there's a current lack of utilities for repairing APFS as a factor, but it sounds like DiskWarrior is working on it, according to comments the author made on an Eclectic Light thread a while back. Any advice is appreciated, thanks.
I've decided I'll keep an old iMac on High Sierra in case there is a firmware update this year, then use the DOS Dude patcher to go to Mojave in the fall. I'll keep the internal SSD on APFS to simplify that transition, and hope that APFS is reliable.

On a new iMac with Mojave, I have an external data-only SSD. I'm still debating APFS Encrypted vs. HFS Encrypted because of APFS reliability and SSD wear questions. Does anyone have advice please?
 


Ric Ford

MacInTouch
I found some fascinating file systems (and history) in this list at Wikipedia and thought others might appreciate the information, too:
Wikipedia said:
List of file systems
The following lists identify, characterize, and link to more thorough information on computer file systems. Many older operating systems support only their one "native" file system, which does not bear any name apart from the name of the operating system itself.
 


Amazon disclaimer:
As an Amazon Associate I earn from qualifying purchases.

Latest posts