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

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


/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 disk2s2I like to combine free space disk2s2. When I run diskutil apfs resizeContainer disk2s2 0 it always says

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

In Disk Utility.app show only one Partition.
enter the image description here