Why is the Recovery volume’s version of Disk Utility more powerful than that on the main volume

disk-utilitypartitionrecoveryrecovery-hd

I'm running MacOS 13.2 on a mid-2014 MBP (11,3). I have a 2 TB external HD (Seagate Slim, spinning disk, GUID format) that was partitioned into two 1-TB volumes. Recently, using my main volume's Disk Utility, I deleted one volume and expanded the other to 2 TB. This action corrupted the drive: (1) while the partition map said the volume was 2 TB, Finder's info. window said its size was unchanged, at 1 TB; (2) Disk Utility's sidebar incorrectly depicted the volume as a separate device, rather than a volume on the existing device (it didn't indent it); and (3) First Aid failed.

I thus attempted to erase and reformat the drive. That also failed. I called AppleCare, and the advisor told me I should instead boot into the Recovery volume and try that operation from within its version of Disk Utility. That succeeded, on the first try. The disk is now behaving properly.

Questions:

1) Why was the version of Disk Utility on the Recovery volume able to succeed where the standard version failed? The AppleCare advisor's confidence in the Recovery volume's version suggests this was not a fluke—i.e., that it's understood the latter is more powerful (and/or that it's somehow able to operate more powerfully from within the Recovery volume).

2) Given that the Recovery volume's version of Disk Utility appears to be superior, is it generally advisable for me to perform any future operations to modify or delete volumes using that version, rather than the one on my main drive?

Best Answer

Disk Utility is the same between the regular OS and maOS Recovery, but the environment it's running in is different, and that affects what it can do. The biggest constraint is that Disk Utility can't do much to things (e.g. volumes) that're in use. My guess is that some program had a file open on the volume, so it couldn't eject the volume, and therefore couldn't repair or erase it. In my experience, the background process that scans and indexes documents for Spotlight searches tends to be a culprit here.

In Recovery mode, almost nothing is running (including no Spotlight indexer!), so Disk Utility is much less likely to run into this sort of conflict.

BTW, there are some things that Disk Utility can do when running from the regular OS but not in Recovery. One I've run into is resizing the startup volume (if it's MacOS Extended format -- not sure about APFS). The reason for this is that the Recovery HD partition is right after the startup volume, so it needs to be moved if the startup volume is resized. But you can't move it if you're running from it!