I'm attempting to resize a partition that's too small for my needs. Here's the output from diskutil list
:
~> diskutil list
/dev/disk0 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 500.3 GB disk0
1: EFI EFI 314.6 MB disk0s1
2: Apple_APFS Container disk1 400.0 GB disk0s2
3: Apple_APFS Container disk2 100.0 GB disk0s3
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +400.0 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 234.4 GB disk1s1
2: APFS Volume Preboot 23.6 MB disk1s2
3: APFS Volume Recovery 518.1 MB disk1s3
4: APFS Volume VM 6.4 GB disk1s4
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +100.0 GB disk2
Physical Store disk0s3
1: APFS Volume Mojave Beta 90.2 GB disk2s1
2: APFS Volume Preboot 46.3 MB disk2s2
3: APFS Volume Recovery 512.3 MB disk2s3
4: APFS Volume VM 3.2 GB disk2s4
I looked at this MacObserver post and I tried this:
sudo diskutil apfs resizeContainer disk0s3 150G
I also took a peek at this post, too re: diskutil
documention.
Console output is as follows:
Started APFS operation Aligning grow delta to 49,999,994,880 bytes and targeting a new physical store size of 149,999,996,928 bytes Determined the maximum size for the targeted physical store of this APFS Container to be 100,000,002,048 bytes Error: -69519: The target disk is too small for this operation, or a gap is required in your partition map which is missing or too small, which is often caused by an attempt to grow a partition beyond the beginning of another partition or beyond the end of partition map usable space
I know I've got 50 gigs laying around on the other drive, but how do I reclaim from the Macintosh HD
and give it to the Mojave Beta
drive? Thank you for reading. I welcome your suggestions.
Update
Just for S's and G's, I tried making the big drive smaller and see what happens.
Current status:
Shrinking APFS Physical Store disk0s2 from 399,963,168,768 to 349,999,996,928 bytes
Shrinking APFS data structures
[ - 0%..10%..20%..30%..40%............................... ] 45.0%
Update 2
I didn't blow up my hard drive, but it didn't work...well, it sorta worked...here's what diskutil list
looks like right now after that attempt:
~> diskutil list
/dev/disk0 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 500.3 GB disk0
1: EFI EFI 314.6 MB disk0s1
2: Apple_APFS Container disk1 350.0 GB disk0s2
3: Apple_APFS Container disk2 100.0 GB disk0s3
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +350.0 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 234.4 GB disk1s1
2: APFS Volume Preboot 23.6 MB disk1s2
3: APFS Volume Recovery 518.1 MB disk1s3
4: APFS Volume VM 6.4 GB disk1s4
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +100.0 GB disk2
Physical Store disk0s3
1: APFS Volume Mojave Beta 90.3 GB disk2s1
2: APFS Volume Preboot 46.3 MB disk2s2
3: APFS Volume Recovery 512.3 MB disk2s3
4: APFS Volume VM 3.2 GB disk2s4
So shrinking the big one and then attempting to make the little partition bigger. No ****ing idea where the other 50 gigs went, but it's in there somewhere. I looked at Disk Utility app and it shows a 350GB partition, a 100GB partition, and 50GB of free space.
If Apple monitors this, please make it simpler to resize partitions. This is a huge PITA and it shouldn't be.