danne123

Q: Incorrect Storage Info --- Still I have not solved it!

Hello!

 

I have had this problem for quite some time.

In ''about this Mac'' -- ''Storage"", it says I have 77GB free of 999GB. This is not correct, for if I click ''Go'' in the upper apple menu, then ''computer'', the Machintosh HD says 922GB, but the individual files added together do not even add up to 500GB. This means that the Storage info is about 500GB wrong!

However the Macintosh HD 2 (my other internal drive), seems to show the numbers correct, but my main drive is waaayy off.

 

I have had this problem since a few months back, and I want to fix it now because my Time Machine backups do not work correctly since the computer thinks it does not have enough space to copy it over.

 

----------------------------------------------

What I have tried so far.

I have tried re-indexing spotlight with various techniques, both in the Spotlight menu in preferences, and from within the Terminal (there I typed "sudo mdutil -E /"), but it does not seem to work.

I do believe there is something wrong with the Time Machine, that perhaps it adds  upp file information to the main drive or something (idk?).

 

Can anyone please help me with this issue? I would be much grateful!

Because now I cannot backup my computer correctly and it was a while since i did

BTW i use OSX El Capitan version 10.11.3, Mac minin Server (Late 2012).

 

/Daniel

Mac mini

Posted on Aug 17, 2016 7:54 AM

Close

Q: Incorrect Storage Info --- Still I have not solved it!

  • All replies
  • Helpful answers

  • by dialabrain,Helpful

    dialabrain dialabrain Aug 18, 2016 2:09 AM in response to danne123
    Level 5 (6,211 points)
    Mac App Store
    Aug 18, 2016 2:09 AM in response to danne123

    Download and run OmniDiskSweeper as root. You should be able to tell what's taking up the space.

    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper

  • by danne123,

    danne123 danne123 Aug 17, 2016 8:53 AM in response to dialabrain
    Level 1 (4 points)
    Desktops
    Aug 17, 2016 8:53 AM in response to dialabrain

    Hi there! Thanks for your quick reply! But do you really think that this app will solve the problem, for I have not added anything that has such a huge amount of GB to my main drive, therefore, there is nothing to delete.

         One day it simply went from 500GB to almost a thousand, and I have not downloaded or added anything at all. And If I add up all the folders in the "go" - "computer", the total should be not even 500GB. Isn't the problem the spotlight indexing, or time machine perhaps?

     

    Again thx for all the help! I really appreciate it!

  • by dialabrain,Helpful

    dialabrain dialabrain Aug 18, 2016 2:09 AM in response to danne123
    Level 5 (6,211 points)
    Mac App Store
    Aug 18, 2016 2:09 AM in response to danne123

    danne123 wrote:

     

    But do you really think that this app will solve the problem, for I have not added anything that has such a huge amount of GB to my main drive, therefore, there is nothing to delete

    As I mentioned, the idea was to see if you could find what was taking up all that space.

  • by danne123,

    danne123 danne123 Aug 17, 2016 12:27 PM in response to dialabrain
    Level 1 (4 points)
    Desktops
    Aug 17, 2016 12:27 PM in response to dialabrain

    Ok I downloaded, installed, and within the terminal I entered:

    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper

     

    The app opens and in the terminal I get

    OCCCrashCatcher: Not enabling crash catching since we're connected to a tty (and thus presumably in gdb)

    read: Undefined error: 0

     

    And then some lines of files that cannot be read, only 4 though. But this did not affect anything so I think so far we're good.

        Anyhow, since the drive list from omnidiskweeper was opened, I double clicked the Macintosh HD, and up came the window and thereon I scanned the drive.

    The "Users" folder showed about 450GB, which is correct, but just below it there is a file called ".DocumentRevisions-V100" of a whole 402GB! What is that??

     

    I think ".DocumentRevisions-V100" is the burglar here!

    When highlighting ".DocumentRevisions-V100" within omnidisksweeper menu, the following are the subfolders:

     

    402.3 GB - .cs  -----  (this must be whats taking up all the space!)

    7.4 MB - PerUID

    5.3 MB - db.V1

    4.1 kB - LibraryStatus?

    4.1 kB - metadata

    0 bytes - purgatory

    0 bytes - staging

     

     

    Ok, so clearly the ".cs" folder, which is within the  ".DocumentRevisions-V100", is the problem here.

    Within the .cs folder, there are 3 other folders called:

     

    401.8 GB - ChunkStorage ----- (when highlighting, a folder called "0" with 401.8 GB is there, and when highlighting that folder, another folder called "0" is there, and when highlighting again, up comes a bunch of folder with random numbers between 0-100, each one the size of 5.4 GB. And if I click any of them, up comes a bunch of files the size of 21.0 MB.)

    527.9 MB - ChunkStoreDatabase ----- (when highlighting, there is nothing in here.)

    2.5 MB -  ChunkStoreDatabase-wal ------ (when highlighting, there is nothing in here.)

     

    So, to the final question, shall I delete the whole "ChunkStorage" file?

  • by dialabrain,Solvedanswer

    dialabrain dialabrain Aug 18, 2016 3:09 AM in response to danne123
    Level 5 (6,211 points)
    Mac App Store
    Aug 18, 2016 3:09 AM in response to danne123

    If you use the "Sketch" app that may be part of the problem. Here is an article you may find useful…

    https://medium.com/@thomasdegry/how-sketch-took-over-200gb-of-our-macbooks-cb7dd 10c8163#.ckze2xefv

    It also has some info on .DocumentRevisions-V100. Acording to the article it can be removed. However, make sure you have a good backup before you try their suggestion.

  • by danne123,

    danne123 danne123 Aug 18, 2016 4:05 AM in response to dialabrain
    Level 1 (4 points)
    Desktops
    Aug 18, 2016 4:05 AM in response to dialabrain

    Hi again!

    No i do not use the Sketch app, so I guess all thats left is to delete the folder .DocumentRevisions-V100 folder. I have backed up my most important things to my second internal HD, but I will also do a fresh new Time Machine backup just to be sure, which will be over 900 GB, so it will take a while.

     

    After reading the article, I found this as well.

    BUT, since I have no idea how to do this, do you think 1, I should follow the directions written below? Or 2, should I simply delete the folder within OmniDiskSweeper, which I open with the "sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper" command?

    If you’re working with large files in Keynote, Pages, Numbers or other Versions-supported programs, and making multiple changes at regular intervals, Versions could just be eating up your hard disk and causing a big-slow down in your work.

    If you want to reclaim all that space and speed things back up, go delete the .documentrevisions-V100 folder in the root directory of your hard disk, the place where Lion stores all your document versions. Be aware that this means you will lose ALL Version history for ALL your Version-supported applications. If you are comfortable with that, read on…

    You need to do four things: enable the root user, show hidden files, change the permissions on the folder and finally check the folder’s contents and delete it. Here’s how:

    1. Show hidden files
    In Terminal (Applications > Utilities) type

    defaults write com.apple.finder AppleShowAllFiles YES
    Press ‘Return’, then type
    killall Finder

    2. Enable root user
    Go to  > System Preferences…Users & Groups
    Click ‘Login Options’
    Click ‘Network Account Server: Join’
    In the resulting dialogue box, ignore the text input and click the button below, ‘Open Directory Utility’
    Click the padlock at the bottom of the next box and enter your admin password.
    At the top menu bar of Directory Utility, choose the ‘Edit’ menu > Enable Root User
    If you are requested to set a password for it, set the same one as your Admin password (this ensures you won’t forget it).
    Log out through  > Log out (username), then log back in with user ‘root’ and the password you just enabled.

    3. Change Permissions
    Now go look in the root directory of your hard disk.
    You should see a greyed out folder called ‘DocumentRevisions-V100’. If it has a ‘no entry’ icon on it, click the folder and press ‘Cmd-i’ on the keyboard (or right click the folder and choose ‘Get info’).
    Scroll down to the bottom of the box, click the padlock, and enter your root password if necessary. Change all the permissions to ‘read & write’, and click on the ‘gear wheel/cog’ and choose ‘Apply to enclosed items’ if it appears.
    Choose ‘OK’ in the warning dialogue box.

    4. Deleting Versions history
    Now you are ready to go and look inside the Versions directory. I recommend you have a nosey about and check the file sizes both of the folder itself and of the individual contents. Now, here’s a warning: you can’t just delete some of the contents in the folder. If you do, in about 24hrs Lion will see that the folder is corrupt and mark the whole thing as ‘bad’ and make a new Versions (.DocumentRevisions-V100) folder. What this means is that you will lose access to Versions in the UI, but you won’t get your disk space back as it won’t delete the ‘bad’ folder.

    The only option is to either lock the thing back up and leave it alone, OR delete the entire .DocumentRevisions-V100 folder with all its contents.

    Restart your computer logging in as your usual user.

    Lion will make a new, empty DocumentRevisions-V100 folder to replace the one you deleted and start filling it up with versions you make from then on. You’ll have reclaimed your disk space (and removed all your previous versions), but you’ll need to keep doing the same process at regular intervals.

    NOTES
    a. No, this does not affect your original saves or any duplicates. Only the versions.

    b. Messing about as a root user can have serious consequences if you mess with other stuff. Do as the instructions say and nothing else unless you know what you’re doing. After you’ve deleted the Versions folder and emptied the Trash, go back to Directory Utility > Edit and disable the root user.

    c. To stop seeing the hidden files, type the same command as given in 1. above into Terminal, but change ‘YES’ to ‘NO’. Don’t forget to do the ‘killall’ command afterwards.

    d. If you have trouble saving documents without re-booting after deleting .DocumentRevisions-V100, try this script from Apple Discussions user Yvan. This will recreate a clean (i.e., empty) Versions folder every time you reboot, saving you the hassle of regularly cleaning out the .DocumentRevision-V100 folder (as well as preventing any ‘Save’ issues.)

    Once again I thank you! Appreciate your help a lot man!

  • by dialabrain,

    dialabrain dialabrain Aug 18, 2016 4:16 AM in response to danne123
    Level 5 (6,211 points)
    Mac App Store
    Aug 18, 2016 4:16 AM in response to danne123

    I think you should be able to delete it from OmniDiskSweeper but don't empty the trash until after you restart and make sure everything is ok.

  • by danne123,

    danne123 danne123 Aug 18, 2016 4:21 AM in response to dialabrain
    Level 1 (4 points)
    Desktops
    Aug 18, 2016 4:21 AM in response to dialabrain

    Aaah good point!! Very good idea, otherwise I should have deleted it right away.

    I am backing everything up with Time Machine to clean external HD as we speak, but after that I will delete the folder using OmniDiskSweeper.

     

    I will get back to you, and I can't thank you enough! You're awesome!

  • by dialabrain,

    dialabrain dialabrain Aug 18, 2016 4:24 AM in response to danne123
    Level 5 (6,211 points)
    Mac App Store
    Aug 18, 2016 4:24 AM in response to danne123

    You're welcome. And yes, I am at that.

  • by danne123,

    danne123 danne123 Aug 18, 2016 10:16 AM in response to dialabrain
    Level 1 (4 points)
    Desktops
    Aug 18, 2016 10:16 AM in response to dialabrain

    Btw, I believe this issue started as I started writing books in iBooks Author!! Because I did not have this problem before then.

    The iBooks Author documents are pretty large, and I save very often, so I am confident that iBooks is the issue here as it keeps making duplicates and versions of different saves. Is there any way I can disable iBooks from doing this?

  • by danne123,

    danne123 danne123 Aug 18, 2016 12:57 PM in response to dialabrain
    Level 1 (4 points)
    Desktops
    Aug 18, 2016 12:57 PM in response to dialabrain

    Ok so I highlighted the .DocumentRevisions-V100 folder in root mode, then clicked trash, then restarted my computer.

    All my GBs of data are back and everything seems to work, though OmniDiskSweeper did not put it in the trash, it destroyed and deleted it right away, but it doesn't matter since everything works!

    Just to make sure I opened a large iBooks Author file and checked previous version, and it said there are no previous versions, so everything works as it is suppose to.

     

    Thx a lot for your help man!!!!!! You are THE man!! I am sending you a mental hug and a drink to celebrate for this glorious victory!

  • by dialabrain,

    dialabrain dialabrain Aug 18, 2016 3:24 PM in response to danne123
    Level 5 (6,211 points)
    Mac App Store
    Aug 18, 2016 3:24 PM in response to danne123

    You're welcome and thanks for the hug.