Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Large discrepancy in used space on 128GB drive

Hi All, on a 2011 Macbook Air running OS X10.7 with a 128GB drive the system is reporting that the disk is full. I understand that there well may be swap files and temporary files held somewhere but the discrepancy is huge. If I select the drive and show Get Info on the four folders listed, Applications, Library. System and Users it amounts to 64 GB Disk Utility shows 2.7 GB free. I can't use OmniDiskSweeper at this stage as that requires OS X 10.8 Can anyone point me in a direction to locate the miscreant files. On my desktop systems running Mountain Lion and Yosemite there is a maximum of 500MB discrepancy between Disk Utility and Get Info.

Posted on May 30, 2015 12:31 PM

Reply
12 replies

May 30, 2015 12:50 PM in response to Chris Courtney-Stones

When was the last time the drive was indexed, as it sometimes does, with Spotlight?


Do you have any partitions other than those required by OS X, which could include

a Recovery partition? {Original capacity would be reduced for BootCamp/Windows.}


Had you checked & repaired the drive by use of Disk Utility? This may be inconclusive.

If you can boot the computer from another system (such as a clone or maybe recovery)

the disk utility there may see the used vs free space another way. When unmounted

and not running the system, temp files and virtual memory are not seen the same.


Also the amount of used vs free capacity may be seen by highlighting the drive icon

and see what Get Info shows. Sometimes, the various ways of telling how much is left

can vary across the few different ways of looking into it.


As drives age, even the SSD or fusion models may have errors or bad sections that

could reflect some lesser total than the formatted amount and areas in use vs not.


{Sometimes a simple utility such as EasyFind can be helpful to see what's in there.}


Could be the unit is due for a replacement or an upgrade to a larger capacity SSD.

The iFixit.com repair guides online may show what it may take if you can replace it.

And the OWC macsales site may - or not - show a suitable SSD replacement, too.


In any event...

Good luck & happy computing! 🙂

May 30, 2015 1:04 PM in response to Chris Courtney-Stones

Be sure to repair the drive in Disk Utility just to be sure there isn't a problem.


Repair the Hard Drive and Permissions - Yosemite, Mavericks, Mountain Lion or Lion


Boot to the Recovery HD:


Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.


Repair


When the recovery menu appears select Disk Utility and press the Continue button. After Disk Utility loads select the Macintosh HD entry from the the left side list. Click on the First Aid tab, then click on the Repair Disk button. If Disk Utility reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit Disk Utility and return to the main menu. Select Restart from the Apple menu.

May 30, 2015 1:08 PM in response to K Shaffer

When was the last time the drive was indexed, as it sometimes does, with Spotlight?

Unknown


Do you have any partitions other than those required by OS X, which could include

a Recovery partition? {Original capacity would be reduced for BootCamp/Windows.}

No there are no other partitions


Had you checked & repaired the drive by use of Disk Utility? This may be inconclusive.

If you can boot the computer from another system (such as a clone or maybe recovery)

the disk utility there may see the used vs free space another way. When unmounted

and not running the system, temp files and virtual memory are not seen the same.

Yes I have run Disk Utility but at the time could not boot externally, that is my plan of attack for Monday


Also the amount of used vs free capacity may be seen by highlighting the drive icon

and see what Get Info shows. Sometimes, the various ways of telling how much is left

can vary across the few different ways of looking into it.

Yes I understand that but not the extent of the difference as shown here.


As drives age, even the SSD or fusion models may have errors or bad sections that

could reflect some lesser total than the formatted amount and areas in use vs not.

For half the capacity to be damaged I would think that the drive would not function at all


{Sometimes a simple utility such as EasyFind can be helpful to see what's in there.}

I will try that

May 30, 2015 3:53 PM in response to Chris Courtney-Stones

For information about the Other category in the Storage display, see this support article. If the display seems to be inaccurate, try rebuilding the Spotlight index.

Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:

iPhoto ▹ Empty Trash

In Photos:

File Show Recently Deleted Delete All

Do the same in other applications, such as Aperture, that have an internal Trash feature. Then restart the computer. That will temporarily free up some space.

According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation—not the mythical 10%, 15%, or any other percentage. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.

When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as Backups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Ask for instructions in that case.

See this support article for some simple ways to free up storage space.

You can more effectively use a tool such as OmniDiskSweeper (ODS) or GrandPerspective (GP) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one. Note that ODS only works with OS X 10.8 or later. If you're running an older OS version, use GP.

Deleting files inside a photo or iTunes library will corrupt the library. Changes to such a library must be made from within the application that created it. The same goes for Mail files.

Proceed further only if the problem isn't solved by the above steps.

ODS or GP can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.

Back up all data now.

Install the app in the Applications folder as usual. Quit it if it's running.

Triple-click anywhere in the corresponding line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C.

For ODS:

security execute-with-privileges /A*/OmniDiskSweeper.app/*/M*/* 2>&-

For GP:

security execute-with-privileges /A*/GrandPerspective.app/*/M*/* 2>&-

Launch the built-in Terminal application in any of the following ways:

☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

☞ Open LaunchPad and start typing the name.

Paste into the Terminal window by pressing command-V. You'll be prompted for your login password.

The application window will open behind other open windows. When you scan a volume, the window will eventually show all files in all folders, sorted by size. It may take a few minutes for the app to finish scanning.

I don't recommend that you make a habit of doing this. Don't delete anything as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.

When you're done with the app, quit it and also quit Terminal.

Jun 1, 2015 10:59 AM in response to Linc Davis

Well I couldn't find where the extra space had gone so I booted to an external and cloned the internal drive to a partition on the external. The cloned drive then reported the correct storage used at 64.34 GB. I then booted to the external clone to check that it functioned correctly, which it did, re-formated the internal and cloned the external backup back to the internal. It now shows the correct space..?????

I have no idea what happened but everything is back to normal. It is just frustrating not knowing what went wrong and why.

Large discrepancy in used space on 128GB drive

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.