Crashed when creating a partition - now missing drive space! Just a couple of hours ago, while I was taking a GNU course, I decided to create a partition on my SSD to have ubuntu installed, meanwhile the disk utility was doing that, suddenly it just crashed and restarted itself, leaving 5GB free from any partition, I used diskutil list and this is the info it provided me:

/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *121.3 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:          Apple_CoreStorage Macintosh HD            120.5 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
/dev/disk1 (internal, virtual):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                  Apple_HFS Macintosh HD           +115.0 GB   disk1
                                 Logical Volume on disk0s2
                                 3B12580F-53CE-4FE2-A806-FB80AB07DD82
                                 Unlocked Encrypted


There is no additional partition on the disk utility and I was wondering if it is possible to recover this space.

My Mac is a MacBook Pro 13" Retina (Early 2015) 128 GB SSD
In fact there isn't any space free on your disk in the sense of unallocated disk space. But you probably resized the Logical Volume Macintosh HD (disk1) residing in the Logical Volume Group Macintosh HD (disk0s2).

To expand the Logical Volume Macintosh HD to the full available size you have to use an undocumented command: diskutil cs resizeVolume UUID size.


Boot to your Recovery HD by pressing cmdR while booting.
Open in the menubar Utilities->Terminal
Enter diskutil cs list to get a list of all CoreStorage items.
Enter diskutil cs unlockVolume LVUUID (LVUUID is the UUID of the Logical Volume, usually it's the last UUID in the list you got earlier) to unlock the encrypted Logical Volume Macintosh HD. You have to enter the FileVault passphrase now.
Enter diskutil cs resizeVolume LVUUID 0g (0g is a magical number here - it will expand the Logical Volume to the whole available size of the LVG).
Enter exit and quit Terminal
Reboot to your main volume