I had these partitions on an external hard drive:
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS Android 63.9 GB disk2s2
3: Apple_HFS RiptideHUP 968.0 GB disk2s3
4: Microsoft Basic Data RiptideF 967.8 GB disk2s4
My aim was to delete disk2s2 and then resize disk2s3 to occupy the leftover space by deleting disk2s2. I deleted disk2s2 using this command:
diskutil erasevolume "Free Space" "" /dev/disk2s2
Now, to resize the volume, I used:
diskutil resizevolume /dev/disk2s3 R
However, I got this error:
Started partitioning on disk2s3 RiptideHUP Error: -69743: The new size
must be different than the existing size
I did a bit of research and realised the free space was created before disk2s3 RiptideHUP
so it cannot resize itself. Is there still a way I can reclaim the Free Space?
NOTE: Using diskutil list
now shows:
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS RiptideHUP 968.0 GB disk2s3
3: Microsoft Basic Data RiptideF 967.8 GB disk2s4
disk2s3
to reclaim the free space. The only safe way to attempt this is to first backup the data ondisk2s3
to another drive. Once this is done, then there is no reason to keepdisk2s3
. You might as well deletedisk2s3
and create a new partition containing all the free space, then restore from the backup drive.RiptideF
have enough unused space?