Crashed when creating a partition - now missing drive space!
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