Can’t resize APFS container

disk-spacehard drivepartition

On a 120GB SSD hard drive in a MacBook only 68.68GB are available. The missing 51.32GB are not even shown as a free space.

Here is what the output of Disk Utility looks like:
disk0

disk1

disk1s1

terminal screen

As you can see on the first screenshot the disk has 120GB. However, the partition chart on the same screenshot only shows 68.7GB. Also the other two screenshots show that only 68.7GB out of 120GB seem to be available.

The command diskutil list shows that the physical disk0 is 120GB big, but the synthesized disk1 only 68.7GB:

disk info

Best Answer

Just for the record. I've managed to increase the size of my APFS volume using GParted and Disk Utility (from macOS Catalina).

  1. Create a GParted USB drive and boot from it
  2. Use GParted to move the APFS partition/container around so that the free space appears directly AFTER the APFS partition.
  3. Boot into Mac Recovery mode and open Disk Utility
  4. Click the drop-down in the top left and enable "Show All Devices"
  5. Select your SSD (top entry)
  6. Click "Partition"
  7. Somewhat unintuitive, but now select the "Free Space" area and click the "-" button below. This will "remove" the free space and enlarge the APFS container to fill it.
  8. Confirm the dialog and the resizing should start.
  9. Done.