gtr <x...@yyy.zzz> wrote:
> On 2019-06-12 03:03:38 +0000, JF Mezei said:
>
> > A couple of points to understand:
> >
> > Formatting the *drive* requires you boot from a different physical
> > device.
>
> So anyone with mismatches in their extents would first need to buy
> another physical harddrive?
No. Booting from the Recovery Volume is sufficient.
Or booting from the backup of the recovery volume on your Time Machine
drive (assuming you use Time Machine to back up your computer to a drive
that plugs into the computer via USB or similar, not over a network).
Or using Internet Recovery.
In all three cases, you can run Disk Utility from the menu and erase the
internal drive.
> > You will create 1 APFS partition (the APFS container) and
> > inside, create the main drive volume. The Time Machine backup you have
> > will populate this main drive volume, but will not create/populate the
> > recovery volume also inside the APFS container.
Wrong. Doing a full restore from a Time Machine backup also recreates
the recovery volume.
> > So before you do that, you want to look for utilities that will populate
> > the recovery partition for you, (usually needs the istaller .dmg image
> > for the utility to source the components). The instructions for that
> > utiility will describe whether it will create the recovery volume inside
> > APFS container or if you will need to create it.
Also wrong. If for some reason you did end up without a recovery volume,
you can create it again by running the normal macOS installer for the
version you are already running, and install the OS on top of the
existing installation.
> I've never heard of recovery-drive installer utilities before. That's
> a new one on me.
New one for everyone except JF Mezei's imagination, I think.
> > If you only reformat the system volume, it leaves the APFS container and
> > the recovery partition inside it intact.
> >
> > This saves you from having to recreate/populate the recovery partition.
> >
> > But I am not 100% certain that Disk Util would fix any problems that
> > reside in structures common to all volumes in an APFS container (the
> > free boocks list appears to be common for instance).
It has already been established that Disk Utility can't fix the problem.
If that problem is in container-level data structures then erasing just
the volume is not going going to help. It is easiest to erase the entire
drive (therefore the APFS container).
> > Running Disk Util "verify" on the recovery volume without any problems
> > would point to problems in your system volume being local to it and not
> > in the APFS portion, so mere rformatting of system volume would solve it.
> >
> > I have not seen architecture documentation on APFS, but know that
> > volumes inside the APFS container share free space. Not sure how much
> > more is shared and whether Disk Utility will repair APFS level
> > structures when only reformatting a volume inside the APFS container.
> >
> > Others may chime in with more complete/correct info. This may be helpful
> > to you IF you encounter problemns when recreating the system.
>
> I've surprised to find previous recommendations to wipe the drive and
> restore from Time Machine, left out so many other additional tasks
> and/or utilities that need to be procured!
That's because they are not necessary.
--
David Empson
dem...@actrix.gen.nz