Hard drive filled up after High Sierra upgrade on MacPro

Discussion in 'Mac Pro' started by vignesh90, Oct 9, 2017.

  1. vignesh90 macrumors newbie

    Joined:
    Sep 29, 2017
    #1
    I had about 450GB of free space on my primary drive on Sierra. After the High Sierra upgrade it dropped to 150GB.

    I used OmniDiskSweeper and the files sum upto about 520GB. I have a 1TB SSD! Can't figure out what's eating the rest of the space.

    About the mac shows system files as 400GB. That's insane!

    So far I've tried rebuilding spotlight index and removing Caches from Library folder.

    Any help on resolving this will be great! Thanks!

    Screenshot 2017-10-09 16.02.20.png Screenshot 2017-10-09 15.59.46.png
     
  2. Winterfibre macrumors regular

    Joined:
    Nov 30, 2016
  3. Kris Kelvin macrumors regular

    Joined:
    Dec 28, 2005
    #3
    Other people seem to have the same problem: High Sierra disk space over 120Gb

    The item "System" contains everything that couldn't be assigned to any other category.

    OmniDiskSweeper only displays files that your user has read permissions for, so it won't properly size some folders like /System or /private or /.Spotlight-V100 or /.DocumentRevisions-V100.

    Here's a trick to run OmniDisk Sweeper as root to let it see all files: OmniDiskSweeper as Root
    This might help you track down where the disk space went.
     
  4. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #4
    See this thread and my post #2.
     
  5. Dr. Stealth macrumors 6502a

    Dr. Stealth

    Joined:
    Sep 14, 2004
    Location:
    SoCal
    #5
    Another great app for checking where all your disk space has gone is WhatSize.

    I use it quite a bit and it does show hidden and protected system files.
     
  6. vignesh90, Oct 10, 2017
    Last edited: Oct 10, 2017

    vignesh90 thread starter macrumors newbie

    Joined:
    Sep 29, 2017
    #6
    Tried this and there were 4 local snapshots. Deleted them but the "System" is still at 400GB!
    --- Post Merged, Oct 10, 2017 ---
    I ran OmniDiskSweeper as root and found a .MobileBackups taking 340GB of space. It looks like a time machine backup. How do I go about deleting this folder on Finder? There's also .Spotlight-V100 and .DocumentRevisions folders. Can they be deleted as well?

    Screenshot 2017-10-11 03.38.11.png
     
  7. Kris Kelvin, Oct 10, 2017
    Last edited: Oct 10, 2017

    Kris Kelvin macrumors regular

    Joined:
    Dec 28, 2005
    #7
    The folder /.MobileBackups contains "local snapshots" from Time Machine. More info: About Time Machine local snapshots
    In short, they are Time Machine restore points on the internal drive (because there was no external backup drive available for a while).

    Do you backup to an external drive? If you do, connecting it and starting the backup might be enough to solve your problem, as the local snapshots should then be transferred to the external drive (which might take a while).

    In theory, you should be able to just delete the .MobileBackups folder, but letting Time Machine run its course would be the safer option.

    As for .Spotlight-V100, I suggest you don't remove it, as it is required by Spotlight.
    Finally, .DocumentRevisions contains previous versions of certain documents (e.g. Pages or Numbers documents). If you're sure you won't need them again, I believe it's safe to delete this folder.
     
  8. vignesh90 thread starter macrumors newbie

    Joined:
    Sep 29, 2017
    #8
    Hi Kris, yes I do the Time Machine backup on an external drive. There was an issue with firmware upgrade on my MacPro (check this post: https://forums.macrumors.com/thread...-sierra-for-cmp.2060505/page-13#post-25152919) and hence I removed the external drive during the high sierra upgrade.

    I connected it back right after the upgrade and let Time Machine run. The last backup to the external drive was just a few minutes ago. The local snapshots didn't get transferred. Is there a way to do this manually?

    Thanks for the info on Spotlight and Document Revisions folders. I'll leave them as it is for now.
     
  9. Kris Kelvin macrumors regular

    Joined:
    Dec 28, 2005
    #9
    As far as I know, there's no way to manually start the transfer.
    I'd advise against manually deleting the .MobileBackups folder.
    Apple writes here:

    So the backups might be deleted automatically when additional space is needed.

    Here's some information on how to manually delete specific snapshots: How to delete old Time Machine backups

    It's worth a shot to delete the backup from 2017-09-28 this way.
     
  10. William Payne macrumors 6502a

    Joined:
    Jan 10, 2017
    Location:
    Wanganui, New Zealand.
    #10
    Thats weird. I have high sierra on a spinner drive with a few apps and am barely using 30GB
     
  11. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #11
    It is , but that folder is no longer used under High Sierra and the install should have killed it off. Local snapshots under APFS now use that new system shown in the Terminal commands in the other thread.

    Under Sierra and earlier, if you just turned TM off then back on it would delete that folder.

    Was there something odd about your HS upgrade that may have caused it to not remove this folder?
     
  12. Kris Kelvin macrumors regular

    Joined:
    Dec 28, 2005
    #12
    I think the drive in question might be a hard disk, so no APFS and no new snapshot functionality.
     
  13. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #13
    Post #1 says it is a 1TB SSD though. He is seeing the new snapshots from that Terminal command also, so I dunno what is up?

    OP > Just to confirm, you are seeing the new snapshots like in my example here?

    Code:
    My-Macbook:~ xxx$ sudo tmutil listlocalsnapshots /
    Password:
    com.apple.TimeMachine.2017-10-10-103809
    com.apple.TimeMachine.2017-10-10-124750
    com.apple.TimeMachine.2017-10-10-143551
    com.apple.TimeMachine.2017-10-10-154708
    com.apple.TimeMachine.2017-10-10-174045
    com.apple.TimeMachine.2017-10-10-184057
    com.apple.TimeMachine.2017-10-10-203250
    com.apple.TimeMachine.2017-10-10-223230
    com.apple.TimeMachine.2017-10-10-233303
    com.apple.TimeMachine.2017-10-11-013400
    com.apple.TimeMachine.2017-10-11-023228
    com.apple.TimeMachine.2017-10-11-033254
    com.apple.TimeMachine.2017-10-11-043305
    com.apple.TimeMachine.2017-10-11-053316
    com.apple.TimeMachine.2017-10-11-063327
    com.apple.TimeMachine.2017-10-11-073712
    com.apple.TimeMachine.2017-10-11-083221
    
     
  14. Kris Kelvin macrumors regular

    Joined:
    Dec 28, 2005
    #14
    You're right; I missed that.

    @vignesh90: Could you also tell us if the drive has been converted to APFS? You may use Disk Utility to find out.
     
  15. vignesh90 thread starter macrumors newbie

    Joined:
    Sep 29, 2017
    #15
    @Kris Kelvin yes, the drive has been converted to APFS.

    @Weaselboy I had an issue with firmware upgrade on the MacPro. I tried what's mentioned in this post https://forums.macrumors.com/thread...-sierra-for-cmp.2060505/page-13#post-25152919 . Removed all external drives, removed the SSD, did a boot from another drive and after the firmware upgrade was through, upgraded Sierra to High Sierra on the primary drive (the 1TB SSD).

    As soon as the upgrade was done, I connected back the external drive for Time Machine backup. I do see the new snapshots in Terminal like your example. OmniDiskSweeper shows that there are 28-09-2017, 03-10-2017 and 04-10-2017 snapshots in .MobileBackups that's around 340GB.

    Screenshot 2017-10-13 16.53.02.png Screenshot 2017-10-13 16.53.21.png
     
  16. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #16
    /.MobileBackups is not used under High Sierra, and from the Oct. 4 timing of the last local snapshot there, it looks like for some reason the HS install did not erase the folder as it should. Can you just delete it in OmniDiskSweeper?

    If not try this in Terminal. That will move the folder to a folder called temp on the Desktop. Then drag the temp folder to the trash and empty the trash.

    Code:
    sudo mv /.MobileBackups ~/Desktop/temp/
     
  17. vignesh90 thread starter macrumors newbie

    Joined:
    Sep 29, 2017
    #17
    This worked. Finally got the space back! Thanks!

    screenshot 2017-10-13 22.47.49.png
     
  18. webbix macrumors newbie

    webbix

    Joined:
    Nov 18, 2017
    #18
    Go to App Store and select the High Sierra and do install? I upgraded and have run not the problem I deleted Xcode to gain space as I only have MacBook Air (2013). I am running OS X Server as well but don't really use any services. I had 18GB free and now down to 3GB again. I am not doing Time Machine back ups and using terminal I find no files.

    Any direction on what is eating up dis space? Looking at folders in System by size and modify date I can't see anything. So I assume files not visible. I does appear to be in System as it was previously about 70+GB and is now at 80+GB again.

    Deleted everything I can and turned off any services or logging I could.
     
  19. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #19
    Did you look at the thread I linked up in post #4?
     
  20. webbix macrumors newbie

    webbix

    Joined:
    Nov 18, 2017
    #20
    Yes I checked that one also. Was out all day Saturday so wasn’t able to work on it. This morning I only had a few MB free and System (in storage management view) was increased by another 10GB.

    So I deleted a few movies, approx 4GB with the intention of doing another install of High Sierra as previously trying I didn’t have enough disk space. Oddly, deleting those files netted 40GB of free disk space and the Storage Management showed System as 50GB. The math doesn’t add up and no explanation. Also, Applications showed 0 previous and when checking the wheel was spinning and then Applications was omitted ultimately. I did download and reinstall High Sierra. I have no ideas. Searched, including system files for recent creation or modification. Used the terminal to check tmp and contents of system folder.
     
  21. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #21
    This sounds like the local snapshots I mentioned. When you delete files and empty trash, the files go into that local snapshots area and show in System. Did you try the Terminal commands in that post I linked?
     
  22. webbix macrumors newbie

    webbix

    Joined:
    Nov 18, 2017
    #22
    Yes, TM is not active, nothing in that directory at all. Have never activated. MacBook Air only has 125GB static drive. So no room for anything else. Have a compact USB drive same size for my iTunes.
     
  23. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #23
    Run this command in Terminal and paste up the output. It will show all base folders size, including system and hidden folders.

    Code:
    sudo du -d 1 -x -c -g /
     
  24. webbix, Nov 19, 2017
    Last edited by a moderator: Nov 19, 2017

    webbix macrumors newbie

    webbix

    Joined:
    Nov 18, 2017
    #24
    This is result...

    Code:
    0    /.HFS+ Private Directory Data
    
    1    /home
    
    1    /usr
    
    1    /.Spotlight-V100
    
    1    /net
    
    0    /.PKInstallSandboxManager-SystemSoftware
    
    1    /bin
    
    1    /Network
    
    1    /sbin
    
    26    /Library
    
    0    /.Trashes
    
    
    9    /System
    
    1    /vm
    
    1    /.fseventsd
    
    du: /private/var/db/ConfigurationProfiles/Store: Operation not permitted
    
    du: /private/var/folders/6n/7b_096bd6h38cjb38kvq67xm0000gn/0/SafariFamily: Operation not permitted
    
    du: /private/var/folders/6n/7b_096bd6h38cjb38kvq67xm0000gn/0/com.apple.LaunchServices.dv: Operation not permitted
    
    du: /private/var/folders/6n/7b_096bd6h38cjb38kvq67xm0000gn/0/com.apple.nsurlsessiond: Operation not permitted
    
    du: /private/var/folders/6n/7b_096bd6h38cjb38kvq67xm0000gn/0/com.apple.routined: Operation not permitted
    
    du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted
    
    4    /private
    
    1    /.DocumentRevisions-V100
    
    0    /.vol
    
    19    /Users
    
    5    /Applications
    
    1    /dev
    
    1    /Volumes
    
    0    /cores
    
    62    /
    
    62    total
     
  25. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #25
    Depending on what you have installed, that /Library folder may be a little large.

    Try this to drill down into that folder a little.

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

Share This Page