How to Resize Your APFS Container on macOS:


1. Find the disk you want using this command:
diskutil list

2. Resize the partition (Container) to the size you want using this command:
sudo diskutil apfs resizeContainer disk0s2 310g

*Replace disk0s2 with the wanted partition listed from command one. As well as 310g with how much gigabytes you want.

You can also resize the partition while the file system is live. No need to un-mount/reboot.

----------------------------------------------------------------------------------
Source: https://www.macobserver.com/tips/deep-dive/resize-your-apfs-container/
Date: November 2023


Back