"df -h" is showing about 1/2 "Available" disk that the "Disk Utility" shows for same internal SSD. Which is correct? In mid-2012, I purchased a MacBook Pro, and replaced the internal HDD with a 256-GB Samsung SSD. I am starting a new project. Making sure I have enough disk space, I get conflicting results for the Available space in /dev/disk1:





I am using MacOS 10.11.6. (El Capitan) I have emptied the Trash and rebooted. There is a Trim Enabler utility for SSD that I installed, but never got working correctly.

I am ok with 120GB available, but not ok with just 53GB. Which one is correct?
They’re both correct in that they are measuring two completely different things.

Disk Utility is measuring the volumes on the disk itself whereas df is measuring the file system.  To draw an analogy, one is calculating the surface area of the dining table and the other is measuring the surface area of the plates.

So, the important bits here are the available space.  Disk Utility is telling you that the disk itself has 120GB of available space.  df is telling you that on this particular partition/volume you only gave 53GB available.  

So, the space isn’t missing, its just not allocated by the filesystem.  How do you claim it?  Create a new partition, resize an existing partition, etc.