Get the latest tech news
Disk Utility still can't check and repair APFS volumes and containers (2021)
Don’t waste time trying to discover which files are still open when you want to check or repair an APFS disk and Disk Utility throws an error. Here’s the solution.
One of its most persistent and pervasive problems has been complete failure because Disk Utility has been unable to unmount volumes or containers. When I was researching yesterday’s article about how to check Time Machine backup volumes, it hit me again and again, so I went back and had a closer look at what now goes wrong, and what to do about it. macOS does now provide a good means of ‘freezing’ file system access if you do try that when running in normal user mode, but Recovery is always better.
Or read this on Hacker News