Lost space on SSD

Discussion in 'Mac Basics and Help' started by MSAM01, Jul 29, 2017.

  1. MSAM01, Jul 29, 2017
    Last edited: Jul 29, 2017

    MSAM01 macrumors newbie

    Joined:
    Jul 29, 2017
    #1
    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
     

    Attached Files:

  2. kohlson macrumors 6502a

    Joined:
    Apr 23, 2010
    #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
     
  3. MSAM01 thread starter macrumors newbie

    Joined:
    Jul 29, 2017
    #3
    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.
     

    Attached Files:

  4. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #4
    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 /
     
  5. MSAM01 thread starter macrumors newbie

    Joined:
    Jul 29, 2017
    #5
    Many thanks!
    I see a strange /.DocumentRevisions-V100 is it necessary? how can i delete it if not?
     

    Attached Files:

  6. DeltaMac macrumors 604

    DeltaMac

    Joined:
    Jul 30, 2003
    Location:
    Delaware
    #6
    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 )
     
  7. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #7
    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
     
  8. MSAM01 thread starter macrumors newbie

    Joined:
    Jul 29, 2017
    #8
    Can you pls tell me how to use Onyx for deleting this specific file? i'm afraid to do something wrong here. Thanks
     
  9. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #9
    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. :)
     
  10. MSAM01 thread starter macrumors newbie

    Joined:
    Jul 29, 2017
    #10
    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.
     
  11. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #11
    Try this....

    Code:
    sudo ls -l /.DocumentRevisions-V100
     
  12. MSAM01 thread starter macrumors newbie

    Joined:
    Jul 29, 2017
    #12
    Hurayyyy! it's gone! you're a genius
    Many thanks!
     
  13. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #13
    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
     
  14. MSAM01 thread starter macrumors newbie

    Joined:
    Jul 29, 2017

Share This Page