This question already has an answer here:
I replaced my 250Gb HDD with a 500Gb SSD. The problem is that after installing my new SSD and copying all my stuff onto it, my SSD reports it has a single partition of 250Gb and free space of 250Gb instead of a single 500Gb partition.
This has more than likely come about because I cloned my SSD from my old HDD (it seemed like a good idea at the time!).
If I open Disk Utility, select my SSD and click the Partition button it shows the free space and the SSD with a resize control on the border between the two. The resize control won't let me drag it to the left (clockwise into the free space) no matter how much I try. It also won't let me create a new partition in the free space.
My OS is High Sierra and the format is APFS.
I've had a look at some third party tools but haven't found any that work with APFS.
All the googling I've done on this subject suggests that Disk Utility doesn't work with all the features of APFS.
It seems it's possible to increase the size of a partition from the command line in Terminal but I can't find any instructions that deal specifically with my scenario. Here's the output from the diskutil list command:
...and the output from sudo gpt -r show /dev/disk1:
I've tried to resize the container using:
diskutil apfs resizeContainer disk0s2 500g
but this command throws an error:
The size (500g) must not be greater than the partition map allocatable size
Can anyone help? Ideally I'd like to have a single 500Gb partition.