hard drive – How to enlarge a APFS container with free space before it?

Spread the love

/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk2
   1:                        EFI ⁨EFI⁩                     209.7 MB   disk2s1
                    (free space)                         500.1 GB   -
   2:                 Apple_APFS ⁨Container disk3⁩         499.9 GB   disk2s2

/dev/disk3 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +499.9 GB   disk3
                                 Physical Store disk2s2
   1:                APFS Volume ⁨时间机器⁩                422.9 GB   disk3s2

I have some free space(500.1GB) before the disk2s2, I want to merge the free space into disk2s2.
When I run diskutil apfs resizeContainer disk2s2 0 it always say

Started APFS operation
Error: -69743: The new size must be different than the existing size

In Disk Utility.app only show one Partition.

Author: Dhanraj7978

Leave a Reply

Your email address will not be published. Required fields are marked *