Become a MacRumors Supporter for $25/year with no ads, private forums, and more!

Sorcerin

macrumors newbie
Original poster
Dec 20, 2002
5
0
Hello,

Something is chewing up my hard drive, and I don't know how to fix it.

Running 10.9.5, 2011 MacBook Pro 17", 2.2 GHz i7, 8GB RAM, 750 GB hard drive.

Finder tells me that I have 31 GB of space left on my hard drive (left side in screenshot).

I did "Get Info" on every folder, and they do not add up to anything close to using that much space.

GrandPerspective tells me 478 GB is used up in Miscellaneous Used Space (window on the right in screenshot).

System Profiler tells me that 587 GB is used for "Other" (center-top in screenshot).

I ran "sudo du -cxhd 1 /" in the Terminal, which revealed that /System is using 481 GB (center-bottom in screenshot), however, Finder tells me that /System is only using 5.73 GB (second from left side in screenshot).

Rebooting did not fix this problem. Trash is empty.

A few days ago, I had a problem with my external Time Machine backup drive spontaneously disconnecting during backup. I wonder if there are corrupted Time Machine backups somewhere in the system, but I am unable to find any.

Can anyone help me figure out what is eating up all this hard drive space and how can I delete it?
 

Attachments

  • Screen Shot 2015-01-22 at 10.27.11 PM.png
    Screen Shot 2015-01-22 at 10.27.11 PM.png
    1.7 MB · Views: 1,218
Last edited:

GGJstudios

macrumors Westmere
May 16, 2008
44,471
855
If you're wondering what "Other" category in the storage tab is about, this may help explain: For space issues not explained by the above, there are a few things you can try, some of which may or may not apply: Here are a few resolutions found by others with the same question: Freeing up drive space in Mac OS X
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
32,175
11,857
California
I ran "sudo du -cxhd 1 /" in the Terminal, which revealed that /System is using 481 GB (center-bottom in screenshot), however, Finder tells me that /System is only using 5.73 GB (second from left side in screenshot).

You have something odd going on there in /System with that 481GB used.

First let's check your disk. Do a command-r boot into recovery and from there use Disk Utility to do a repair disk. Does that show anything? While you are still in recovery, what does Disk Util say for disk space used?

Then restart and see if the issue still exists. If it does run the commands below in Terminal one after the other to drill down a little into /System to see if any large folders jump out at you.

Code:
sudo du -d 1 -x -c -g /System

Code:
sudo du -d 1 -x -c -g /System/Library
 

Sorcerin

macrumors newbie
Original poster
Dec 20, 2002
5
0
If you're wondering what "Other" category in the storage tab is about, this may help explain...

Not helpful.

You have something odd going on there in /System with that 481GB used.

First let's check your disk. Do a command-r boot into recovery and from there use Disk Utility to do a repair disk. Does that show anything? While you are still in recovery, what does Disk Util say for disk space used?

Then restart and see if the issue still exists. If it does run the commands below in Terminal one after the other to drill down a little into /System to see if any large folders jump out at you.

Code:
sudo du -d 1 -x -c -g /System

Code:
sudo du -d 1 -x -c -g /System/Library

Thanks for the reply.

I did a CMD-r reboot and disk repair. Disk Utility said Macintosh HD appears ok, but that over 719 GB is being used.

Rebooting did not fix it.

sudo du -d 1 -x -c -g /System in Terminal yielded:

485 /System/Library
485 /System
485 total

See first screenshot attached to this post.

sudo du -d 1 -x -c -g /System/Library in Terminal yielded a long list of directories, including this:

481 /System/Library/Caches

See second screenshot attached to this post.

I suspect this is the problem, but whatever it is in the Caches directory seems to be hidden from me in Finder.
 

Attachments

  • Screen Shot 2015-01-23 at 11.11.39 AM.png
    Screen Shot 2015-01-23 at 11.11.39 AM.png
    2 MB · Views: 925
  • Screen Shot 2015-01-23 at 11.15.36 AM.png
    Screen Shot 2015-01-23 at 11.15.36 AM.png
    1.8 MB · Views: 977

Sorcerin

macrumors newbie
Original poster
Dec 20, 2002
5
0
Theres the problem. No idea why this has happened, but run the command below in Terminal to clear that whole cache folder then reboot.

Code:
sudo rm -r /System/Library/Caches

Yay! It worked! I have over 546 GB free now. Thank you!
 

cphaneuf84

macrumors newbie
Apr 22, 2015
1
0
I'm also down to about 10GB of space, ran some of the commands below but I don't usually run terminal commands so I'm unsure of what I'm looking at.

424K /.DocumentRevisions-V100
68K /.fseventsd
0B /.PKInstallSandboxManager
495M /.Spotlight-V100
0B /.Trashes
0B /.vol
5.6G /Applications
2.3M /bin
0B /cores
4.5K /dev
1.0K /home
4.6G /Library
1.0K /net
1.0K /Network
4.4G /private
1012K /sbin
4.1G /System
426G /Users
608M /usr
9.4M /Volumes
446G /
446G total

My problem is obviously the 446G/ how do I locate or clear it?
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
32,175
11,857
California
I'm also down to about 10GB of space, ran some of the commands below but I don't usually run terminal commands so I'm unsure of what I'm looking at.

424K /.DocumentRevisions-V100
68K /.fseventsd
0B /.PKInstallSandboxManager
495M /.Spotlight-V100
0B /.Trashes
0B /.vol
5.6G /Applications
2.3M /bin
0B /cores
4.5K /dev
1.0K /home
4.6G /Library
1.0K /net
1.0K /Network
4.4G /private
1012K /sbin
4.1G /System
426G /Users
608M /usr
9.4M /Volumes
446G /
446G total

My problem is obviously the 446G/ how do I locate or clear it?

That 446GB is just the total space used. Looks like the bulk of the space used is the 426GB in your /Users folder. Assuming you are the only user, from with that account run the command below in Terminal and it will show you which folders in your user account are using all that space, then you can see what is going on.

Code:
sudo du -d 1 -x -c -g ~/

Since this is in the users space, you should also be able to see what is using the space using a GUI tool like OmniDiskSweeper
 

rastro4

macrumors newbie
Oct 25, 2015
1
0
This was super helpful. I was having the same problem, and clearing the system/library/caches totally solved it. Just wondering (for those of you who also had this problem): Once you clear the cache, is the problem gone forever? Or do I need to keep checking in on it. Thanks, Joe
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.