Lost space on SSD

MSAM01

macrumors newbie
Original poster
Jul 29, 2017
9
2
The finder shows that my 1 Tb SSD is occupied by about 215 Gb. But the status line and the "storage" tab in "about this mac" show that i only have 140 Gb free.
Please look at the screen captures:
Why the system is so large?
How can I recover the lost free space?
I already ran "CleanMyMac", "repair permissions", defrag... deleted mobile snapshots - nothing helped.
Thanks
 

Attachments

Last edited:

kohlson

macrumors 68020
Apr 23, 2010
2,267
664
Consider using something like Disk Inventory X (free) to get a visual representation of what's on your disk. There are other apps, too. But to really know, use the terminal and command lines. If you're not familiar, start with the the app approach. Or, if you have 10.12: About This Mac - Storage tab
 

MSAM01

macrumors newbie
Original poster
Jul 29, 2017
9
2
Consider using something like Disk Inventory X (free) to get a visual representation of what's on your disk. There are other apps, too. But to really know, use the terminal and command lines. If you're not familiar, start with the the app approach. Or, if you have 10.12: About This Mac - Storage tab
Thanks! i did use "whatsize.app" - it shows the same (see picture): the ssd has 819GB used, 167 available, and the file list on the right shows less than 200GB total. I don't understand this.
 

Attachments

Weaselboy

Moderator
Staff member
Jan 23, 2005
30,198
9,871
California
First try running this command in Terminal to reindex Spotlight. That should fix the incorrect System amount in About this... Give it time to complete the reindex.

Code:
sudo mdutil -E /
Then run this command and it will show all the base folders and size in GB, including some system folders those apps don't show. Post the output of this command for us to have a look.

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

MSAM01

macrumors newbie
Original poster
Jul 29, 2017
9
2
First try running this command in Terminal to reindex Spotlight. That should fix the incorrect System amount in About this... Give it time to complete the reindex.

Code:
sudo mdutil -E /
Then run this command and it will show all the base folders and size in GB, including some system folders those apps don't show. Post the output of this command for us to have a look.

Code:
sudo du -d 1 -x -c -g /
Many thanks!
I see a strange /.DocumentRevisions-V100 is it necessary? how can i delete it if not?
 

Attachments

DeltaMac

macrumors G4
Jul 30, 2003
10,128
2,639
Delaware
Some info about that file here - which explains that file is used to keep previous versions of your documents.

The OnyX utility app is a good one, and can specifically clean out your DocumentsRevisions file.
You will notice that Titanium site has a different version of OnyX for each OS X version, so download the version for your system.
I expect that the cleaning of that file MIGHT take some time with more than 500GB of old versions to remove. (Be patient with that :D )
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
30,198
9,871
California
Many thanks!
I see a strange /.DocumentRevisions-V100 is it necessary? how can i delete it if not?
Yikes... there is 564GB of data in there. That is used by some apps to store older versions on files so you can undo changes and go back to a previous version. You have some app misbehaving and filling up that folder.

Do you happen to be using Sketch? I see a lot of search results where Sketch causes this.

You can delete it with this command. Restart afterwards.

Code:
sudo rm -rf .DocumentRevisions-V100
 

MSAM01

macrumors newbie
Original poster
Jul 29, 2017
9
2
Some info about that file here - which explains that file is used to keep previous versions of your documents.

The OnyX utility app is a good one, and can specifically clean out your DocumentsRevisions file.
You will notice that Titanium site has a different version of OnyX for each OS X version, so download the version for your system.
I expect that the cleaning of that file MIGHT take some time with more than 500GB of old versions to remove. (Be patient with that :D )
Can you pls tell me how to use Onyx for deleting this specific file? i'm afraid to do something wrong here. Thanks
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
30,198
9,871
California
Can you pls tell me how to use Onyx for deleting this specific file? i'm afraid to do something wrong here. Thanks
There is no need for Onyx. Just run the command I gave you in Terminal, and it will delete it.

If you don't believe me, just Google "sudo rm -rf .DocumentRevisions-V100" and you can see I'm not trying to trick you. :)
 
  • Like
Reactions: DeltaMac

MSAM01

macrumors newbie
Original poster
Jul 29, 2017
9
2
There is no need for Onyx. Just run the command I gave you in Terminal, and it will delete it.

If you don't believe me, just Google "sudo rm -rf .DocumentRevisions-V100" and you can see I'm not trying to trick you. :)
Of course I believe you and thank you. I did exactly that, restarted the computer, and then ran "sudo du -d 1 -x -c -g /" and the file is still there, as large as before. That's why i thought the Onyx might help.
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
30,198
9,871
California
Of course I believe you and thank you. I did exactly that, restarted the computer, and then ran "sudo du -d 1 -x -c -g /" and the file is still there, as large as before. That's why i thought the Onyx might help.
Try this....

Code:
sudo ls -l /.DocumentRevisions-V100
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
30,198
9,871
California
Hurayyyy! it's gone! you're a genius
Many thanks!
I forgot the slash in there the first time. Sorry about that.

You still need to figure out what rogue app is causing this, or this is going to happen again.

You can open an app then make small changes to the file, then command-s save over and over and see if any app is sticking huge files in there. You can run this command over and over before and after to see if anything is getting added in there.

Code:
sudo du -d 1 -x -c -g //.DocumentRevisions-V100
 

Similar threads

  • Alexmge
0
Replies
0
Views
153
  • jjempire
9
Replies
9
Views
628
  • high heaven
5
Replies
5
Views
801
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.