-bash-3.2# diskutil resizeVolume disk0s2 500g jhfs+ Clone 0b
Resizing to 500000000000 bytes and adding 1 partition
Started partitioning on disk0s2 Macintosh HD
Verifying the disk
Verifying file system
Volume was successfully unmounted
Performing fsck_hfs -fn -x /dev/rdisk0s2
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume Macintosh HD appears to be OK
File system check exit code is 0
Restoring the original state found as mounted
Resizing
Shrinking file system
Copying booter
Modifying partition map
Initialized /dev/rdisk0s4 as a 232 GB case-insensitive HFS Plus volume with a 24576k journal
Mounting disk
Finished partitioning on disk0s2 Macintosh HD
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *750.2 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 500.0 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s5
4: Apple_HFS Clone 249.2 GB disk0s4
-bash-3.2#