How do I resize an APFS Container

I have an 8,000Gb external drive. It was originally split into two containers, of 30Gb and 7,970Gb.


The 30Gb Container is bootable, therefore, it has a boot and data Volume.


The 7,970Gb Container is just data.


I want to remove 20Gb from the large Container and add it to the small Container.


Using Disk Utility I have reduced the large Container by 20Gb to 7,950Gb, this created a third Container with a single Volume of 20Gb.


What I am unable to do is make the 30Gb Container larger, Disk Utility just ignores my request to make the Container any larger, presumably because there is nowhere for it to grow.


If I indicate to Disk Utility that I want to delete the 20Gb Container it assumes I want to add it back to the larger Container and does not seem to allow me add it to the smaller 30Gb Container.


Does this make any sense? Any guidance appreciated.

iMac 27", macOS 10.15

Posted on Mar 2, 2020 3:50 AM

Reply
6 replies

Mar 3, 2020 6:32 AM in response to iwaddo

You can't without repartitioning the drive. Containers are hard breaks in the space mapping. Such as here:



It's impossible for me to move the dot to the right of Catalina because (at least in part), there's live data sitting right next to it, as indicated by the gray lines. It's also a hard break (standard partition) that can't be changed to a larger size without repartitioning.


Not sure why it would be a bad idea to use containers on an external drive. A drive is a drive is a drive. I have my external SSD broken into four containers. I have both Catalina and Mojave on the drive. Plus I keep other data separate from the OS partitions. I don't see how it makes a difference if you use containers or partition groups. Other than they're not sharing the same free space.

Mar 2, 2020 5:36 AM in response to iwaddo

iwaddo wrote:

used for exclusively for Carbon Copy Cloner.

I chose APFS for this drive so that I can use the Snapshot facility offered by Carbon Copy Cloner...
suggested by Bombich.

... I just want to enlarge the smaller container. I want to use the 20Gb used by Container disk8 (which I created by making Container disk7 smaller) and add it to Container disk6.




My best advise is to contact CCC for their excellent customer service & support:


"The most effective way for us to help you resolve a problem is if you submit your request from within Carbon Copy Cloner. Open CCC, then choose "Ask a question" from CCC's Help menu."


ref: https://bombich.com/kb/ccc5



Please post back with your final success or failure— it could well prove to be most informative for all here.

Good luck !





My take on a robust backup plan is you are better off with multiple smaller drives compared to one single large drive—all drives will fail in due time—some new out of the box.


3-2-1 Backup Strategy: three copies of your data, two different methods, and one offsite.


Boot clone https://discussions.apple.com/docs/DOC-10081

How to use Time Machine to back up or restore your Mac: https://support.apple.com/en-us/HT201250

Use DiskUtility Restore feature  https://support.apple.com/guide/disk-utility/restore-a-disk-dskutl14062/mac

note:  >System Preferences>Security & Privacy >Privacy>Full Disk Access

unlock the  padlock,  press the + button and add Disk Utility 


.

Mar 3, 2020 12:38 AM in response to leroydouglas

My best advise is to contact CCC for their excellent customer service & support:

As always the advice from the Bombich team was excellent. It seems that I will not be able to grow disk6 without deleting disk7. So at the moment I am leaving things as they are.


My take on a robust backup plan is you are better off with multiple smaller drives compared to one single large drive—all drives will fail in due time—some new out of the box.

3-2-1 Backup Strategy: three copies of your data, two different methods, and one offsite.


My Backup Strategy provides me with four copies of my files.


      1. My Internal Fusion Drive
      2. Time Machine - has data back to Dec 2017
      3. Carbon Copy Cloner updated at least weekly and securely stored - has SafetyNet\Snapshots back to Dec 2017
      4. Backblaze Cloud Backup with a 30-Day archive


This gives me a good level of confidence, not sure what else I could do, though I do have a spare 4Tb drive so I am thinking of either doubling up my Time Machine or Carbon Copy Clone.


Thank you for your help


Mar 2, 2020 4:48 AM in response to iwaddo

iwaddo wrote:

I have an 8,000Gb external drive. It was originally split into two containers, of 30Gb and 7,970Gb.

The 30Gb Container is bootable, therefore, it has a boot and data Volume.

The 7,970Gb Container is just data.

I want to remove 20Gb from the large Container and add it to the small Container.

Using Disk Utility I have reduced the large Container by 20Gb to 7,950Gb, this created a third Container with a single Volume of 20Gb.

What I am unable to do is make the 30Gb Container larger, Disk Utility just ignores my request to make the Container any larger, presumably because there is nowhere for it to grow.

If I indicate to Disk Utility that I want to delete the 20Gb Container it assumes I want to add it back to the larger Container and does not seem to allow me add it to the smaller 30Gb Container.

Does this make any sense? Any guidance appreciated.




Hmmm... and what is this drive used for(?) and how is this drive formatted.


Containers and apfs is not recommended for external drives... Documentation from Apple on apfs is scant to none as you may well know.



 Apples new concept & the APFS container. All APFS volumes reside within a container, and the container resides within the disk's partitioning scheme. All volumes within a container share the space that is available to the container; separate APFS containers do not share space with each other.


If you want to press on, you can read more: Working with APFS Volume Groups


please advise...


The recommended file format continues to be the old reliable HFS+ file format [for mac only patition type GPT (GUID).]


Types of disks you can use with Time Machine on Mac - Apple ...


About the read-only system volume in macOS Catalina - https://support.apple.com/en-us/HT210650


Use external storage devices with Mac - Apple Support

File system formats available in Disk Utility on Mac - Apple ..

Partition a physical disk in Disk Utility on Mac - Apple Support

Backup disks you can use with Time Machine - Apple Support






3-2-1 Backup Strategy: three copies of your data, two different methods, and one offsite.


.

Mar 2, 2020 5:15 AM in response to leroydouglas

Leroydouglas, Hi, the drive is used for exclusively for Carbon Copy Cloner.


The smaller Container is bootable so that I can boot my iMac and access the data in the larger container. I chose APFS for this drive so that I can use the Snapshot facility offered by Carbon Copy Cloner. The disk was originally a single container but it was not reliably bootable so this two container approach was suggested by Bombich.


Everything is working as expected. I just want to enlarge the smaller container. I want to use the 20Gb used by Container disk8 (which I created by making Container disk7 smaller) and add it to Container disk6.


Thank you for your help.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do I resize an APFS Container

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.