Weird free spaces estimation
-
05-10-2020 - |
Question
On my MacBook Pro Retina late 2014 running OS X Yosemite, there's something weird going on.
If i look at the storage tab in the "About my Mac" menu, I use only 67 gigabytes of storage but it says 151 gigabytes are used on apps alone.
Maybe this screenshot is a better explanation:
Is someone else experiencing this problem?
La solution
This information is calculated based on the Spotlight index. If your index is incorrect, this information can be incorrect too. Try reindexing your disk:
sudo mdutil -E /
sudo
elevates the command to root to allow full control on the system. mdutil
is the tool for controlling Spotlight. -E
is the reindex option and /
specifies the path to reindex. For more information on mdutil, see the man page.
Autres conseils
It's possible that you have a corrupt index. The steps I'm going to show come from this Apple Support page. You must have permissions to add and remove items from the Privacy tab.
- Click
Apple menu > System Preferences > Spotlight
- Click the Privacy tab
- Drag the folder or disk that you want to index again to the list of locations that Spotlight is prevented from searching or click the Add (+) button to add it to the list. If the list is empty, add your main SSD, most commonly named
Macintosh HD
. - Click OK to confirm
- Select the folder or disk you just added, then click the Remove (–) button to remove it from the list.
- Quit System Preferences. Spotlight will reindex the contents of the folder or disk.
Once you've done all this, restart your Mac and check About This Mac -> Storage
again. If the storage displays the same, then you know it's not because of a corrupt index.
Here is what I'd do in order to try and determine the discrepancy.
First make sure you have a proper backup then use Disk Utility's First Aid to Verify Disk Permissions and Verify Disk and if necessary Repair Disk Permissions and repair Disk.
Download and install Disk Inventory X and review the disk from a graphical perspective to see if you can determine why/where the discrepancies between Get Info on the /Applications folder and the other image you've shown.
Looking at the contents of the disk from a graphical perspective can sometimes help to get a better handle on just what's on the disk and deal appropriately with it.