111 points · by rahimnathwani · 1y ago · 64 comments
The Asahi installer couldn't resize the partition due to some orphan inodes or something.
Rebooting into Recovery mode and using Disk Utility (GUI) and diskutil (CLI) didn't fix the issues.
But `fsck_apfs -y` did the trick. I had to first do `diskutil unlock volume -nomount` as it was an encrypted volume.
But a few weeks before release, Sun was acquired by Oracle.
It was going to take months of further negotiations to nail it down. Apple-sourced ZFS on macOS was canceled.
ZFS had been released by Sun before the Oracle Situation under their MIT-like CDDL.
I suppose when Big Tech is involved, they rattle patents at one another until the dust settles with handshakes and payouts all around. I'm speculating here. But I was told that the CDDL was not considered sufficient for Apple to support its own development efforts.
ZFS is relatively complicated, but it generally works. At the time, Apple was shipping servers with iSCSI SAN and a GUI comparable to Disk Utility.
Really a shame. I was running native ZFS on my Mac Pro that summer. Eventually migrated those pools to Open Solaris and eventually to Linux.
It can feel like until there's a bit more clarity or certainty publicly, or personally running multiple backups on different file systems is the default start, which isn't always ideal.
I like storage to become, and remain an appliance.
It doesn’t really have a stable and battle tested competitor in the FOSS arena considering its feature set.
(Of course there are things like Lustre and Glustre, but these are orthogonal solutions for different use cases.)
No widely-deployed filesystem before or since ZFS is in the same league.
For workstations I just use the distribution default. APFS on Mac, NTFS windows, and my Linux distro happens to use btrfs by default.
It just never works. And just when you think it's finally reliable and has worked for a while, it breaks in new unexpected ways. Sometimes hanging the whole machine. This was with both macOS as a server and a Linux server (less issues with Linux, but still broken).
Samba isn't great on other OSs either, but not as broken as on macOS. At this point I've given up on Samba completely, and consider it something I won't use again.
Carbon Copy Cloner was excellent at creating a bootable backup, and Super Duper seemed very serviceable too.
For most of iOS 18 there was a bug where iOS and iPadOS simply couldn’t connect to Samba shares on Linux but that has since been resolved.
Apple does implement some custom functions that make CIFS (Samba or Windows based) shares less performant than Apple platform served shares in certain situations. Especially for server side copy. TrueNAS has recently patched this so that it works.
Adopting/inheriting a CIFS-backed Time Machine share is needlessly precarious.
Yes, exactly. That bug also affected macOS Sequoia but IIRC could be worked around (not on iOS though). And that was just the latest series of bugs, the pattern repeats itself every once in a while and it got worse after they discontinued Mac OS X Server and their own Time Capsule. Every few months something breaks.
E.g. just in March 2025, the 13.7.5 update to Ventura (last OS supporting a 2017 Mac) broke SMB filesharing for many users. There was a workaround, but it was only fully fixed in 13.7.7 four months later.
The fruit extensions are useful for performance, but don't really help with connection issues / hangs. Aside from that, the main usecase they enabled in the past was working Timemachine backups, but my long-term experiences with Timemachine over the network (with Mac OS X Server, fully supported by Apple at the time) were less than stellar and so I'm not doing that ever again either.
Overall, it's just not a level of reliability I'm comfortable with for a network filesystem implementation.
Maybe your distro’s samba is out of date?
If/where there's hotfixes or patches needed, seeking scripts that can run when waking seem to be the only way to ensure any connectivity remains in place when opening one's laptop.
I don't compile off of a Samba share for example, or do operations involving tons of small files frequently.
Apple is the only company that makes such terrible file systems. I have resized partitions on NTFS and EXT3 and never lost any data. Apple is uniquely terrible in terms of file systems and data integrity in general.
I'd use SMB only if I had to connect to some corporate server on Windows, or if whetever system I connected to didn't support anything else.
their software-hardware design philosophy is unmatched in the consumer space i would say. the fact that the transition from intel chips to arm chips went as smooth as it did is a testament to my point.
of course, they are not perfect.
So is this the actual bug then? Because I just used Disk Utility (in Tahoe) to check and repair an AFPS volume and it appeared to do the right thing, with the caveat that I had to "eject" it manually since Disk Utility complained that stuff was using it. Presumably, booting into macOS Recovery would've worked, too.
If the author's reading, is there a way we can help amplify any existing bug report(s)?
(EDIT: corrected link to comment)
There was no good reason to add the year.
I also reported a bug in Safari HTTP proxy handling that prevents encryption. No reply.
I provided source code, and reproduction steps for both.
Fuck Apple
So I emailed AppleInsider who did a short article about it and within two weeks another .x.x release came out and the bug was fixed.
Sadly I think this is one of the only ways to get big tech companies to take action these days. Cant tell you how many times I have read about Comcast, Verizon, etc screwing someone over and being unreasonable about it until theres an article on ArsTechnica or some similar site about it.
tl;dr:
- Missing disk space can be related to a broken filesystem
- APFS tooling is currently really bad, you probably need to erase the volume and reinstall to fix any filesystem problem
... and this was in 2018 and I fear not much changed.