| ▲ | Disk Utility still can't check and repair APFS volumes and containers (2021)(eclecticlight.co) |
| 99 points by rahimnathwani 10 hours ago | 53 comments |
| |
|
| ▲ | rahimnathwani 10 hours ago | parent | next [-] |
| I needed to resize my APFS partition to install Asahi Linux. 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. |
| |
|
| ▲ | thedanbob 8 hours ago | parent | prev | next [-] |
| File systems seem to be a particular weakness of Apple. HFS+ is pretty terrible. APFS is better, until something goes wrong and then it's just as terrible. Add "network" and the situation is 10x worse. I recently gave up on Time Machine (via Samba) entirely because it would regularly corrupt itself and destroy all my existing backups. |
| |
| ▲ | watersb 6 hours ago | parent | next [-] | | macOS Snow Leopard almost adopted ZFS. 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. | | |
| ▲ | j45 5 hours ago | parent [-] | | ZFS looked promising and capable at the time. Do you have any recommendations for today? 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. | | |
| ▲ | TheNewsIsHere 4 hours ago | parent | next [-] | | I’m managing hundreds of terabytes on (Open)ZFS in 2025. It’s as promising and capable as ever. 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.) | |
| ▲ | xmodem an hour ago | parent | prev | next [-] | | The path we've collectively chosen as an industry is to push those responsibilities further up the stack into the application layer. No widely-deployed filesystem before or since ZFS is in the same league. | |
| ▲ | unsnap_biceps 4 hours ago | parent | prev | next [-] | | It's still promising and capable. Development is active and ongoing. I'm quite happy using it. | |
| ▲ | dangus 5 hours ago | parent | prev [-] | | I love TrueNAS community which runs on ZFS for my NAS system. For workstations I just use the distribution default. APFS on Mac, NTFS windows, and my Linux distro happens to use btrfs by default. |
|
| |
| ▲ | jval43 7 hours ago | parent | prev | next [-] | | Something is deeply broken with Samba in macOS, all Samba versions and all macOS versions. 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. | | |
| ▲ | polygloty 5 hours ago | parent | next [-] | | Hmm interesting. Can you expand more. I've been using samba continuously on Mac for a few years now. It's been good for me so far. There is the need to reconnect every once in a while due to sleep and wake but other than that it's been consistently good | | |
| ▲ | j45 5 hours ago | parent [-] | | I've never relied on Time Machine as a sole format of backup. If I ever used it I made sure the Time Machine backups were sent to a non-apple storage device. Carbon Copy Cloner was excellent at creating a bootable backup, and Super Duper seemed very serviceable too. |
| |
| ▲ | bombcar 2 hours ago | parent | prev | next [-] | | I’ve had zero problem with macOS client against a Gentoo Linux samba server (with the apple extensions enabled for Time Machine, too). Maybe your distro’s samba is out of date? | |
| ▲ | TheNewsIsHere 4 hours ago | parent | prev | next [-] | | I haven’t had that level of issues with CIFS on Apple platforms in general. 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. | |
| ▲ | ksherlock 4 hours ago | parent | prev | next [-] | | OS X used to use Samba, but Samba went GPL v3 so the rolled their own server implementation (smbx). The client is based on freebsd's code, I believe. https://github.com/apple-oss-distributions/SMBClient | |
| ▲ | j45 5 hours ago | parent | prev [-] | | I find the other side of Samba can often have issues but updates have to be tested and managed carefully. 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. |
| |
| ▲ | daymanstep 7 hours ago | parent | prev | next [-] | | Hard agree. Apple has lost my data on multiple occasions. I resized my Time Machine partition and that silently corrupted most of my backups. 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. | | |
| ▲ | dsego 5 hours ago | parent [-] | | I started using carbon copy cloner after the first time time machine corrupted the backup drive. |
| |
| ▲ | userbinator 2 hours ago | parent | prev | next [-] | | It seems quite fitting for a company which had been trying to deemphasize file management nearly since the original Mac. | |
| ▲ | zenmac 7 hours ago | parent | prev | next [-] | | Why Samba? That is not used unless you must support windows. NFS would probably better option for Linux, *inx and Mac. | | |
| ▲ | radicality 5 hours ago | parent | next [-] | | I didn't know about that. I don't use windows at all, but have a Synology with a bunch of drives and use it with SMB for my multiple Macs and apple devices, haven't had any larger issues and things seem to work fine. Should I be switching to NFS ? | |
| ▲ | area51org 6 hours ago | parent | prev [-] | | Samba is used for Windows support. |
| |
| ▲ | jama211 4 hours ago | parent | prev [-] | | “Terrible” is a bit strong. If it’s good enough for John Siracusa it can’t be “terrible”. |
|
|
| ▲ | amelius 8 hours ago | parent | prev | next [-] |
| When using Apple hardware, don't expect things to work if they're not relevant to 95% of their customers. |
| |
| ▲ | hazn 4 hours ago | parent [-] | | compared to the majority of consumer laptops, doesn’t apple have an exceptional track record on this topic? 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. | | |
| ▲ | Spooky23 3 hours ago | parent [-] | | As long as you are on the happy path. If you diverge, wheels fall off. |
|
|
|
| ▲ | CharlesW 7 hours ago | parent | prev | next [-] |
| > The disk which I have such problems with is a little unusual in that it’s partitioned into two: a small HFS+ volume, and a much larger APFS container. 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)? |
|
| ▲ | dostick 9 hours ago | parent | prev | next [-] |
| Why post this with invalid title? It should be in 2021 it was impossible… |
| |
| ▲ | rahimnathwani 9 hours ago | parent [-] | | It's still impossible. See my other comment: (EDIT: corrected link to comment) https://news.ycombinator.com/item?id=45322650 | | |
| ▲ | lapcat 9 hours ago | parent | next [-] | | By HN convention, the submission title should still have (2021) appended. | | |
| ▲ | rahimnathwani 8 hours ago | parent [-] | | The year is useful in the title when the article provides out of date information. This isn't the case here and adding a ' (2021)' would have made the title less informative because people would assume the problem would have been fixed by now. There was no good reason to add the year. | | |
| ▲ | lapcat 8 hours ago | parent [-] | | > The year is useful in the title when the article provides out of date information. No, that's not the reason for the HN convention. Why would someone even submit an article with out of date information? The reason for the convention is that "news" is generally expected to be new, so when it's not new, HN readers want to be informed of that fact, and they can react to the submission accordingly. It's a simple courtesy to readers. | | |
| ▲ | jxf 7 hours ago | parent | next [-] | | > Why would someone even submit an article with out of date information? The incredulous tone of this hypothetical worries me, because I think this actually happens with troubling regularity. | |
| ▲ | pseudalopex 7 hours ago | parent | prev [-] | | > Why would someone even submit an article with out of date information? Anything that good hackers would find interesting is on topic.[1] This includes some history. [1] https://news.ycombinator.com/newsguidelines.html | | |
| ▲ | lapcat 7 hours ago | parent [-] | | History is not the same as out-of-date information. The submitted article is not an historical review. If there was an article written explaining how Disk Utility had a bug, but the bug is now fixed, that might be interesting. On the other hand, to submit an article about a bug that no longer exists, with no explanation, would simply be misleading, out-of-date information. In this case, however, the bug still exists presently, so it's not history either. | | |
| ▲ | pseudalopex 5 hours ago | parent [-] | | I did not say the submitted article was history. I answered why someone would submit an article with out of date information. | | |
| ▲ | lapcat 5 hours ago | parent [-] | | > I did not say the submitted article was history. I did not say that you did say that. > I answered why someone would submit an article with out of date information. And I explained why history is not the same as out of date information. Thus, you have not explained why someone would submit an article with out of date information. Submitting history is fine. Submitting out of date information is not fine, and it wasn't done in this case, because the information continues to be accurate. | | |
| ▲ | pseudalopex 2 hours ago | parent [-] | | > I did not say that you did say that. I did not say you said I said that. My point was it was irrelevant. > And I explained why history is not the same as out of date information. Thus, you have not explained why someone would submit an article with out of date information. There is nothing to explain. Some history is on topic. History includes articles with out of date information. Consider the 1st Linux announcement.[1] [1] https://news.ycombinator.com/item?id=6276961 | | |
| ▲ | lapcat 29 minutes ago | parent [-] | | > History includes articles with out of date information. Yes, but a lot of out of date information is of no historical interest. That's the distinction I was getting at when I said that history is not the same as out-of-date-information. What's distinctive about history is that we recognize it as history. In other words, when we take an interest in a document as historical, we don't assume that it describes the current state of affairs. Nobody is misled in that respect. > https://news.ycombinator.com/item?id=6276961 Notice that this submission has the year (1991) appended, which is all we wanted in the first place. It's simply standard practice on HN and has nothing to do with whether the information included is out of date, contrary to what rahimnathwani was arguing. Indeed, someone could publish a blog post in 2025 that includes out of date information (of no historical interest), but it wouldn't receive a (2025) label on HN, because the label is not an indicator of out of date information, just the publication year. |
|
|
|
|
|
|
|
| |
| ▲ | Dylan16807 8 hours ago | parent | prev [-] | | That link does not go to a comment. | | |
|
|
|
| ▲ | msie 7 hours ago | parent | prev | next [-] |
| Sad how a large company such as Apple cant be bothered to fix many reported bugs. |
| |
| ▲ | j45 5 hours ago | parent [-] | | The windows approach seems most sustainable: best to use the OS for the core OS and add third party utils for the rest to maintain functionality, including running a few small vms to keep everything packaged up and running. |
|
|
| ▲ | anacrolix 9 hours ago | parent | prev | next [-] |
| I've reported a trivially reproducible mmap issue that causes Darwin to spiral into locking up with no apparent reason. "Not a vulnerability". 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 |
| |
| ▲ | dillutedfixer 8 hours ago | parent | next [-] | | A few years back I found a bug that would make deleted photos show up in the Photos app on iPhone simply by putting transparent PNGs into the photo library. I reported it to Apple via web, no response. I called their support and talked to a very nice guy who had an in-depth conversation with me about it and even watched a video I made showing the bug. He said he was taking the issue "up the chain." About 6 months and two .x.x releases later and the bug still existed. I reported it again, no response. 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. | | |
| ▲ | kevincox 8 hours ago | parent [-] | | These companies don't care about having reliable products, they care about the average consumer having the perception that their products are reliable. |
| |
| ▲ | jeroenhd 7 hours ago | parent | prev [-] | | This is the reason security researchers started demanding deadlines before publishing their findings publicly. Forcing them to do damage control by publishing their dirty laundry turned out to be the best way to motivate companies to listen to reports. |
|
|
| ▲ | SonOfKyuss 10 hours ago | parent | prev | next [-] |
| This article is from 2021. I’m curious if the problem has been addressed since then |
| |
|
| ▲ | user3939382 9 hours ago | parent | prev [-] |
| Apple basically stopped working on non-BS macos features 10-15 years ago. The FDE unlock on boot ssh was literally shocking for this reason. Apple’s software priority is iOS DAU. |